Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.000792/0.000792, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008128/0.0008128, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8234/0.8234, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.001345/0.001345, allocations: 233.6 kB / 260.2 MB, free: 13.03 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.6104/0.6104, allocations: 138.4 MB / 455.1 MB, free: 1.672 MB / 362.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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6475 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.086e-05, allocations: 7.469 kB / 0.6475 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0032/0.003221, allocations: 3.611 MB / 0.651 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.003339, allocations: 154.6 kB / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.003364, allocations: 0 / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.003462, allocations: 5.281 kB / 0.6512 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.003528, allocations: 9.438 kB / 0.6512 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.003805, allocations: 95.11 kB / 0.6513 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.00389, allocations: 33.89 kB / 0.6513 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.003934, allocations: 5.438 kB / 0.6513 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.97e-05/0.003984, allocations: 17.81 kB / 0.6513 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.004049, allocations: 15.55 kB / 0.6514 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004063, allocations: 0 / 0.6514 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.00448, allocations: 205.8 kB / 0.6515 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.004519, allocations: 10.61 kB / 0.6516 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.004539, allocations: 8.641 kB / 0.6516 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.004659, allocations: 60.44 kB / 0.6516 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004661, allocations: 3.938 kB / 0.6516 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004662, allocations: 3.938 kB / 0.6516 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.004666, allocations: 0 / 0.6516 GB, free: 25.62 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002693/0.004936, allocations: 263.6 kB / 0.6519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.00497, allocations: 9.25 kB / 0.6519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.005007, allocations: 3.5 kB / 0.6519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.523e-05/0.005062, allocations: 119.2 kB / 0.652 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.005109, allocations: 53.34 kB / 0.6521 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.005119, allocations: 1.625 kB / 0.6521 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.005221, allocations: 73.7 kB / 0.6521 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005228, allocations: 192 / 0.6521 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.005238, allocations: 3.938 kB / 0.6521 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.005253, allocations: 5.141 kB / 0.6521 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.005294, allocations: 21.36 kB / 0.6522 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.00558, allocations: 205.8 kB / 0.6524 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.985e-05/0.00561, allocations: 16.36 kB / 0.6524 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.005621, allocations: 10.64 kB / 0.6524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.005657, allocations: 5.281 kB / 0.6524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.005674, allocations: 36.41 kB / 0.6524 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.005675, allocations: 0 / 0.6524 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.005788, allocations: 43 kB / 0.6525 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.619e-05/0.005804, allocations: 53.19 kB / 0.6525 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.005847, allocations: 99.27 kB / 0.6526 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.005853, allocations: 25.7 kB / 0.6526 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.005876, allocations: 89.8 kB / 0.6527 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-06/0.005881, allocations: 5.766 kB / 0.6527 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.005902, allocations: 16.84 kB / 0.6527 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.383e-05/0.005926, allocations: 312.7 kB / 0.653 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.005936, allocations: 5.875 kB / 0.653 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/0.005951, allocations: 19.11 kB / 0.6531 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.005972, allocations: 23.09 kB / 0.6531 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005975, allocations: 5.531 kB / 0.6531 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.108e-05/0.006016, allocations: 50.62 kB / 0.6531 GB, free: 24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.006027, allocations: 4.531 kB / 0.6531 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006031, allocations: 1.125 kB / 0.6531 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006042, allocations: 3.938 kB / 0.6531 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.293e-05/0.006075, allocations: 13.47 kB / 0.6532 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.00608, allocations: 1.125 kB / 0.6532 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/0.006091, allocations: 1.125 kB / 0.6532 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.006099, allocations: 5.172 kB / 0.6532 GB, free: 23.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 3.284e-05/0.006132, allocations: 113.5 kB / 0.6533 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.006145, allocations: 5.375 kB / 0.6533 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.006212, allocations: 116.4 kB / 0.6534 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.006226, allocations: 185.4 kB / 0.6536 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.00624, allocations: 178.3 kB / 0.6537 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.006255, allocations: 189.2 kB / 0.6539 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.556e-05/0.006321, allocations: 356.6 kB / 0.6543 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.006329, allocations: 102.4 kB / 0.6544 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.006338, allocations: 106.2 kB / 0.6545 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.00635, allocations: 185.7 kB / 0.6546 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.006364, allocations: 181.7 kB / 0.6548 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.006376, allocations: 181.7 kB / 0.655 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.006388, allocations: 180.2 kB / 0.6552 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.316e-05/0.006431, allocations: 306.5 kB / 0.6554 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.006442, allocations: 110 kB / 0.6555 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.006464, allocations: 186.4 kB / 0.6557 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.006538, allocations: 108.4 kB / 0.6558 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.006556, allocations: 181.7 kB / 0.656 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.006564, allocations: 102.2 kB / 0.6561 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.997e-05/0.006584, allocations: 87.45 kB / 0.6562 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006584, allocations: 1.438 kB / 0.6562 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001525/0.006737, allocations: 13.09 kB / 0.6562 GB, free: 20.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001069/0.006844, allocations: 189.6 kB / 0.6564 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.125e-05/0.006895, allocations: 17.7 kB / 0.6564 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006896, allocations: 128 / 0.6564 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.006897, allocations: 4.719 kB / 0.6564 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.007101, allocations: 460.9 kB / 0.6568 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.007275, allocations: 218.5 kB / 0.657 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.007306, allocations: 60.23 kB / 0.6571 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.007324, allocations: 14.14 kB / 0.6571 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.007325, allocations: 0 / 0.6571 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.00152/0.008845, allocations: 0.7337 MB / 0.6578 GB, free: 19.45 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9695656709373] Failed to read output from testmodel.py, exit status != 0: 0.01279213186353445 0.019022762000000002 0.013123843000000001 Calling exit ...