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.0007937/0.0007937, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.0009438/0.0009438, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7093/0.7093, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003305, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4472, allocations: 77.51 MB / 0.5606 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00123/0.4485, allocations: 0.9895 MB / 0.5615 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.4512, allocations: 2.466 MB / 0.5639 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.4512, allocations: 0 / 0.5639 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.4513, allocations: 2.453 kB / 0.564 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.4513, allocations: 1.156 kB / 0.564 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.4518, allocations: 114.8 kB / 0.5641 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.4519, allocations: 42.53 kB / 0.5641 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.452, allocations: 3.891 kB / 0.5641 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.452, allocations: 10.86 kB / 0.5641 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.4521, allocations: 24.16 kB / 0.5641 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4521, allocations: 2.469 kB / 0.5641 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.4524, allocations: 110.2 kB / 0.5642 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.4524, allocations: 13.28 kB / 0.5643 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.4525, allocations: 42.5 kB / 0.5643 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4527, allocations: 58.59 kB / 0.5644 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4527, allocations: 4 kB / 0.5644 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4527, allocations: 0.6875 kB / 0.5644 GB, free: 32.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4527, allocations: 0 / 0.5644 GB, free: 32.77 MB / 446.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.0003249/0.453, allocations: 335.9 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4531, allocations: 13.38 kB / 0.5647 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.4533, allocations: 21.19 kB / 0.5647 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/0.4534, allocations: 163 kB / 0.5649 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4534, allocations: 3.125 kB / 0.5649 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.4534, allocations: 8.734 kB / 0.5649 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4536, allocations: 80.66 kB / 0.565 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4536, allocations: 0.5625 kB / 0.565 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4536, allocations: 6.562 kB / 0.565 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4536, allocations: 1.281 kB / 0.565 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.4537, allocations: 12.09 kB / 0.565 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.4542, allocations: 470.3 kB / 0.5654 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4544, allocations: 74.84 kB / 0.5655 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.4544, allocations: 28.59 kB / 0.5655 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.4544, allocations: 1.703 kB / 0.5655 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4544, allocations: 37.64 kB / 0.5656 GB, free: 31.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.4544, allocations: 0 / 0.5656 GB, free: 31.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005672/0.455, allocations: 303.6 kB / 0.5659 GB, free: 31.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4551, allocations: 106.3 kB / 0.566 GB, free: 31.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.245e-05/0.4551, allocations: 100.5 kB / 0.566 GB, free: 30.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4551, allocations: 27.02 kB / 0.5661 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.4552, allocations: 87.72 kB / 0.5662 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.4552, allocations: 33.67 kB / 0.5662 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.4552, allocations: 21.95 kB / 0.5662 GB, free: 30.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.4553, allocations: 321.9 kB / 0.5665 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.4553, allocations: 10.38 kB / 0.5665 GB, free: 30.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.4554, allocations: 58.28 kB / 0.5666 GB, free: 30.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.347e-05/0.4555, allocations: 78.19 kB / 0.5667 GB, free: 30.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4555, allocations: 1.344 kB / 0.5667 GB, free: 30.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001311/0.4556, allocations: 93.44 kB / 0.5667 GB, free: 30.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4556, allocations: 5.281 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4556, allocations: 2.406 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4557, allocations: 3.344 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.4557, allocations: 18.59 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4558, allocations: 6.469 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.4558, allocations: 3.5 kB / 0.5668 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.4558, allocations: 5.125 kB / 0.5668 GB, free: 30.31 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.4559, allocations: 118.1 kB / 0.5669 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.4559, allocations: 6.875 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.456, allocations: 10.27 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.456, allocations: 2 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.456, allocations: 6.469 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.456, allocations: 2.109 kB / 0.5669 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.4563, allocations: 183.4 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4563, allocations: 1.188 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.4564, allocations: 15.52 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4564, allocations: 5.312 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4565, allocations: 2.156 kB / 0.5671 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4565, allocations: 4.969 kB / 0.5671 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4565, allocations: 2.75 kB / 0.5671 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.4567, allocations: 326.2 kB / 0.5674 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.4568, allocations: 86.75 kB / 0.5675 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4568, allocations: 2.719 kB / 0.5675 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4569, allocations: 7.141 kB / 0.5675 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.457, allocations: 13.86 kB / 0.5676 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.457, allocations: 7.312 kB / 0.5676 GB, free: 29.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.965e-05/0.457, allocations: 79.12 kB / 0.5676 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.457, allocations: 0 / 0.5676 GB, free: 29.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.4574, allocations: 17.75 kB / 0.5677 GB, free: 29.48 MB / 446.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 (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.0001124/0.4575, allocations: 104.8 kB / 0.5678 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.4576, allocations: 44.56 kB / 0.5678 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4576, allocations: 2.094 kB / 0.5678 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.4577, allocations: 21.8 kB / 0.5678 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.4581, allocations: 11.02 kB / 0.5678 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.4588, allocations: 428.6 kB / 0.5682 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.4589, allocations: 0.6831 MB / 0.5689 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.4589, allocations: 15.88 kB / 0.5689 GB, free: 28.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4589, allocations: 0 / 0.5689 GB, free: 28.37 MB / 446.1 MB Notification: Performance of Templates: time 0.002234/0.4612, allocations: 0.7765 MB / 0.5697 GB, free: 28.32 MB / 446.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)