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.001105/0.001105, allocations: 120.8 kB / 17.09 MB, free: 5.988 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.001117/0.001117, allocations: 192.7 kB / 18.02 MB, free: 5.066 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.278/1.278, allocations: 222.9 MB / 241.7 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.6918/0.6918, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 66.41 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00213/0.1622, allocations: 1.243 MB / 0.6339 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.1652, allocations: 2.503 MB / 0.6364 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1652, allocations: 4 kB / 0.6364 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.1653, allocations: 3.938 kB / 0.6364 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.1653, allocations: 7.984 kB / 0.6364 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1659, allocations: 119.4 kB / 0.6365 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.166, allocations: 39.84 kB / 0.6365 GB, free: 480 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.166, allocations: 4 kB / 0.6365 GB, free: 476 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.1661, allocations: 15.92 kB / 0.6366 GB, free: 460 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.1661, allocations: 19.97 kB / 0.6366 GB, free: 440 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1661, allocations: 0 / 0.6366 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1664, allocations: 123.7 kB / 0.6367 GB, free: 316 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1665, allocations: 11.92 kB / 0.6367 GB, free: 304 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1665, allocations: 11.94 kB / 0.6367 GB, free: 292 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1667, allocations: 87.83 kB / 0.6368 GB, free: 204 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1667, allocations: 3.938 kB / 0.6368 GB, free: 200 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1667, allocations: 0 / 0.6368 GB, free: 200 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1667, allocations: 0 / 0.6368 GB, free: 200 kB / 478.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.0004332/0.1672, allocations: 343.5 kB / 0.6371 GB, free: 15.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1672, allocations: 12.03 kB / 0.6371 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.1675, allocations: 20.83 kB / 0.6372 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1676, allocations: 164.4 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1676, allocations: 4.375 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1676, allocations: 4.375 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1678, allocations: 76.31 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1678, allocations: 0 / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1678, allocations: 4 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1678, allocations: 4 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.1679, allocations: 15.92 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.1685, allocations: 466.8 kB / 0.6379 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1686, allocations: 71.75 kB / 0.6379 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.1686, allocations: 26.7 kB / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1687, allocations: 3.984 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1687, allocations: 34.5 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.846e-06/0.1687, allocations: 4 kB / 0.638 GB, free: 14.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006049/0.1693, allocations: 306.2 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.1694, allocations: 106.8 kB / 0.6384 GB, free: 14.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.1695, allocations: 101.8 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1695, allocations: 25.7 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1695, allocations: 88.3 kB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.1696, allocations: 27.56 kB / 0.6386 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1696, allocations: 29.7 kB / 0.6387 GB, free: 13.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1697, allocations: 322.8 kB / 0.639 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.1698, allocations: 15.92 kB / 0.639 GB, free: 13.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.1698, allocations: 53.14 kB / 0.639 GB, free: 13.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.1699, allocations: 73.03 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1699, allocations: 0 / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.1701, allocations: 89.55 kB / 0.6392 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1701, allocations: 8 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1701, allocations: 4.125 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1701, allocations: 4 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.1702, allocations: 23.98 kB / 0.6392 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1702, allocations: 3.984 kB / 0.6392 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.1703, allocations: 7.906 kB / 0.6392 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1703, allocations: 4 kB / 0.6392 GB, free: 13.34 MB / 494.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 7.905e-05/0.1704, allocations: 121.7 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.1704, allocations: 4 kB / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1705, allocations: 15.55 kB / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1705, allocations: 0 / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1705, allocations: 4.609 kB / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1705, allocations: 64 / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.1708, allocations: 185.6 kB / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1709, allocations: 0 / 0.6396 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.409e-05/0.1709, allocations: 16 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.171, allocations: 0 / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.171, allocations: 3.984 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.171, allocations: 4 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.171, allocations: 3.938 kB / 0.6396 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1712, allocations: 333.9 kB / 0.6399 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.1713, allocations: 81.14 kB / 0.64 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1713, allocations: 4 kB / 0.64 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1715, allocations: 0 / 0.64 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1715, allocations: 11.98 kB / 0.64 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.1715, allocations: 11.94 kB / 0.64 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.1716, allocations: 79.22 kB / 0.6401 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1716, allocations: 3.938 kB / 0.6401 GB, free: 12.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1719, allocations: 19.94 kB / 0.6401 GB, free: 12.35 MB / 494.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.0001401/0.172, allocations: 103.2 kB / 0.6402 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1721, allocations: 44.11 kB / 0.6402 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1722, allocations: 4.062 kB / 0.6402 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.1722, allocations: 19.94 kB / 0.6403 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1726, allocations: 8 kB / 0.6403 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.1732, allocations: 369.9 kB / 0.6406 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1735, allocations: 0.6846 MB / 0.6413 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.1736, allocations: 15.44 kB / 0.6413 GB, free: 11.04 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1736, allocations: 0 / 0.6413 GB, free: 11.04 MB / 494.1 MB Notification: Performance of Templates: time 0.002151/0.1757, allocations: 0.7932 MB / 0.6421 GB, free: 10.25 MB / 494.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)