Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 95.33 kB / 15.68 MB, free: 488 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.001421/0.001421, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.323/1.323, allocations: 223.2 MB / 240.5 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6765/0.6765, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 4.906 kB / 493 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002935/0.1383, allocations: 2.453 MB / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.1387, allocations: 331.3 kB / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1387, allocations: 0 / 0.5595 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.1389, allocations: 3.984 kB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.1389, allocations: 7.984 kB / 0.5595 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.1393, allocations: 157.9 kB / 0.5597 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.1394, allocations: 15.97 kB / 0.5597 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.1395, allocations: 4 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.1395, allocations: 15.92 kB / 0.5597 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.1396, allocations: 7.984 kB / 0.5597 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1396, allocations: 4 kB / 0.5597 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.1398, allocations: 99.8 kB / 0.5598 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.1399, allocations: 11.98 kB / 0.5599 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1399, allocations: 29.7 kB / 0.5599 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1401, allocations: 60.17 kB / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.1401, allocations: 3.938 kB / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1401, allocations: 0 / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1401, allocations: 0 / 0.5599 GB, free: 8.418 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.0003271/0.1404, allocations: 339.4 kB / 0.5603 GB, free: 8.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1405, allocations: 12.02 kB / 0.5603 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1405, allocations: 4 kB / 0.5603 GB, free: 8.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1406, allocations: 167 kB / 0.5604 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.1407, allocations: 29.7 kB / 0.5605 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1407, allocations: 7.953 kB / 0.5605 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1408, allocations: 37.69 kB / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1408, allocations: 0 / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1409, allocations: 4 kB / 0.5605 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1409, allocations: 0 / 0.5605 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.1409, allocations: 23.86 kB / 0.5605 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.1415, allocations: 0.5716 MB / 0.5611 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.605e-05/0.1416, allocations: 18.58 kB / 0.5611 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.1418, allocations: 344.5 kB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1418, allocations: 30.56 kB / 0.5615 GB, free: 6.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1418, allocations: 0 / 0.5615 GB, free: 6.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001312/0.142, allocations: 37.62 kB / 0.5615 GB, free: 6.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.142, allocations: 55.41 kB / 0.5616 GB, free: 6.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.1421, allocations: 102 kB / 0.5617 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1421, allocations: 25.7 kB / 0.5617 GB, free: 6.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.1421, allocations: 88.03 kB / 0.5618 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.1422, allocations: 4 kB / 0.5618 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1422, allocations: 4 kB / 0.5618 GB, free: 6.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.1423, allocations: 310.8 kB / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.1423, allocations: 4 kB / 0.5621 GB, free: 5.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.1423, allocations: 17.7 kB / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.1423, allocations: 15.95 kB / 0.5621 GB, free: 5.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1423, allocations: 0 / 0.5621 GB, free: 5.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.13e-05/0.1424, allocations: 53.53 kB / 0.5622 GB, free: 5.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1424, allocations: 4 kB / 0.5622 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1424, allocations: 0 / 0.5622 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1425, allocations: 4 kB / 0.5622 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.1425, allocations: 4 kB / 0.5622 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1425, allocations: 0 / 0.5622 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.1425, allocations: 4 kB / 0.5622 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1426, allocations: 8 kB / 0.5622 GB, free: 5.75 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.648e-05/0.1426, allocations: 113.7 kB / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.1427, allocations: 0 / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.699e-05/0.1428, allocations: 121 kB / 0.5624 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.1428, allocations: 180.3 kB / 0.5626 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-05/0.1429, allocations: 184.2 kB / 0.5628 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/0.1429, allocations: 180.2 kB / 0.5629 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1431, allocations: 409.2 kB / 0.5633 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/0.1432, allocations: 108.9 kB / 0.5634 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.1432, allocations: 105 kB / 0.5635 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.405e-05/0.1433, allocations: 184.5 kB / 0.5637 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.1433, allocations: 184.2 kB / 0.5639 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.176e-05/0.1434, allocations: 184.2 kB / 0.564 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-05/0.1434, allocations: 180.2 kB / 0.5642 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1436, allocations: 299.8 kB / 0.5645 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1436, allocations: 205.9 kB / 0.5647 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.1437, allocations: 180.2 kB / 0.5649 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1439, allocations: 105 kB / 0.565 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.1439, allocations: 188.1 kB / 0.5652 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.144, allocations: 105.3 kB / 0.5653 GB, free: 2.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.144, allocations: 83.28 kB / 0.5653 GB, free: 2.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 4 kB / 0.5653 GB, free: 2.297 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1443, allocations: 31.98 kB / 0.5654 GB, free: 2.266 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.0002307/0.1445, allocations: 235.1 kB / 0.5656 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.1446, allocations: 11.94 kB / 0.5656 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1446, allocations: 0 / 0.5656 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1446, allocations: 0 / 0.5656 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1449, allocations: 0.5215 MB / 0.5661 GB, free: 1.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.1452, allocations: 192 kB / 0.5663 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1454, allocations: 0.677 MB / 0.567 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.1454, allocations: 10.33 kB / 0.567 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.1455, allocations: 7.438 kB / 0.567 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1455, allocations: 0 / 0.567 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of Templates: time 0.003232/0.1487, allocations: 1.118 MB / 0.5681 GB, free: 15.48 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)