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.001197/0.001197, 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.001304/0.001304, allocations: 177.5 kB / 16.57 MB, free: 6.859 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.336/1.336, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6619/0.6619, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 8 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004066/0.1391, allocations: 3.049 MB / 0.5598 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1419, allocations: 2.187 MB / 0.5619 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1421, allocations: 4 kB / 0.562 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1423, allocations: 31.81 kB / 0.562 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1425, allocations: 79.81 kB / 0.5621 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1437, allocations: 461.5 kB / 0.5625 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1441, allocations: 168.6 kB / 0.5627 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.1442, allocations: 9.547 kB / 0.5627 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1444, allocations: 99.73 kB / 0.5628 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1445, allocations: 79.69 kB / 0.5628 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1446, allocations: 8 kB / 0.5628 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.1454, allocations: 391.5 kB / 0.5632 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1456, allocations: 39.89 kB / 0.5633 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.1456, allocations: 53.64 kB / 0.5633 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1461, allocations: 255.7 kB / 0.5636 GB, free: 4.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1461, allocations: 0 / 0.5636 GB, free: 4.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1461, allocations: 0 / 0.5636 GB, free: 4.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1461, allocations: 0 / 0.5636 GB, free: 4.703 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006597/0.1468, allocations: 483 kB / 0.564 GB, free: 4.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1468, allocations: 20.02 kB / 0.564 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.1487, allocations: 175.6 kB / 0.5642 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.149, allocations: 210.8 kB / 0.5644 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.149, allocations: 12.33 kB / 0.5644 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.1491, allocations: 19.95 kB / 0.5644 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.1497, allocations: 296.9 kB / 0.5647 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1497, allocations: 0 / 0.5647 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1498, allocations: 8 kB / 0.5647 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1498, allocations: 4 kB / 0.5647 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.1505, allocations: 259.6 kB / 0.565 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1521, allocations: 1.404 MB / 0.5663 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.1528, allocations: 204.5 kB / 0.5665 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1528, allocations: 3.984 kB / 0.5665 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1528, allocations: 42.56 kB / 0.5666 GB, free: 1.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.1528, allocations: 3.938 kB / 0.5666 GB, free: 1.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007545/0.1536, allocations: 237.6 kB / 0.5668 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.1537, allocations: 59.34 kB / 0.5669 GB, free: 1.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1538, allocations: 156.9 kB / 0.567 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1539, allocations: 33.7 kB / 0.5671 GB, free: 0.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.1539, allocations: 128 kB / 0.5672 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.154, allocations: 67.05 kB / 0.5672 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.154, allocations: 0 / 0.5672 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1542, allocations: 330.8 kB / 0.5676 GB, free: 312 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1544, allocations: 64.42 kB / 0.5676 GB, free: 244 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1546, allocations: 140 kB / 0.5677 GB, free: 72 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.1549, allocations: 78.06 kB / 0.5678 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1549, allocations: 4 kB / 0.5678 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005536/0.1554, allocations: 245.2 kB / 0.5681 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1554, allocations: 4 kB / 0.5681 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1555, allocations: 8 kB / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1555, allocations: 4 kB / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.1559, allocations: 72.19 kB / 0.5681 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1559, allocations: 11.94 kB / 0.5682 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1562, allocations: 31.73 kB / 0.5682 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1562, allocations: 8 kB / 0.5682 GB, free: 15.61 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.1563, allocations: 137.7 kB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.1564, allocations: 15.81 kB / 0.5683 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.157, allocations: 226.7 kB / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1571, allocations: 4 kB / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1571, allocations: 0 / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1571, allocations: 7.984 kB / 0.5686 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.1574, allocations: 249.1 kB / 0.5688 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1574, allocations: 0 / 0.5688 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1577, allocations: 55.89 kB / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1577, allocations: 0 / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1578, allocations: 8 kB / 0.5689 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1578, allocations: 0 / 0.5689 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1578, allocations: 4 kB / 0.5689 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.1583, allocations: 289.3 kB / 0.5691 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1584, allocations: 112.8 kB / 0.5693 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.1585, allocations: 4 kB / 0.5693 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.1587, allocations: 27.97 kB / 0.5693 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1588, allocations: 7.984 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.1588, allocations: 8 kB / 0.5693 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.298e-05/0.1589, allocations: 118.7 kB / 0.5694 GB, free: 14.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.402e-06/0.1589, allocations: 0 / 0.5694 GB, free: 14.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.1593, allocations: 72 kB / 0.5695 GB, free: 14.19 MB / 446.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 (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.0001869/0.1595, allocations: 135.9 kB / 0.5696 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.16, allocations: 180.2 kB / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1601, allocations: 0 / 0.5698 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.1603, allocations: 87.89 kB / 0.5699 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1607, allocations: 62.86 kB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1617, allocations: 495.1 kB / 0.5704 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.162, allocations: 0.7213 MB / 0.5711 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.1623, allocations: 57.92 kB / 0.5712 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.1624, allocations: 23.42 kB / 0.5712 GB, free: 12.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1624, allocations: 0 / 0.5712 GB, free: 12.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006409/0.1688, allocations: 3.117 MB / 0.5742 GB, free: 9.328 MB / 446.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)