Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001019/0.001019, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9554/0.9554, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 11.94 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 82.29 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001694/0.1642, allocations: 0.986 MB / 0.5896 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.1681, allocations: 2.478 MB / 0.592 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.1682, allocations: 4 kB / 0.592 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.1683, allocations: 0 / 0.592 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.1684, allocations: 7.938 kB / 0.592 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.1692, allocations: 115.5 kB / 0.5921 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.1693, allocations: 27.92 kB / 0.5921 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.1694, allocations: 7.984 kB / 0.5921 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.1695, allocations: 23.86 kB / 0.5922 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.1696, allocations: 11.98 kB / 0.5922 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1696, allocations: 0 / 0.5922 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.17, allocations: 123.8 kB / 0.5923 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.17, allocations: 3.938 kB / 0.5923 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.1701, allocations: 49.61 kB / 0.5923 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1703, allocations: 52.16 kB / 0.5924 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1703, allocations: 0 / 0.5924 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.617e-06/0.1703, allocations: 0 / 0.5924 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1703, allocations: 0 / 0.5924 GB, free: 14.7 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.0006178/0.171, allocations: 343.5 kB / 0.5927 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.171, allocations: 12.03 kB / 0.5927 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.1714, allocations: 16.92 kB / 0.5928 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1715, allocations: 168.3 kB / 0.5929 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1716, allocations: 384 / 0.5929 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.1716, allocations: 8.375 kB / 0.5929 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1718, allocations: 76.36 kB / 0.593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1719, allocations: 4 kB / 0.593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1719, allocations: 0 / 0.593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1719, allocations: 4 kB / 0.593 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.172, allocations: 15.92 kB / 0.593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.1728, allocations: 466.8 kB / 0.5935 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1731, allocations: 71.88 kB / 0.5935 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.1732, allocations: 30.52 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1732, allocations: 0 / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1732, allocations: 34.55 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1732, allocations: 4 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0008647/0.1741, allocations: 302.2 kB / 0.5939 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1742, allocations: 106.8 kB / 0.594 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.1743, allocations: 105.8 kB / 0.5941 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1744, allocations: 25.7 kB / 0.5941 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.1745, allocations: 88.3 kB / 0.5942 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1745, allocations: 27.56 kB / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1745, allocations: 21.7 kB / 0.5942 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1747, allocations: 322.8 kB / 0.5946 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.1748, allocations: 19.92 kB / 0.5946 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1749, allocations: 51 kB / 0.5946 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.175, allocations: 69.09 kB / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.175, allocations: 0 / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001564/0.1751, allocations: 93.55 kB / 0.5948 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.1752, allocations: 8 kB / 0.5948 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1752, allocations: 8.109 kB / 0.5948 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1752, allocations: 4.062 kB / 0.5948 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.1753, allocations: 27.92 kB / 0.5948 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1753, allocations: 0 / 0.5948 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.1754, allocations: 7.906 kB / 0.5948 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1754, allocations: 4 kB / 0.5948 GB, free: 11.85 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 0.0001137/0.1755, allocations: 117.8 kB / 0.5949 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.1756, allocations: 4 kB / 0.5949 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.1756, allocations: 19.55 kB / 0.595 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1756, allocations: 0 / 0.595 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1757, allocations: 0 / 0.595 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1757, allocations: 8.547 kB / 0.595 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.176, allocations: 177.6 kB / 0.5951 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1761, allocations: 0 / 0.5951 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.1761, allocations: 15.94 kB / 0.5952 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1762, allocations: 4 kB / 0.5952 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1762, allocations: 0 / 0.5952 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1762, allocations: 7.922 kB / 0.5952 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1762, allocations: 4 kB / 0.5952 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1765, allocations: 329.9 kB / 0.5955 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.1766, allocations: 89.22 kB / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1766, allocations: 4 kB / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1768, allocations: 4 kB / 0.5956 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.1768, allocations: 7.984 kB / 0.5956 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1768, allocations: 11.94 kB / 0.5956 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.1768, allocations: 75.28 kB / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1769, allocations: 0 / 0.5957 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003331/0.1772, allocations: 16 kB / 0.5957 GB, free: 10.88 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.000172/0.1774, allocations: 103.3 kB / 0.5958 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1775, allocations: 44.09 kB / 0.5958 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1775, allocations: 8 kB / 0.5958 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.1776, allocations: 16 kB / 0.5959 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.178, allocations: 14.48 kB / 0.5959 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.1788, allocations: 434.2 kB / 0.5963 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1791, allocations: 0.6888 MB / 0.597 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1791, allocations: 11.44 kB / 0.597 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1791, allocations: 0 / 0.597 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of Templates: time 0.002895/0.182, allocations: 0.7766 MB / 0.5977 GB, free: 8.727 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)