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.00103/0.001034, allocations: 108.3 kB / 17.04 MB, free: 5.812 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.0009673/0.0009673, allocations: 195 kB / 17.98 MB, free: 5.027 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.25/1.25, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6814/0.6814, allocations: 115.1 MB / 407 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.84 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3427, allocations: 76.14 MB / 0.5576 GB, free: 36.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002026/0.3447, allocations: 1.257 MB / 0.5588 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3471, allocations: 2.489 MB / 0.5612 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3472, allocations: 0 / 0.5612 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.3472, allocations: 5.984 kB / 0.5612 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.3473, allocations: 5.922 kB / 0.5612 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.3478, allocations: 130 kB / 0.5614 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.466e-05/0.3478, allocations: 34.77 kB / 0.5614 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.3479, allocations: 3.25 kB / 0.5614 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.3479, allocations: 22.22 kB / 0.5614 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.348, allocations: 21.52 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.348, allocations: 1.469 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.3483, allocations: 112.9 kB / 0.5616 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.3483, allocations: 11.47 kB / 0.5616 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.3484, allocations: 21.92 kB / 0.5616 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3486, allocations: 76 kB / 0.5617 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3486, allocations: 0.5 kB / 0.5617 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3486, allocations: 0 / 0.5617 GB, free: 34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3486, allocations: 1.125 kB / 0.5617 GB, free: 34 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.0003239/0.3489, allocations: 357.8 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.349, allocations: 9.469 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.3492, allocations: 18.03 kB / 0.562 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.124e-05/0.3493, allocations: 166.8 kB / 0.5622 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3493, allocations: 13.19 kB / 0.5622 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3493, allocations: 4.219 kB / 0.5622 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.3494, allocations: 74.25 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3494, allocations: 0 / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3495, allocations: 1 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3495, allocations: 1.094 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.3495, allocations: 12.86 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.35, allocations: 475 kB / 0.5627 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3501, allocations: 76.62 kB / 0.5628 GB, free: 32.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.3501, allocations: 20.89 kB / 0.5628 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3501, allocations: 7.516 kB / 0.5628 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3502, allocations: 38.08 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3502, allocations: 1.5 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005191/0.3507, allocations: 298 kB / 0.5632 GB, free: 32.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3507, allocations: 106.6 kB / 0.5633 GB, free: 32.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.54e-05/0.3508, allocations: 100.3 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.3508, allocations: 30.8 kB / 0.5634 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.3508, allocations: 90.48 kB / 0.5635 GB, free: 32.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.3509, allocations: 30.09 kB / 0.5635 GB, free: 32.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3509, allocations: 27.59 kB / 0.5635 GB, free: 32.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.351, allocations: 322.3 kB / 0.5638 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.351, allocations: 14.42 kB / 0.5639 GB, free: 31.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.351, allocations: 57.67 kB / 0.5639 GB, free: 31.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.3511, allocations: 70.06 kB / 0.564 GB, free: 31.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3511, allocations: 3.125 kB / 0.564 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001206/0.3512, allocations: 94.31 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3513, allocations: 6.344 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3513, allocations: 2.344 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3513, allocations: 1.781 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.3514, allocations: 24.59 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3514, allocations: 2.906 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.3514, allocations: 1.797 kB / 0.5641 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3514, allocations: 8.625 kB / 0.5641 GB, free: 31.54 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 5.395e-05/0.3515, allocations: 119.7 kB / 0.5642 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3516, allocations: 11.16 kB / 0.5642 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.3516, allocations: 11.47 kB / 0.5642 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3516, allocations: 1.219 kB / 0.5642 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3516, allocations: 1.125 kB / 0.5642 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3516, allocations: 2.297 kB / 0.5643 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.3519, allocations: 181.8 kB / 0.5644 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3519, allocations: 1.375 kB / 0.5644 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.352, allocations: 19.56 kB / 0.5644 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.352, allocations: 3.25 kB / 0.5644 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.352, allocations: 5.531 kB / 0.5645 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.352, allocations: 6.203 kB / 0.5645 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.352, allocations: 4.438 kB / 0.5645 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3522, allocations: 323.1 kB / 0.5648 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.3523, allocations: 85.77 kB / 0.5649 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3523, allocations: 7.094 kB / 0.5649 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3525, allocations: 9.344 kB / 0.5649 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3525, allocations: 4.562 kB / 0.5649 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.3525, allocations: 7.406 kB / 0.5649 GB, free: 30.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.809e-05/0.3525, allocations: 78.75 kB / 0.565 GB, free: 30.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3525, allocations: 0.5625 kB / 0.565 GB, free: 30.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.3528, allocations: 17.5 kB / 0.565 GB, free: 30.71 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 9.889e-05/0.3529, allocations: 105.1 kB / 0.5651 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3531, allocations: 45.91 kB / 0.5651 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3531, allocations: 0 / 0.5651 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.3531, allocations: 18.7 kB / 0.5651 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3535, allocations: 15.78 kB / 0.5651 GB, free: 30.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.354, allocations: 341.8 kB / 0.5655 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3542, allocations: 0.6871 MB / 0.5661 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.3542, allocations: 13.09 kB / 0.5662 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.3543, allocations: 11.47 kB / 0.5662 GB, free: 29.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3543, allocations: 0 / 0.5662 GB, free: 29.66 MB / 446.1 MB Notification: Performance of Templates: time 0.00264/0.3569, allocations: 0.6426 MB / 0.5668 GB, free: 29.59 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)