Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005091/0.005092, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001091/0.001091, allocations: 193.8 kB / 16.67 MB, free: 5.969 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: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 282.9 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9614/0.9614, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 87.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1673, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002061/0.1694, allocations: 1.276 MB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.1721, allocations: 2.484 MB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.1722, allocations: 0 / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.1722, allocations: 7.938 kB / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.1723, allocations: 0 / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.1728, allocations: 131.3 kB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.1729, allocations: 39.89 kB / 0.7702 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.1729, allocations: 4 kB / 0.7702 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.173, allocations: 19.92 kB / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.173, allocations: 19.92 kB / 0.7702 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.173, allocations: 0 / 0.7702 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.1733, allocations: 119.7 kB / 0.7704 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1734, allocations: 3.984 kB / 0.7704 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1734, allocations: 19.92 kB / 0.7704 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1736, allocations: 83.72 kB / 0.7705 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1736, allocations: 4 kB / 0.7705 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1736, allocations: 4 kB / 0.7705 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1736, allocations: 0 / 0.7705 GB, free: 4.211 MB / 0.5606 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.0003987/0.174, allocations: 351.3 kB / 0.7708 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1741, allocations: 12.03 kB / 0.7708 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1743, allocations: 8.938 kB / 0.7708 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.658e-05/0.1744, allocations: 172.3 kB / 0.771 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1744, allocations: 384 / 0.771 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1744, allocations: 4.375 kB / 0.771 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1746, allocations: 88.31 kB / 0.7711 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1746, allocations: 3.984 kB / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1746, allocations: 0 / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1746, allocations: 0 / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.1747, allocations: 15.94 kB / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.1752, allocations: 474.9 kB / 0.7715 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1754, allocations: 67.66 kB / 0.7716 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.1754, allocations: 22.64 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1754, allocations: 8 kB / 0.7716 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1754, allocations: 42.58 kB / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1754, allocations: 0 / 0.7717 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005635/0.176, allocations: 294.2 kB / 0.772 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1761, allocations: 119 kB / 0.7721 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.1761, allocations: 97.84 kB / 0.7722 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1762, allocations: 29.7 kB / 0.7722 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.1762, allocations: 88.03 kB / 0.7723 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1762, allocations: 27.8 kB / 0.7723 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1763, allocations: 25.72 kB / 0.7723 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.1764, allocations: 322.8 kB / 0.7726 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1764, allocations: 12 kB / 0.7727 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.1765, allocations: 53.14 kB / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.1766, allocations: 81.02 kB / 0.7728 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1766, allocations: 4 kB / 0.7728 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001215/0.1767, allocations: 89.55 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1767, allocations: 8 kB / 0.7729 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1767, allocations: 0 / 0.7729 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1767, allocations: 4 kB / 0.7729 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.1768, allocations: 16 kB / 0.7729 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1768, allocations: 3.938 kB / 0.7729 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.1769, allocations: 16.5 kB / 0.7729 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1769, allocations: 8.109 kB / 0.7729 GB, free: 1.332 MB / 0.5606 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 7.628e-05/0.177, allocations: 121.8 kB / 0.773 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.177, allocations: 0 / 0.773 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.1771, allocations: 11.56 kB / 0.7731 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1771, allocations: 0 / 0.7731 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1771, allocations: 0 / 0.7731 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1771, allocations: 7.984 kB / 0.7731 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.1774, allocations: 181.6 kB / 0.7732 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1774, allocations: 0 / 0.7732 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.1775, allocations: 19.98 kB / 0.7733 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1775, allocations: 8 kB / 0.7733 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1775, allocations: 7.875 kB / 0.7733 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1775, allocations: 0 / 0.7733 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1776, allocations: 4 kB / 0.7733 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1778, allocations: 326 kB / 0.7736 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.1778, allocations: 85.11 kB / 0.7737 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1779, allocations: 8.047 kB / 0.7737 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.178, allocations: 7.922 kB / 0.7737 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.1781, allocations: 7.938 kB / 0.7737 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1781, allocations: 7.938 kB / 0.7737 GB, free: 464 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.1781, allocations: 83.27 kB / 0.7738 GB, free: 380 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 0.7738 GB, free: 380 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000305/0.1784, allocations: 12 kB / 0.7738 GB, free: 368 kB / 0.5606 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.0001228/0.1785, allocations: 111.2 kB / 0.7739 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.1787, allocations: 43.92 kB / 0.7739 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1787, allocations: 0 / 0.7739 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.1787, allocations: 23.92 kB / 0.774 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1791, allocations: 9.219 kB / 0.774 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3002/0.4794, allocations: 329.9 kB / 0.7743 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.4795, allocations: 0.6878 MB / 0.7749 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.4796, allocations: 9 kB / 0.775 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4796, allocations: 11.81 kB / 0.775 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/0.4796, allocations: 0 / 0.775 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.002849/0.4825, allocations: 0.6446 MB / 0.7756 GB, free: 14.3 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)