Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001096/0.001096, allocations: 113.7 kB / 17.04 MB, free: 5.812 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.001059/0.001059, allocations: 196 kB / 17.98 MB, free: 5.027 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.11 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3292, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01402/0.3433, allocations: 12.95 MB / 0.5702 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.3459, allocations: 2.676 MB / 0.5728 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.346, allocations: 1.219 kB / 0.5728 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3464, allocations: 44.97 kB / 0.5729 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.3467, allocations: 96.36 kB / 0.573 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.348, allocations: 0.4995 MB / 0.5735 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3482, allocations: 232.8 kB / 0.5737 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3483, allocations: 12.31 kB / 0.5737 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009989/0.3583, allocations: 3.59 MB / 0.5772 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3585, allocations: 87.33 kB / 0.5773 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3585, allocations: 12.25 kB / 0.5773 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.3612, allocations: 1.063 MB / 0.5783 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.3613, allocations: 42.34 kB / 0.5784 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.3614, allocations: 81.88 kB / 0.5784 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.362, allocations: 363.6 kB / 0.5788 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3621, allocations: 6.188 kB / 0.5788 GB, free: 23.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3621, allocations: 0 / 0.5788 GB, free: 23.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3621, allocations: 0 / 0.5788 GB, free: 23.51 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.000605/0.3627, allocations: 0.4961 MB / 0.5793 GB, free: 23.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3627, allocations: 9.312 kB / 0.5793 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.3629, allocations: 27.14 kB / 0.5793 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3631, allocations: 218.7 kB / 0.5795 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3632, allocations: 12.41 kB / 0.5795 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.3632, allocations: 18.12 kB / 0.5796 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.3636, allocations: 246.5 kB / 0.5798 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3636, allocations: 0 / 0.5798 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3636, allocations: 8.281 kB / 0.5798 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.3636, allocations: 13.92 kB / 0.5798 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.3642, allocations: 429.5 kB / 0.5802 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.3651, allocations: 0.9708 MB / 0.5812 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.3653, allocations: 156.9 kB / 0.5813 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.3654, allocations: 69.08 kB / 0.5814 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008947/0.3663, allocations: 1.837 MB / 0.5832 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3664, allocations: 32.11 kB / 0.5832 GB, free: 19.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3664, allocations: 5.25 kB / 0.5832 GB, free: 19.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003036/0.3667, allocations: 137.4 kB / 0.5833 GB, free: 19.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.3667, allocations: 59.03 kB / 0.5834 GB, free: 19.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3668, allocations: 166.6 kB / 0.5836 GB, free: 19.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3668, allocations: 31.73 kB / 0.5836 GB, free: 19.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.3669, allocations: 141.9 kB / 0.5837 GB, free: 19.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3669, allocations: 54.36 kB / 0.5838 GB, free: 19.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.367, allocations: 56.91 kB / 0.5838 GB, free: 19.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.3671, allocations: 331.2 kB / 0.5842 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.3671, allocations: 38.59 kB / 0.5842 GB, free: 18.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3673, allocations: 139.5 kB / 0.5843 GB, free: 18.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3674, allocations: 201.4 kB / 0.5845 GB, free: 18.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3675, allocations: 0 / 0.5845 GB, free: 18.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003018/0.3678, allocations: 208.8 kB / 0.5847 GB, free: 18.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3678, allocations: 6.625 kB / 0.5847 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3678, allocations: 5.719 kB / 0.5847 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3678, allocations: 8.312 kB / 0.5847 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.368, allocations: 55.83 kB / 0.5848 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.368, allocations: 4.75 kB / 0.5848 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3681, allocations: 28.75 kB / 0.5848 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3681, allocations: 15.22 kB / 0.5848 GB, free: 18.27 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.54e-05/0.3682, allocations: 136.1 kB / 0.585 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.3683, allocations: 16.88 kB / 0.585 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3686, allocations: 154.2 kB / 0.5851 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3686, allocations: 10.94 kB / 0.5851 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3686, allocations: 0.75 kB / 0.5851 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3686, allocations: 0.7031 kB / 0.5851 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3688, allocations: 224.7 kB / 0.5853 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3688, allocations: 0 / 0.5853 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.3689, allocations: 29.64 kB / 0.5854 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3689, allocations: 2.438 kB / 0.5854 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3689, allocations: 2.375 kB / 0.5854 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.369, allocations: 7.875 kB / 0.5854 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.369, allocations: 1.781 kB / 0.5854 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3692, allocations: 217.3 kB / 0.5856 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.3693, allocations: 109.1 kB / 0.5857 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3693, allocations: 5.5 kB / 0.5857 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3695, allocations: 19.42 kB / 0.5857 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.3695, allocations: 12.84 kB / 0.5857 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3695, allocations: 12.92 kB / 0.5858 GB, free: 17.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.3696, allocations: 122.5 kB / 0.5859 GB, free: 17.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3696, allocations: 4 kB / 0.5859 GB, free: 17.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.37, allocations: 75.2 kB / 0.5859 GB, free: 17.42 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.0002623/0.3703, allocations: 187.5 kB / 0.5861 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3705, allocations: 121.4 kB / 0.5862 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3705, allocations: 0 / 0.5862 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.3706, allocations: 45.03 kB / 0.5863 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.371, allocations: 57.55 kB / 0.5863 GB, free: 17.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.3716, allocations: 334.9 kB / 0.5867 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3718, allocations: 0.7191 MB / 0.5874 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.3719, allocations: 52.23 kB / 0.5874 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.372, allocations: 25.48 kB / 0.5874 GB, free: 16.31 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.372, allocations: 0 / 0.5874 GB, free: 16.31 MB / 446.1 MB Notification: Performance of Templates: time 0.007465/0.3795, allocations: 3.63 MB / 0.591 GB, free: 14.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)