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.001239/0.001239, allocations: 108 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 61.23 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 76.17 MB / 0.6321 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005257/0.1506, allocations: 3.279 MB / 0.6353 GB, free: 1.223 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.1508, allocations: 51.86 kB / 0.6353 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1508, allocations: 0 / 0.6353 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.151, allocations: 7.922 kB / 0.6353 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.1511, allocations: 7.922 kB / 0.6353 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1517, allocations: 193.2 kB / 0.6355 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.1518, allocations: 35.84 kB / 0.6356 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1518, allocations: 0 / 0.6356 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.1519, allocations: 15.98 kB / 0.6356 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.152, allocations: 15.92 kB / 0.6356 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.152, allocations: 0 / 0.6356 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.1524, allocations: 167.6 kB / 0.6358 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.1524, allocations: 11.92 kB / 0.6358 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1525, allocations: 12 kB / 0.6358 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.1528, allocations: 135.7 kB / 0.6359 GB, free: 0.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1528, allocations: 4 kB / 0.6359 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1528, allocations: 0 / 0.6359 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1528, allocations: 4 kB / 0.6359 GB, free: 0.5742 MB / 478.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.0004788/0.1533, allocations: 343.5 kB / 0.6362 GB, free: 196 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1534, allocations: 11.97 kB / 0.6363 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1534, allocations: 4.844 kB / 0.6363 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1536, allocations: 164.4 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.1537, allocations: 26.27 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1537, allocations: 8.359 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1538, allocations: 45.62 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1538, allocations: 4 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1539, allocations: 0 / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1539, allocations: 0 / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.154, allocations: 19.92 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.1547, allocations: 0.5833 MB / 0.6371 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.707e-05/0.1547, allocations: 18.58 kB / 0.6371 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.1548, allocations: 12.92 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.155, allocations: 348.3 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1551, allocations: 30.56 kB / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1551, allocations: 0 / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.1553, allocations: 41.64 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1553, allocations: 51.41 kB / 0.6376 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.1554, allocations: 102 kB / 0.6377 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1554, allocations: 29.7 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1555, allocations: 88.05 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.1555, allocations: 3.906 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1555, allocations: 17.7 kB / 0.6378 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1557, allocations: 318.8 kB / 0.6381 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.1557, allocations: 4 kB / 0.6381 GB, free: 13.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.1557, allocations: 25.7 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.1558, allocations: 21.66 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1558, allocations: 4 kB / 0.6381 GB, free: 13.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.737e-05/0.1559, allocations: 45.69 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1559, allocations: 4 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1559, allocations: 4 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1559, allocations: 4 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.156, allocations: 12 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.156, allocations: 0 / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.156, allocations: 3.938 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.156, allocations: 4 kB / 0.6382 GB, free: 13.82 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.1561, allocations: 110.4 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1562, allocations: 7.984 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1563, allocations: 115.6 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/0.1564, allocations: 188.2 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.955e-05/0.1565, allocations: 176.3 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/0.1565, allocations: 184.2 kB / 0.639 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1568, allocations: 409.2 kB / 0.6394 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.1568, allocations: 105 kB / 0.6395 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.1569, allocations: 108.9 kB / 0.6396 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.1569, allocations: 180.3 kB / 0.6397 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.157, allocations: 184.2 kB / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.177e-05/0.1571, allocations: 176.3 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-05/0.1571, allocations: 184.2 kB / 0.6403 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1573, allocations: 315.9 kB / 0.6406 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.1574, allocations: 186 kB / 0.6407 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.1574, allocations: 184.2 kB / 0.6409 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1576, allocations: 113 kB / 0.641 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.1577, allocations: 180.2 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.1577, allocations: 109 kB / 0.6413 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.424e-05/0.1578, allocations: 87.28 kB / 0.6414 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1578, allocations: 0 / 0.6414 GB, free: 10.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1581, allocations: 36 kB / 0.6414 GB, free: 10.34 MB / 494.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 (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.0002729/0.1584, allocations: 234.3 kB / 0.6416 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.1584, allocations: 11.94 kB / 0.6416 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1584, allocations: 0 / 0.6416 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1585, allocations: 0 / 0.6416 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1588, allocations: 468.6 kB / 0.6421 GB, free: 9.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1591, allocations: 181.8 kB / 0.6423 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1594, allocations: 0.6768 MB / 0.6429 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.503e-05/0.1594, allocations: 4 kB / 0.6429 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1595, allocations: 7.438 kB / 0.6429 GB, free: 8.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1595, allocations: 8 kB / 0.6429 GB, free: 8.691 MB / 494.1 MB Notification: Performance of Templates: time 0.003572/0.1631, allocations: 1.198 MB / 0.6441 GB, free: 7.539 MB / 494.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)