Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 96.58 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.001044/0.001044, allocations: 175.8 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.316/1.316, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7514/0.7514, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 12 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001245/0.1509, allocations: 0.9648 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.1533, allocations: 1.881 MB / 0.5596 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.1533, allocations: 0 / 0.5596 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.1533, allocations: 3.984 kB / 0.5596 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.1534, allocations: 11.98 kB / 0.5596 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1538, allocations: 107.7 kB / 0.5597 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.1539, allocations: 19.97 kB / 0.5597 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.154, allocations: 4 kB / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.154, allocations: 23.91 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.1541, allocations: 15.97 kB / 0.5598 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1541, allocations: 4 kB / 0.5598 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1544, allocations: 107.8 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1544, allocations: 11.94 kB / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1545, allocations: 33.69 kB / 0.5599 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1546, allocations: 52.16 kB / 0.56 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1546, allocations: 0 / 0.56 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1546, allocations: 0 / 0.56 GB, free: 8.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1546, allocations: 0 / 0.56 GB, free: 8.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003621/0.155, allocations: 331.4 kB / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.155, allocations: 16.02 kB / 0.5603 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.1552, allocations: 15.89 kB / 0.5603 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1554, allocations: 167 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1554, allocations: 4 kB / 0.5605 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1554, allocations: 11.95 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1556, allocations: 76.17 kB / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1556, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1556, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1556, allocations: 0 / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.1556, allocations: 19.92 kB / 0.5606 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.1562, allocations: 463 kB / 0.561 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1564, allocations: 75.81 kB / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.1564, allocations: 0 / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1564, allocations: 34.56 kB / 0.5611 GB, free: 6.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1564, allocations: 3.938 kB / 0.5612 GB, free: 6.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006061/0.157, allocations: 302.4 kB / 0.5614 GB, free: 6.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1571, allocations: 114.8 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.1572, allocations: 102.1 kB / 0.5616 GB, free: 6.359 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1572, allocations: 29.7 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.1572, allocations: 84.05 kB / 0.5618 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1573, allocations: 35.53 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.1573, allocations: 0 / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1574, allocations: 326.8 kB / 0.5621 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.1574, allocations: 16 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.1575, allocations: 45.14 kB / 0.5622 GB, free: 5.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.1575, allocations: 24.17 kB / 0.5622 GB, free: 5.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1575, allocations: 7.938 kB / 0.5622 GB, free: 5.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001284/0.1577, allocations: 89.55 kB / 0.5623 GB, free: 5.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1577, allocations: 8 kB / 0.5623 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1577, allocations: 0 / 0.5623 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1577, allocations: 4 kB / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/0.1578, allocations: 19.98 kB / 0.5623 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1578, allocations: 0 / 0.5623 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.1579, allocations: 12.06 kB / 0.5623 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1579, allocations: 4 kB / 0.5623 GB, free: 5.625 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.721e-05/0.158, allocations: 125.9 kB / 0.5624 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.158, allocations: 7.906 kB / 0.5624 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.1581, allocations: 11.55 kB / 0.5625 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1581, allocations: 0 / 0.5625 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1581, allocations: 0 / 0.5625 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1581, allocations: 4 kB / 0.5625 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1584, allocations: 173.6 kB / 0.5626 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1584, allocations: 0 / 0.5626 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.1585, allocations: 20 kB / 0.5626 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1585, allocations: 7.938 kB / 0.5627 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1586, allocations: 0 / 0.5627 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1586, allocations: 7.984 kB / 0.5627 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1586, allocations: 0 / 0.5627 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1588, allocations: 349.4 kB / 0.563 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.1589, allocations: 89.05 kB / 0.5631 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1589, allocations: 4 kB / 0.5631 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1591, allocations: 0 / 0.5631 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.1591, allocations: 11.98 kB / 0.5631 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1591, allocations: 4 kB / 0.5631 GB, free: 4.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.1592, allocations: 75.28 kB / 0.5632 GB, free: 4.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1592, allocations: 0 / 0.5632 GB, free: 4.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1595, allocations: 19.95 kB / 0.5632 GB, free: 4.625 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001208/0.1596, allocations: 111.8 kB / 0.5633 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.1598, allocations: 47.91 kB / 0.5633 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1598, allocations: 0 / 0.5633 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.1598, allocations: 19.94 kB / 0.5634 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1601, allocations: 7.188 kB / 0.5634 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.1607, allocations: 400.7 kB / 0.5638 GB, free: 4.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.1609, allocations: 0.696 MB / 0.5644 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.491e-05/0.161, allocations: 11.98 kB / 0.5644 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.161, allocations: 11.44 kB / 0.5645 GB, free: 3.266 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.161, allocations: 0 / 0.5645 GB, free: 3.266 MB / 430.1 MB Notification: Performance of Templates: time 0.002562/0.1636, allocations: 0.5758 MB / 0.565 GB, free: 2.719 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)