Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.00118/0.00118, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001373/0.001373, allocations: 157.3 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 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.002331/0.002331, allocations: 245.4 kB / 260 MB, free: 432 kB / 238.1 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.8708/0.8708, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 98.36 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4129, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1427/0.5556, allocations: 119 MB / 0.8566 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.5558, allocations: 51.86 kB / 0.8567 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.5558, allocations: 0 / 0.8567 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.5559, allocations: 7.938 kB / 0.8567 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.556, allocations: 7.938 kB / 0.8567 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008822/0.5569, allocations: 247 kB / 0.8569 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.037e-05/0.557, allocations: 35.91 kB / 0.857 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.557, allocations: 3.938 kB / 0.857 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.557, allocations: 15.92 kB / 0.857 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.5571, allocations: 23.92 kB / 0.857 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.5571, allocations: 0 / 0.857 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.5575, allocations: 175.5 kB / 0.8572 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.5575, allocations: 4 kB / 0.8572 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.5576, allocations: 11.92 kB / 0.8572 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.5579, allocations: 164.2 kB / 0.8574 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5579, allocations: 0 / 0.8574 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5579, allocations: 0 / 0.8574 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5579, allocations: 0 / 0.8574 GB, free: 10.75 MB / 0.6856 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.0004038/0.5583, allocations: 286 kB / 0.8576 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5583, allocations: 17.34 kB / 0.8576 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.5583, allocations: 0.9375 kB / 0.8577 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5585, allocations: 114.5 kB / 0.8578 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.5585, allocations: 55.95 kB / 0.8578 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5585, allocations: 3.938 kB / 0.8578 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.5587, allocations: 71.38 kB / 0.8579 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5587, allocations: 0 / 0.8579 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5587, allocations: 0 / 0.8579 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5587, allocations: 0 / 0.8579 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.5588, allocations: 19.92 kB / 0.8579 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.5593, allocations: 260.4 kB / 0.8582 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.5594, allocations: 22.58 kB / 0.8582 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.5594, allocations: 4.859 kB / 0.8582 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.5595, allocations: 32.03 kB / 0.8582 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5595, allocations: 30.56 kB / 0.8582 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5595, allocations: 0 / 0.8582 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.5596, allocations: 37.64 kB / 0.8583 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5597, allocations: 55.41 kB / 0.8583 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.5597, allocations: 110 kB / 0.8584 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5598, allocations: 25.7 kB / 0.8585 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.5598, allocations: 88.09 kB / 0.8585 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.5598, allocations: 3.953 kB / 0.8585 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.5599, allocations: 17.7 kB / 0.8586 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.56, allocations: 318.8 kB / 0.8589 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.56, allocations: 4 kB / 0.8589 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/0.56, allocations: 17.66 kB / 0.8589 GB, free: 9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.5601, allocations: 29.64 kB / 0.8589 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5601, allocations: 4 kB / 0.8589 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.119e-05/0.5602, allocations: 41.7 kB / 0.859 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.5602, allocations: 11.92 kB / 0.859 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5602, allocations: 4 kB / 0.859 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5602, allocations: 3.938 kB / 0.859 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.056e-05/0.5602, allocations: 4 kB / 0.859 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5602, allocations: 0 / 0.859 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.5603, allocations: 4 kB / 0.859 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5603, allocations: 0 / 0.859 GB, free: 8.887 MB / 0.6856 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 7.536e-05/0.5603, allocations: 113.8 kB / 0.8591 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.5604, allocations: 4 kB / 0.8591 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.5605, allocations: 121 kB / 0.8592 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.5606, allocations: 180.2 kB / 0.8594 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.932e-05/0.5606, allocations: 180.3 kB / 0.8596 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.22e-05/0.5607, allocations: 188.2 kB / 0.8597 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.5609, allocations: 360.8 kB / 0.8601 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/0.561, allocations: 104.9 kB / 0.8602 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.561, allocations: 101 kB / 0.8603 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.5611, allocations: 188.2 kB / 0.8605 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/0.5612, allocations: 184.2 kB / 0.8606 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-05/0.5613, allocations: 176.3 kB / 0.8608 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-05/0.5614, allocations: 188.2 kB / 0.861 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.5615, allocations: 308 kB / 0.8613 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.5616, allocations: 108.9 kB / 0.8614 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.5617, allocations: 180.3 kB / 0.8615 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5618, allocations: 112.9 kB / 0.8617 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.5619, allocations: 176.3 kB / 0.8618 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.562, allocations: 109 kB / 0.8619 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.562, allocations: 83.27 kB / 0.862 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.1e-08/0.562, allocations: 0 / 0.862 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003253/0.5623, allocations: 59.75 kB / 0.8621 GB, free: 5.551 MB / 0.6856 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.0003093/0.5627, allocations: 254.1 kB / 0.8623 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.5627, allocations: 12 kB / 0.8623 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5627, allocations: 4 kB / 0.8623 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5627, allocations: 0 / 0.8623 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.5632, allocations: 463.6 kB / 0.8628 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.5634, allocations: 190 kB / 0.8629 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.5635, allocations: 59.34 kB / 0.863 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.5635, allocations: 8.125 kB / 0.863 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.5635, allocations: 8.5 kB / 0.863 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of SimCode: time 2.91e-07/0.5635, allocations: 0 / 0.863 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of Templates: time 0.003947/0.5675, allocations: 1.338 MB / 0.8643 GB, free: 3.184 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.655609454028308] Failed to read output from testmodel.py, exit status != 0: 0.5751532349968329 0.588907262 0.028105033 Calling exit ...