Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.000885, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 176.2 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6587/0.6587, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003571/0.1344, allocations: 3.371 MB / 0.5601 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001712/0.1346, allocations: 131.7 kB / 0.5602 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.1347, allocations: 4 kB / 0.5602 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.75e-05/0.1348, allocations: 0 / 0.5602 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.135e-05/0.1348, allocations: 15.92 kB / 0.5603 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1351, allocations: 59.89 kB / 0.5603 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.1352, allocations: 15.97 kB / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1352, allocations: 3.984 kB / 0.5603 GB, free: 7.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.1353, allocations: 15.94 kB / 0.5604 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.1353, allocations: 4 kB / 0.5604 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1353, allocations: 4 kB / 0.5604 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1355, allocations: 31.97 kB / 0.5604 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.1355, allocations: 15.86 kB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1356, allocations: 29.7 kB / 0.5604 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.792e-05/0.1357, allocations: 27.97 kB / 0.5605 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1357, allocations: 0 / 0.5605 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1357, allocations: 0 / 0.5605 GB, free: 7.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1357, allocations: 0 / 0.5605 GB, free: 7.863 MB / 430.1 MB 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.0003033/0.136, allocations: 331.6 kB / 0.5608 GB, free: 7.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.136, allocations: 16.02 kB / 0.5608 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1361, allocations: 7.891 kB / 0.5608 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.1362, allocations: 159.1 kB / 0.561 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.1362, allocations: 29.7 kB / 0.561 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1363, allocations: 3.953 kB / 0.561 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1364, allocations: 45.67 kB / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1364, allocations: 0 / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1364, allocations: 7.938 kB / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.1364, allocations: 3.938 kB / 0.561 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.1365, allocations: 15.98 kB / 0.5611 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.1369, allocations: 334 kB / 0.5614 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.1369, allocations: 14.58 kB / 0.5614 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.821e-05/0.137, allocations: 89.17 kB / 0.5615 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.137, allocations: 30.56 kB / 0.5615 GB, free: 6.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.1371, allocations: 7.938 kB / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.1372, allocations: 37.69 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1372, allocations: 51.41 kB / 0.5616 GB, free: 6.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.1373, allocations: 97.86 kB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1373, allocations: 25.7 kB / 0.5617 GB, free: 6.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.1374, allocations: 95.97 kB / 0.5618 GB, free: 6.246 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.1374, allocations: 3.906 kB / 0.5618 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.1374, allocations: 4 kB / 0.5618 GB, free: 6.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.1375, allocations: 315 kB / 0.5621 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.1375, allocations: 4 kB / 0.5621 GB, free: 5.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.1375, allocations: 17.7 kB / 0.5621 GB, free: 5.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.1375, allocations: 19.83 kB / 0.5622 GB, free: 5.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1376, allocations: 0 / 0.5622 GB, free: 5.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.067e-05/0.1376, allocations: 45.69 kB / 0.5622 GB, free: 5.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1377, allocations: 4 kB / 0.5622 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1377, allocations: 4.062 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1377, allocations: 4 kB / 0.5622 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.1377, allocations: 7.938 kB / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1377, allocations: 0 / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.1378, allocations: 0 / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1378, allocations: 4 kB / 0.5622 GB, free: 5.801 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.1378, allocations: 109.8 kB / 0.5623 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.1379, allocations: 4 kB / 0.5623 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.799e-05/0.138, allocations: 125 kB / 0.5624 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/0.138, allocations: 184.2 kB / 0.5626 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.732e-05/0.1381, allocations: 180.3 kB / 0.5628 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.833e-05/0.1381, allocations: 184.2 kB / 0.563 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1383, allocations: 405.2 kB / 0.5634 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.1384, allocations: 108.9 kB / 0.5635 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.1384, allocations: 104.9 kB / 0.5636 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-05/0.1385, allocations: 180.3 kB / 0.5637 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.1385, allocations: 184.1 kB / 0.5639 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.711e-05/0.1386, allocations: 180.3 kB / 0.5641 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-05/0.1386, allocations: 180.2 kB / 0.5643 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1387, allocations: 312 kB / 0.5645 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1388, allocations: 194 kB / 0.5647 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1389, allocations: 180.2 kB / 0.5649 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.139, allocations: 105 kB / 0.565 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1391, allocations: 192.2 kB / 0.5652 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.1391, allocations: 105 kB / 0.5653 GB, free: 2.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.1392, allocations: 83.28 kB / 0.5654 GB, free: 2.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 0.5654 GB, free: 2.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1394, allocations: 16 kB / 0.5654 GB, free: 2.34 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.1396, allocations: 191.1 kB / 0.5656 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.954e-05/0.1397, allocations: 23.98 kB / 0.5656 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1397, allocations: 3.938 kB / 0.5656 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1397, allocations: 0 / 0.5656 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.14, allocations: 0.5146 MB / 0.5661 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.1402, allocations: 196.2 kB / 0.5663 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.1404, allocations: 0.677 MB / 0.5669 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.1405, allocations: 4 kB / 0.5669 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.1405, allocations: 7.438 kB / 0.567 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1405, allocations: 4 kB / 0.567 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of Templates: time 0.002364/0.1429, allocations: 0.5418 MB / 0.5675 GB, free: 124 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)