Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001418/0.001418, allocations: 106.1 kB / 16.41 MB, free: 6.008 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.001441/0.001441, allocations: 185.7 kB / 17.34 MB, free: 5.629 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8391/0.8391, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.17 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 80.22 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002457/0.1582, allocations: 1.268 MB / 0.6615 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.1615, allocations: 2.503 MB / 0.664 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1616, allocations: 0 / 0.664 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.1617, allocations: 3.938 kB / 0.664 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.1617, allocations: 7.938 kB / 0.664 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.1624, allocations: 127.4 kB / 0.6641 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.1625, allocations: 31.92 kB / 0.6642 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1626, allocations: 7.984 kB / 0.6642 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1626, allocations: 15.92 kB / 0.6642 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.1627, allocations: 15.92 kB / 0.6642 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.1627, allocations: 7.938 kB / 0.6642 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1631, allocations: 115.8 kB / 0.6643 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1631, allocations: 8 kB / 0.6643 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1632, allocations: 19.91 kB / 0.6643 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1635, allocations: 87.78 kB / 0.6644 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1635, allocations: 0 / 0.6644 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1635, allocations: 0 / 0.6644 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1635, allocations: 0 / 0.6644 GB, free: 6.172 MB / 0.4981 GB 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.0005413/0.164, allocations: 351.5 kB / 0.6648 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1641, allocations: 8.031 kB / 0.6648 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.1644, allocations: 20.83 kB / 0.6648 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1645, allocations: 164.3 kB / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1645, allocations: 384 / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.1646, allocations: 12.38 kB / 0.665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1647, allocations: 72.38 kB / 0.665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1648, allocations: 0 / 0.665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1648, allocations: 4 kB / 0.665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1648, allocations: 0 / 0.665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.1649, allocations: 15.92 kB / 0.665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.1656, allocations: 462.9 kB / 0.6655 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1657, allocations: 71.66 kB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.1658, allocations: 26.7 kB / 0.6656 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1658, allocations: 3.938 kB / 0.6656 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1658, allocations: 34.56 kB / 0.6656 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/0.1658, allocations: 3.984 kB / 0.6656 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006882/0.1665, allocations: 310.4 kB / 0.6659 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.1666, allocations: 106.8 kB / 0.666 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1667, allocations: 105.8 kB / 0.6661 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1667, allocations: 29.64 kB / 0.6661 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.1668, allocations: 88.03 kB / 0.6662 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1668, allocations: 31.55 kB / 0.6663 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.1669, allocations: 25.72 kB / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.167, allocations: 318.8 kB / 0.6666 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.167, allocations: 16.02 kB / 0.6666 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.1671, allocations: 57.08 kB / 0.6667 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.1672, allocations: 73.09 kB / 0.6667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1672, allocations: 0 / 0.6667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001458/0.1673, allocations: 93.55 kB / 0.6668 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1674, allocations: 9.719 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1674, allocations: 64 / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1674, allocations: 4 kB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.1675, allocations: 27.92 kB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1675, allocations: 0 / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1676, allocations: 8.125 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1676, allocations: 4 kB / 0.6669 GB, free: 3.305 MB / 0.4981 GB 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.3e-05/0.1677, allocations: 118.7 kB / 0.667 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.1677, allocations: 7.891 kB / 0.667 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.1678, allocations: 11.56 kB / 0.667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1678, allocations: 0 / 0.667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1678, allocations: 0 / 0.667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1678, allocations: 4.609 kB / 0.667 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.1681, allocations: 177.6 kB / 0.6672 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1682, allocations: 4 kB / 0.6672 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.1682, allocations: 19.92 kB / 0.6672 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1683, allocations: 4 kB / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.1683, allocations: 0 / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1683, allocations: 0 / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1683, allocations: 7.938 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1685, allocations: 326 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.1686, allocations: 93.12 kB / 0.6676 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1686, allocations: 0 / 0.6676 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1688, allocations: 7.938 kB / 0.6676 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.1688, allocations: 11.98 kB / 0.6676 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1688, allocations: 3.938 kB / 0.6676 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.1689, allocations: 79.28 kB / 0.6677 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1689, allocations: 0 / 0.6677 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000307/0.1692, allocations: 16 kB / 0.6677 GB, free: 2.328 MB / 0.4981 GB 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.0001381/0.1693, allocations: 111.2 kB / 0.6678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1695, allocations: 43.92 kB / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1695, allocations: 0 / 0.6679 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.1695, allocations: 19.94 kB / 0.6679 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.17, allocations: 12.36 kB / 0.6679 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.1706, allocations: 365.8 kB / 0.6682 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1709, allocations: 0.6845 MB / 0.6689 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1709, allocations: 11.44 kB / 0.6689 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1709, allocations: 0 / 0.6689 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.002325/0.1733, allocations: 0.7947 MB / 0.6697 GB, free: 236 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)