Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001417/0.001417, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7291/0.7291, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.45 kB / 0.5584 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 76.18 MB / 0.6328 GB, free: 4.348 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005423/0.159, allocations: 4.042 MB / 0.6367 GB, free: 284 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1618, allocations: 2.418 MB / 0.6391 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1619, allocations: 0 / 0.6391 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1622, allocations: 51.67 kB / 0.6392 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1625, allocations: 99.34 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.164, allocations: 0.5175 MB / 0.6398 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1643, allocations: 259.9 kB / 0.64 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.1644, allocations: 21.48 kB / 0.64 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1646, allocations: 119.6 kB / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1648, allocations: 95.61 kB / 0.6402 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1648, allocations: 8 kB / 0.6402 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.1657, allocations: 451.3 kB / 0.6407 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1657, allocations: 39.83 kB / 0.6407 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.1658, allocations: 87.64 kB / 0.6408 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.1665, allocations: 410.9 kB / 0.6412 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1665, allocations: 0 / 0.6412 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1665, allocations: 4 kB / 0.6412 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1665, allocations: 0 / 0.6412 GB, free: 11.72 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008033/0.1673, allocations: 0.4992 MB / 0.6417 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1674, allocations: 11.97 kB / 0.6417 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.1693, allocations: 180.5 kB / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1697, allocations: 212.1 kB / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1697, allocations: 12.7 kB / 0.6421 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.1698, allocations: 16.38 kB / 0.6421 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.1704, allocations: 300.4 kB / 0.6424 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1705, allocations: 3.938 kB / 0.6424 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1705, allocations: 8 kB / 0.6424 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.1705, allocations: 8 kB / 0.6424 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.1712, allocations: 259.6 kB / 0.6426 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1728, allocations: 1.4 MB / 0.644 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.1735, allocations: 194.5 kB / 0.6442 GB, free: 8.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1738, allocations: 80.81 kB / 0.6443 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1738, allocations: 0 / 0.6443 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1738, allocations: 34.56 kB / 0.6443 GB, free: 8.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.1738, allocations: 0 / 0.6443 GB, free: 8.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007959/0.1746, allocations: 252.6 kB / 0.6445 GB, free: 8.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1747, allocations: 51.41 kB / 0.6446 GB, free: 7.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1748, allocations: 164.7 kB / 0.6448 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1749, allocations: 29.7 kB / 0.6448 GB, free: 7.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.175, allocations: 128 kB / 0.6449 GB, free: 7.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.175, allocations: 67.08 kB / 0.645 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.1751, allocations: 53.94 kB / 0.645 GB, free: 7.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1753, allocations: 322.8 kB / 0.6453 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1755, allocations: 64.41 kB / 0.6454 GB, free: 7.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.1758, allocations: 151.9 kB / 0.6455 GB, free: 6.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.1763, allocations: 221 kB / 0.6457 GB, free: 6.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1763, allocations: 0 / 0.6457 GB, free: 6.676 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005815/0.1769, allocations: 254.9 kB / 0.646 GB, free: 6.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1769, allocations: 4 kB / 0.646 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1769, allocations: 4.312 kB / 0.646 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1769, allocations: 8 kB / 0.646 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.1773, allocations: 63.89 kB / 0.6461 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1773, allocations: 4 kB / 0.6461 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.1775, allocations: 31.73 kB / 0.6461 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1776, allocations: 8 kB / 0.6461 GB, free: 6.301 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001249/0.1777, allocations: 137.6 kB / 0.6462 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.1777, allocations: 11.91 kB / 0.6462 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.1784, allocations: 226.7 kB / 0.6465 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1784, allocations: 4 kB / 0.6465 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1784, allocations: 0 / 0.6465 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1784, allocations: 7.922 kB / 0.6465 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1787, allocations: 245.4 kB / 0.6467 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1787, allocations: 3.984 kB / 0.6467 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.179, allocations: 47.91 kB / 0.6468 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.179, allocations: 0 / 0.6468 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1791, allocations: 8 kB / 0.6468 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1791, allocations: 4 kB / 0.6468 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1791, allocations: 0 / 0.6468 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.1796, allocations: 301 kB / 0.6471 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.1797, allocations: 104.9 kB / 0.6472 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.1798, allocations: 8 kB / 0.6472 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.1801, allocations: 19.92 kB / 0.6472 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1801, allocations: 11.98 kB / 0.6472 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1801, allocations: 11.98 kB / 0.6472 GB, free: 5.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.995e-05/0.1802, allocations: 113.9 kB / 0.6473 GB, free: 4.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1802, allocations: 0 / 0.6473 GB, free: 4.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1806, allocations: 63.94 kB / 0.6474 GB, free: 4.895 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 (20): * Single equations (assignments): 20 * 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.0002242/0.1808, allocations: 139.3 kB / 0.6475 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1814, allocations: 180.1 kB / 0.6477 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1814, allocations: 3.938 kB / 0.6477 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.1816, allocations: 87.88 kB / 0.6478 GB, free: 4.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1821, allocations: 62.77 kB / 0.6478 GB, free: 4.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.1831, allocations: 435.3 kB / 0.6482 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1834, allocations: 0.7173 MB / 0.6489 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1835, allocations: 35.34 kB / 0.649 GB, free: 3.191 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1835, allocations: 0 / 0.649 GB, free: 3.191 MB / 494.1 MB Notification: Performance of Templates: time 0.004844/0.1883, allocations: 2.936 MB / 0.6518 GB, free: 276 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)