Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001665, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002025/0.002025, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.615/1.615, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.62 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01794/0.3449, allocations: 13.85 MB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3477, allocations: 2.703 MB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.3478, allocations: 4 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.3482, allocations: 35.8 kB / 1.084 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.3484, allocations: 91.42 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3495, allocations: 463.9 kB / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3498, allocations: 303.9 kB / 1.085 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.3498, allocations: 17.5 kB / 1.085 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008014/0.3578, allocations: 3.156 MB / 1.088 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.358, allocations: 91.66 kB / 1.088 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3581, allocations: 8 kB / 1.088 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.361, allocations: 0.9775 MB / 1.089 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.3611, allocations: 35.89 kB / 1.089 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3612, allocations: 83.58 kB / 1.089 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007425/0.362, allocations: 367.1 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.362, allocations: 4 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.362, allocations: 0 / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.362, allocations: 0 / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007533/0.3628, allocations: 0.4992 MB / 1.09 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3628, allocations: 12.03 kB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.363, allocations: 24.75 kB / 1.09 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3633, allocations: 220.1 kB / 1.09 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3633, allocations: 12.7 kB / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3633, allocations: 12.38 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.3637, allocations: 252.2 kB / 1.09 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3638, allocations: 0 / 1.09 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3638, allocations: 12 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.3638, allocations: 4 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.3643, allocations: 423.5 kB / 1.091 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3655, allocations: 0.9644 MB / 1.092 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.3658, allocations: 160.7 kB / 1.092 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3659, allocations: 64.88 kB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.3674, allocations: 1.825 MB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3675, allocations: 38.56 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.3675, allocations: 3.984 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003667/0.3678, allocations: 149.3 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3679, allocations: 55.34 kB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.368, allocations: 175.3 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3681, allocations: 29.7 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.3681, allocations: 139.8 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.3682, allocations: 55.25 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.3683, allocations: 57.53 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3684, allocations: 326.8 kB / 1.094 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.3685, allocations: 39.92 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3686, allocations: 138.9 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3689, allocations: 200.4 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3689, allocations: 0 / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00034/0.3692, allocations: 217.3 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3692, allocations: 8 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3693, allocations: 4 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3693, allocations: 4 kB / 1.095 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.3695, allocations: 59.84 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3695, allocations: 7.938 kB / 1.095 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3696, allocations: 27.75 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3696, allocations: 8.344 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001113/0.3698, allocations: 145.7 kB / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.3698, allocations: 15.81 kB / 1.095 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.3701, allocations: 147 kB / 1.095 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3702, allocations: 11.88 kB / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3702, allocations: 0 / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3702, allocations: 0 / 1.095 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3704, allocations: 217.5 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3704, allocations: 0 / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.3705, allocations: 27.98 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3706, allocations: 0 / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3706, allocations: 8 kB / 1.096 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3706, allocations: 3.938 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3706, allocations: 0 / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.3708, allocations: 224.8 kB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.371, allocations: 108.9 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.371, allocations: 4 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3712, allocations: 19.92 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.3712, allocations: 11.98 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.3713, allocations: 11.98 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.83e-05/0.3714, allocations: 120.9 kB / 1.096 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3714, allocations: 0 / 1.096 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003811/0.3718, allocations: 75.91 kB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004188/0.3722, allocations: 195 kB / 1.096 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3724, allocations: 118.7 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3724, allocations: 4.062 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.3725, allocations: 47.91 kB / 1.097 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.373, allocations: 49.53 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.3737, allocations: 396.4 kB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.374, allocations: 0.7092 MB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.3742, allocations: 49.73 kB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.3743, allocations: 27.44 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3743, allocations: 0 / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of Templates: time 0.007099/0.3814, allocations: 3.523 MB / 1.101 GB, free: 7.453 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)