Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007874/0.0007874, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007665/0.0007665, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.878/0.878, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001375/0.001375, allocations: 232 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6651/0.6651, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.315e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001707/0.00172, allocations: 1.321 MB / 0.6476 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.242/0.2437, allocations: 0.5926 MB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.2438, allocations: 0.5312 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.2438, allocations: 2.625 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.2438, allocations: 8.719 kB / 0.6482 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.2444, allocations: 108.2 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.2445, allocations: 25.81 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.2445, allocations: 6.016 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.2446, allocations: 13.81 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.2446, allocations: 10.14 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2446, allocations: 1.5 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.2449, allocations: 144 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.245, allocations: 2.734 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.245, allocations: 10.17 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.2452, allocations: 115.6 kB / 0.6486 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2452, allocations: 1.438 kB / 0.6486 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2452, allocations: 0.5312 kB / 0.6486 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2453, allocations: 0 / 0.6486 GB, free: 55.92 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004334/0.2457, allocations: 279 kB / 0.6489 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.2457, allocations: 12.03 kB / 0.6489 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2458, allocations: 38.64 kB / 0.6489 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.2461, allocations: 33.97 kB / 0.649 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.2462, allocations: 107.9 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2462, allocations: 2.062 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.2462, allocations: 5.594 kB / 0.6491 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2464, allocations: 78.78 kB / 0.6491 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2464, allocations: 2.922 kB / 0.6491 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2464, allocations: 4.312 kB / 0.6491 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2464, allocations: 5.062 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.2465, allocations: 31.53 kB / 0.6492 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.2467, allocations: 134 kB / 0.6493 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2469, allocations: 66.62 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.247, allocations: 26.58 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.247, allocations: 4.188 kB / 0.6494 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.247, allocations: 34.23 kB / 0.6494 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.247, allocations: 2.344 kB / 0.6494 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.001896/0.2489, allocations: 0.5007 MB / 0.6499 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.2489, allocations: 58.95 kB / 0.65 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.249, allocations: 96.23 kB / 0.6501 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.249, allocations: 27.86 kB / 0.6501 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.156e-05/0.249, allocations: 81.61 kB / 0.6502 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.249, allocations: 24.05 kB / 0.6502 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.2491, allocations: 25.2 kB / 0.6502 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.2491, allocations: 316.3 kB / 0.6505 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.2492, allocations: 39.83 kB / 0.6506 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.2493, allocations: 39.31 kB / 0.6506 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2494, allocations: 84.12 kB / 0.6507 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2494, allocations: 0 / 0.6507 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000204/0.2496, allocations: 122.5 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2496, allocations: 9.625 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2496, allocations: 3.312 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2497, allocations: 7.797 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2498, allocations: 27.3 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2498, allocations: 0.7031 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.2498, allocations: 7.609 kB / 0.6509 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2498, allocations: 5.094 kB / 0.6509 GB, free: 54.36 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.2499, allocations: 111 kB / 0.651 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.2499, allocations: 2.312 kB / 0.651 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.25, allocations: 15.59 kB / 0.651 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.25, allocations: 3.938 kB / 0.651 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.25, allocations: 1.672 kB / 0.651 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.25, allocations: 4.844 kB / 0.651 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.2501, allocations: 153.1 kB / 0.6511 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2501, allocations: 0 / 0.6511 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2502, allocations: 22.69 kB / 0.6512 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2502, allocations: 0 / 0.6512 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2502, allocations: 8.312 kB / 0.6512 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2502, allocations: 9.688 kB / 0.6512 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2502, allocations: 2.859 kB / 0.6512 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2505, allocations: 191 kB / 0.6514 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.2505, allocations: 3.406 kB / 0.6514 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2505, allocations: 0 / 0.6514 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.2506, allocations: 17.16 kB / 0.6514 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.2506, allocations: 2.078 kB / 0.6514 GB, free: 54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2506, allocations: 13.95 kB / 0.6514 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.499e-05/0.2506, allocations: 78.06 kB / 0.6515 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2506, allocations: 0 / 0.6515 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001989/0.2508, allocations: 28.08 kB / 0.6515 GB, free: 53.91 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004907/0.2513, allocations: 0.7572 MB / 0.6522 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.2515, allocations: 82.53 kB / 0.6523 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2515, allocations: 0 / 0.6523 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.2516, allocations: 52.73 kB / 0.6524 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2518, allocations: 13.47 kB / 0.6524 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2529, allocations: 1.349 MB / 0.6537 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.676e-05/0.253, allocations: 65 kB / 0.6538 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.2531, allocations: 24.8 kB / 0.6538 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.2531, allocations: 20 kB / 0.6538 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of SimCode: time 8.22e-07/0.2531, allocations: 0 / 0.6538 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.2697, allocations: 3.242 MB / 0.657 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/6.715, allocations: 11.69 kB / 0.657 GB, free: 51.23 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.343932163901627] Failed to read output from testmodel.py, exit status != 0: 6.791969146579504 6.801419246 6.554425936 Calling exit ...