Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 112.4 kB / 17.04 MB, free: 5.809 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.001635/0.001634, allocations: 195 kB / 17.98 MB, free: 5.031 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.691/0.691, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 72.09 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3545, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005065/0.3596, allocations: 4.712 MB / 0.5622 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3619, allocations: 2.69 MB / 0.5648 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.362, allocations: 1 kB / 0.5648 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3622, allocations: 55.95 kB / 0.5648 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.3625, allocations: 93.39 kB / 0.5649 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.3635, allocations: 0.5007 MB / 0.5654 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.3638, allocations: 233 kB / 0.5656 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.3638, allocations: 12.38 kB / 0.5656 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.364, allocations: 119 kB / 0.5658 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3641, allocations: 90.64 kB / 0.5658 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3642, allocations: 8.594 kB / 0.5659 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.3648, allocations: 366 kB / 0.5662 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.3649, allocations: 35.81 kB / 0.5662 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.365, allocations: 78.98 kB / 0.5663 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005376/0.3655, allocations: 368.9 kB / 0.5667 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3655, allocations: 0.6562 kB / 0.5667 GB, free: 30.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3655, allocations: 1.156 kB / 0.5667 GB, free: 30.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3656, allocations: 0 / 0.5667 GB, free: 30.52 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005972/0.3662, allocations: 0.499 MB / 0.5672 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3662, allocations: 10.38 kB / 0.5672 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.3664, allocations: 23.22 kB / 0.5672 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.3666, allocations: 210.7 kB / 0.5674 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3666, allocations: 16.11 kB / 0.5674 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3666, allocations: 17.69 kB / 0.5674 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.367, allocations: 248.1 kB / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.367, allocations: 0.75 kB / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.367, allocations: 12.44 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.3671, allocations: 7.125 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3676, allocations: 433.3 kB / 0.5681 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.3685, allocations: 0.9493 MB / 0.569 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3687, allocations: 164.8 kB / 0.5692 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.3688, allocations: 64.94 kB / 0.5692 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/0.3698, allocations: 1.824 MB / 0.571 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3698, allocations: 41.47 kB / 0.5711 GB, free: 26.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3698, allocations: 1.25 kB / 0.5711 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003106/0.3701, allocations: 140.5 kB / 0.5712 GB, free: 26.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3702, allocations: 58.5 kB / 0.5712 GB, free: 26.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3703, allocations: 171.6 kB / 0.5714 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3703, allocations: 27.95 kB / 0.5714 GB, free: 26.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.3704, allocations: 146.6 kB / 0.5716 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3704, allocations: 51.7 kB / 0.5716 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.3705, allocations: 50.64 kB / 0.5717 GB, free: 26.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.3705, allocations: 322.8 kB / 0.572 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.3706, allocations: 35.83 kB / 0.572 GB, free: 25.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.3707, allocations: 146.1 kB / 0.5722 GB, free: 25.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3709, allocations: 193.6 kB / 0.5723 GB, free: 25.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3709, allocations: 4.5 kB / 0.5723 GB, free: 25.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003/0.3712, allocations: 222.2 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3712, allocations: 9.125 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.3713, allocations: 3.625 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3713, allocations: 5.625 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3715, allocations: 59.92 kB / 0.5726 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3715, allocations: 9.359 kB / 0.5726 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3716, allocations: 25.06 kB / 0.5727 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3716, allocations: 12.08 kB / 0.5727 GB, free: 25.33 MB / 446.1 MB 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 7.612e-05/0.3717, allocations: 141.5 kB / 0.5728 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3717, allocations: 16.28 kB / 0.5728 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.372, allocations: 150.5 kB / 0.573 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.372, allocations: 8.281 kB / 0.573 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.372, allocations: 0.6094 kB / 0.573 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.372, allocations: 0.7031 kB / 0.573 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3722, allocations: 215.9 kB / 0.5732 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3722, allocations: 3.141 kB / 0.5732 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.3723, allocations: 26.33 kB / 0.5732 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3724, allocations: 0 / 0.5732 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3724, allocations: 7.172 kB / 0.5732 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3724, allocations: 9.312 kB / 0.5732 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3724, allocations: 6.031 kB / 0.5732 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3726, allocations: 217.5 kB / 0.5734 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.3727, allocations: 116.2 kB / 0.5736 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3727, allocations: 1.188 kB / 0.5736 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3729, allocations: 25.64 kB / 0.5736 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.3729, allocations: 9.391 kB / 0.5736 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.373, allocations: 13.34 kB / 0.5736 GB, free: 24.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.373, allocations: 117.3 kB / 0.5737 GB, free: 24.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 1.531 kB / 0.5737 GB, free: 24.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3734, allocations: 79.17 kB / 0.5738 GB, free: 24.48 MB / 446.1 MB 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.000258/0.3737, allocations: 181.9 kB / 0.574 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.3739, allocations: 118.5 kB / 0.5741 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3739, allocations: 1.781 kB / 0.5741 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/0.374, allocations: 41.47 kB / 0.5741 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3744, allocations: 50.27 kB / 0.5742 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.375, allocations: 346.2 kB / 0.5745 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.3752, allocations: 0.7158 MB / 0.5752 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.3753, allocations: 51.08 kB / 0.5752 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.3754, allocations: 25.06 kB / 0.5753 GB, free: 23.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3754, allocations: 0 / 0.5753 GB, free: 23.37 MB / 446.1 MB Notification: Performance of Templates: time 0.006873/0.3823, allocations: 3.421 MB / 0.5786 GB, free: 23.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)