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.00154/0.00154, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001676/0.001676, allocations: 220.8 kB / 23 MB, free: 4.914 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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.002584/0.002584, allocations: 285.5 kB / 313.5 MB, free: 2.641 MB / 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 1.164/1.164, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.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.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: 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.002852/0.002852, allocations: 100.3 kB / 0.7407 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1579, allocations: 95.4 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005786/0.1637, allocations: 3.615 MB / 0.8374 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.1639, allocations: 143.6 kB / 0.8375 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1639, allocations: 3.938 kB / 0.8375 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.802e-05/0.164, allocations: 11.92 kB / 0.8375 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.1641, allocations: 11.94 kB / 0.8375 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1644, allocations: 83.73 kB / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1645, allocations: 39.84 kB / 0.8377 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.1646, allocations: 0 / 0.8377 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.1646, allocations: 19.92 kB / 0.8377 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.1647, allocations: 11.98 kB / 0.8377 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1647, allocations: 4 kB / 0.8377 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.1653, allocations: 207.3 kB / 0.8379 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.1653, allocations: 4 kB / 0.8379 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.1653, allocations: 15.88 kB / 0.8379 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1655, allocations: 63.84 kB / 0.838 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1655, allocations: 0 / 0.838 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1655, allocations: 0 / 0.838 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1655, allocations: 0 / 0.838 GB, free: 3.578 MB / 0.5762 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.0004045/0.1659, allocations: 258.3 kB / 0.8382 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1659, allocations: 12.75 kB / 0.8382 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.166, allocations: 0.9375 kB / 0.8382 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1661, allocations: 114.4 kB / 0.8383 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.1661, allocations: 55.91 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1662, allocations: 4.375 kB / 0.8384 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1663, allocations: 83.23 kB / 0.8385 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1663, allocations: 0 / 0.8385 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1663, allocations: 0 / 0.8385 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1663, allocations: 0 / 0.8385 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.1664, allocations: 15.98 kB / 0.8385 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.1668, allocations: 208.6 kB / 0.8387 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.1668, allocations: 18.58 kB / 0.8387 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1668, allocations: 8.922 kB / 0.8387 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.1669, allocations: 4 kB / 0.8387 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1669, allocations: 42.48 kB / 0.8388 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1669, allocations: 0 / 0.8388 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.1671, allocations: 33.7 kB / 0.8388 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1671, allocations: 51.41 kB / 0.8388 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.1672, allocations: 105.8 kB / 0.8389 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1672, allocations: 29.83 kB / 0.839 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1673, allocations: 88.09 kB / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.1673, allocations: 3.953 kB / 0.8391 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1673, allocations: 13.72 kB / 0.8391 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1675, allocations: 322.8 kB / 0.8394 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1675, allocations: 7.938 kB / 0.8394 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.1675, allocations: 17.66 kB / 0.8394 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.1675, allocations: 25.7 kB / 0.8394 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1675, allocations: 0 / 0.8394 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.567e-05/0.1676, allocations: 53.64 kB / 0.8395 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1676, allocations: 4 kB / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1676, allocations: 0 / 0.8395 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1676, allocations: 3.984 kB / 0.8395 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.1677, allocations: 4 kB / 0.8395 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1677, allocations: 4 kB / 0.8395 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.1677, allocations: 0 / 0.8395 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1677, allocations: 0 / 0.8395 GB, free: 1.816 MB / 0.5762 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 9.009e-05/0.1678, allocations: 114.4 kB / 0.8396 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1678, allocations: 4.062 kB / 0.8396 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1679, allocations: 132.8 kB / 0.8397 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.168, allocations: 184.2 kB / 0.8399 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.849e-05/0.1681, allocations: 180.2 kB / 0.8401 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.211e-05/0.1682, allocations: 176.3 kB / 0.8403 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1684, allocations: 364.8 kB / 0.8406 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/0.1685, allocations: 108.9 kB / 0.8407 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1685, allocations: 101 kB / 0.8408 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.472e-05/0.1686, allocations: 184.2 kB / 0.841 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/0.1687, allocations: 180.3 kB / 0.8412 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.454e-05/0.1688, allocations: 180.3 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.726e-05/0.1689, allocations: 184.2 kB / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.169, allocations: 311.7 kB / 0.8418 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1691, allocations: 105 kB / 0.8419 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.1692, allocations: 180.5 kB / 0.8421 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1693, allocations: 108.9 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.1694, allocations: 180.3 kB / 0.8423 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.1695, allocations: 104.9 kB / 0.8424 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.1695, allocations: 87.28 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1695, allocations: 0 / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002593/0.1698, allocations: 19.98 kB / 0.8425 GB, free: 14.52 MB / 0.5919 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.0001864/0.17, allocations: 198.4 kB / 0.8427 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.1701, allocations: 8 kB / 0.8427 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1701, allocations: 0 / 0.8427 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/0.1701, allocations: 3.938 kB / 0.8427 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.1705, allocations: 466.8 kB / 0.8432 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.1708, allocations: 215.8 kB / 0.8434 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.1709, allocations: 63.41 kB / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.1709, allocations: 15.44 kB / 0.8435 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1709, allocations: 0 / 0.8435 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.002235/0.1732, allocations: 0.7309 MB / 0.8442 GB, free: 12.79 MB / 0.5919 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: 7.941863323096186] Failed to read output from testmodel.py, exit status != 0: 0.18021271657198668 0.19515172600000003 0.026726158000000003 Calling exit ...