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.001388/0.001388, allocations: 118.5 kB / 17.09 MB, free: 6 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.001358/0.001358, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 65.59 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1452, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002294/0.1476, allocations: 1.254 MB / 0.6339 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.1506, allocations: 2.499 MB / 0.6364 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1506, allocations: 0 / 0.6364 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.1507, allocations: 0 / 0.6364 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.1508, allocations: 3.938 kB / 0.6364 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.1513, allocations: 131.4 kB / 0.6365 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.1514, allocations: 35.86 kB / 0.6365 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1515, allocations: 3.938 kB / 0.6365 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.1516, allocations: 23.91 kB / 0.6366 GB, free: 488 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1516, allocations: 11.98 kB / 0.6366 GB, free: 476 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1516, allocations: 4 kB / 0.6366 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.1519, allocations: 115.8 kB / 0.6367 GB, free: 356 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.152, allocations: 15.94 kB / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.152, allocations: 15.92 kB / 0.6367 GB, free: 324 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1522, allocations: 87.77 kB / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1522, allocations: 0 / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1523, allocations: 3.938 kB / 0.6368 GB, free: 232 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1523, allocations: 0 / 0.6368 GB, free: 232 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.0004582/0.1527, allocations: 347.5 kB / 0.6371 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1528, allocations: 8.031 kB / 0.6371 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.153, allocations: 20.83 kB / 0.6372 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1531, allocations: 160.4 kB / 0.6373 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1531, allocations: 8.375 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1531, allocations: 4.375 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1533, allocations: 76.31 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1533, allocations: 3.984 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1533, allocations: 0 / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1534, allocations: 4 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.1534, allocations: 11.98 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.154, allocations: 470.8 kB / 0.6379 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.1542, allocations: 79.81 kB / 0.6379 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.1542, allocations: 18.64 kB / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1542, allocations: 0 / 0.638 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1543, allocations: 38.56 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.335e-06/0.1543, allocations: 0 / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006225/0.1549, allocations: 302.2 kB / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.155, allocations: 106.8 kB / 0.6384 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.1551, allocations: 101.8 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1551, allocations: 29.7 kB / 0.6385 GB, free: 14.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1551, allocations: 92.03 kB / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1552, allocations: 27.56 kB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1552, allocations: 29.95 kB / 0.6387 GB, free: 14.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1553, allocations: 318.8 kB / 0.639 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.1554, allocations: 19.92 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.1554, allocations: 49.14 kB / 0.639 GB, free: 13.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.1555, allocations: 73.03 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1555, allocations: 0 / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001366/0.1557, allocations: 98.06 kB / 0.6392 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1557, allocations: 4 kB / 0.6392 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1557, allocations: 3.938 kB / 0.6392 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1557, allocations: 8.219 kB / 0.6392 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.1558, allocations: 19.98 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1558, allocations: 4 kB / 0.6392 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.1559, allocations: 7.891 kB / 0.6392 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1559, allocations: 8.062 kB / 0.6392 GB, free: 13.36 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 9.459e-05/0.156, allocations: 121.7 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.156, allocations: 8 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.1561, allocations: 11.55 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1561, allocations: 4 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1561, allocations: 4 kB / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1561, allocations: 0 / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1564, allocations: 173.6 kB / 0.6396 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1564, allocations: 0 / 0.6396 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.147e-05/0.1565, allocations: 16 kB / 0.6396 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1565, allocations: 0 / 0.6396 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1566, allocations: 11.98 kB / 0.6396 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1566, allocations: 0 / 0.6396 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1566, allocations: 0 / 0.6396 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1568, allocations: 333.9 kB / 0.6399 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.1569, allocations: 85.14 kB / 0.64 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1569, allocations: 0 / 0.64 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1571, allocations: 8 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.1571, allocations: 3.984 kB / 0.64 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1571, allocations: 7.938 kB / 0.64 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.48e-05/0.1572, allocations: 83.28 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1572, allocations: 3.938 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1575, allocations: 12 kB / 0.6401 GB, free: 12.39 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.000141/0.1576, allocations: 115.2 kB / 0.6402 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1578, allocations: 39.92 kB / 0.6402 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1578, allocations: 4.25 kB / 0.6402 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.1578, allocations: 19.94 kB / 0.6403 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1583, allocations: 9.125 kB / 0.6403 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.1589, allocations: 369.9 kB / 0.6406 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1592, allocations: 0.6885 MB / 0.6413 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.1592, allocations: 11.44 kB / 0.6413 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1592, allocations: 4 kB / 0.6413 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002198/0.1614, allocations: 0.7957 MB / 0.6421 GB, free: 10.28 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)