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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4578/0.4578, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 107.8 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 47.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.362, allocations: 70.07 MB / 0.5575 GB, free: 44.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002651/0.3646, allocations: 1.327 MB / 0.5588 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.3674, allocations: 2.491 MB / 0.5612 GB, free: 41.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.3675, allocations: 0 / 0.5612 GB, free: 41.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.3675, allocations: 3.938 kB / 0.5612 GB, free: 41.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.3676, allocations: 7.984 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.3681, allocations: 115.5 kB / 0.5613 GB, free: 41.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.3681, allocations: 31.86 kB / 0.5614 GB, free: 41.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.3682, allocations: 4 kB / 0.5614 GB, free: 41.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.3682, allocations: 23.91 kB / 0.5614 GB, free: 41.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.3683, allocations: 19.92 kB / 0.5614 GB, free: 41.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3683, allocations: 0 / 0.5614 GB, free: 41.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.3686, allocations: 111.7 kB / 0.5615 GB, free: 41.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3686, allocations: 7.984 kB / 0.5615 GB, free: 41.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.3686, allocations: 19.92 kB / 0.5616 GB, free: 41.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.3688, allocations: 77.95 kB / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3688, allocations: 4 kB / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3688, allocations: 0 / 0.5616 GB, free: 40.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3688, allocations: 4 kB / 0.5616 GB, free: 40.93 MB / 410.7 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.0003078/0.3691, allocations: 357.7 kB / 0.562 GB, free: 40.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3692, allocations: 8.031 kB / 0.562 GB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.3694, allocations: 20.92 kB / 0.562 GB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.3694, allocations: 164.3 kB / 0.5622 GB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3695, allocations: 384 / 0.5622 GB, free: 40.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3695, allocations: 16.36 kB / 0.5622 GB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3696, allocations: 68.38 kB / 0.5622 GB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3697, allocations: 4 kB / 0.5622 GB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3697, allocations: 4 kB / 0.5622 GB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3697, allocations: 0 / 0.5622 GB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.958e-05/0.3697, allocations: 11.94 kB / 0.5623 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.3702, allocations: 474.8 kB / 0.5627 GB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3703, allocations: 67.66 kB / 0.5628 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.3703, allocations: 34.78 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3704, allocations: 7.938 kB / 0.5628 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.3704, allocations: 34.56 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3704, allocations: 0 / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005224/0.3709, allocations: 302.3 kB / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.371, allocations: 110.8 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.808e-05/0.371, allocations: 101.8 kB / 0.5633 GB, free: 38.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.371, allocations: 29.64 kB / 0.5634 GB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.3711, allocations: 88.03 kB / 0.5635 GB, free: 38.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.3711, allocations: 27.64 kB / 0.5635 GB, free: 38.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3711, allocations: 29.7 kB / 0.5635 GB, free: 38.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.3712, allocations: 314.8 kB / 0.5638 GB, free: 38.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.3712, allocations: 16 kB / 0.5638 GB, free: 38.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.3712, allocations: 57.08 kB / 0.5639 GB, free: 38.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.3713, allocations: 77.59 kB / 0.564 GB, free: 38.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3713, allocations: 0 / 0.564 GB, free: 38.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001031/0.3714, allocations: 97.48 kB / 0.564 GB, free: 38.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3714, allocations: 8 kB / 0.5641 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3715, allocations: 0 / 0.5641 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3715, allocations: 0 / 0.5641 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3715, allocations: 31.92 kB / 0.5641 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3716, allocations: 0 / 0.5641 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.3716, allocations: 8.125 kB / 0.5641 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3716, allocations: 4 kB / 0.5641 GB, free: 38.05 MB / 410.7 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 4.681e-05/0.3717, allocations: 113.8 kB / 0.5642 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3717, allocations: 4 kB / 0.5642 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3717, allocations: 11.56 kB / 0.5642 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3718, allocations: 0 / 0.5642 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3718, allocations: 0 / 0.5642 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3718, allocations: 3.984 kB / 0.5642 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.372, allocations: 181.6 kB / 0.5644 GB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3721, allocations: 4 kB / 0.5644 GB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.3721, allocations: 15.94 kB / 0.5644 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3721, allocations: 4 kB / 0.5644 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3722, allocations: 0 / 0.5644 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3722, allocations: 0 / 0.5644 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3722, allocations: 3.938 kB / 0.5644 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.3728, allocations: 1.233 MB / 0.5656 GB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.3729, allocations: 85.09 kB / 0.5657 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.3729, allocations: 0 / 0.5657 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.373, allocations: 11.94 kB / 0.5657 GB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.3731, allocations: 11.98 kB / 0.5657 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3731, allocations: 0 / 0.5657 GB, free: 36.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.22e-05/0.3731, allocations: 79.47 kB / 0.5658 GB, free: 36.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3731, allocations: 0 / 0.5658 GB, free: 36.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.3735, allocations: 16 kB / 0.5658 GB, free: 36.07 MB / 410.7 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.000126/0.3736, allocations: 119.2 kB / 0.5659 GB, free: 35.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.3737, allocations: 44 kB / 0.566 GB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3737, allocations: 0 / 0.566 GB, free: 35.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.3737, allocations: 19.94 kB / 0.566 GB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3742, allocations: 19.97 kB / 0.566 GB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.3747, allocations: 456.8 kB / 0.5665 GB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3748, allocations: 0.6853 MB / 0.5671 GB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.3749, allocations: 11.84 kB / 0.5671 GB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3749, allocations: 15.44 kB / 0.5671 GB, free: 34.63 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3749, allocations: 3.938 kB / 0.5672 GB, free: 34.62 MB / 410.7 MB Notification: Performance of Templates: time 0.002288/0.3772, allocations: 0.6531 MB / 0.5678 GB, free: 33.98 MB / 410.7 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)