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.001184/0.001184, allocations: 107.3 kB / 17.04 MB, free: 6.082 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.001232/0.001232, allocations: 195 kB / 17.98 MB, free: 5.16 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.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.685/0.685, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3365, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01353/0.3501, allocations: 12.96 MB / 0.5702 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.3523, allocations: 2.672 MB / 0.5728 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.471e-05/0.3524, allocations: 1.188 kB / 0.5728 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3527, allocations: 50.17 kB / 0.5729 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.3529, allocations: 93.52 kB / 0.573 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.354, allocations: 0.5056 MB / 0.5735 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.3542, allocations: 233.3 kB / 0.5737 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.3543, allocations: 16.34 kB / 0.5737 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009956/0.3643, allocations: 3.577 MB / 0.5772 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.3645, allocations: 97.06 kB / 0.5773 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3645, allocations: 8.125 kB / 0.5773 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.3672, allocations: 1.06 MB / 0.5783 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.3672, allocations: 43.16 kB / 0.5784 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3673, allocations: 89.97 kB / 0.5785 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.3681, allocations: 360 kB / 0.5788 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3681, allocations: 0 / 0.5788 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3681, allocations: 0 / 0.5788 GB, free: 23.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3681, allocations: 2.047 kB / 0.5788 GB, free: 23.36 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.0006003/0.3687, allocations: 0.499 MB / 0.5793 GB, free: 22.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3688, allocations: 9.625 kB / 0.5793 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.3689, allocations: 22.95 kB / 0.5793 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3692, allocations: 220 kB / 0.5795 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3692, allocations: 15.58 kB / 0.5795 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3692, allocations: 14 kB / 0.5796 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.3696, allocations: 246 kB / 0.5798 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3696, allocations: 4.875 kB / 0.5798 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3696, allocations: 10.91 kB / 0.5798 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.3696, allocations: 10.39 kB / 0.5798 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.3701, allocations: 428.8 kB / 0.5802 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.3711, allocations: 0.9678 MB / 0.5812 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3714, allocations: 158.4 kB / 0.5813 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3715, allocations: 62.69 kB / 0.5814 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.3727, allocations: 1.835 MB / 0.5832 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3727, allocations: 41.7 kB / 0.5832 GB, free: 19.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3727, allocations: 0 / 0.5832 GB, free: 19.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003247/0.373, allocations: 148.4 kB / 0.5834 GB, free: 19.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3731, allocations: 57.28 kB / 0.5834 GB, free: 19.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3732, allocations: 168.1 kB / 0.5836 GB, free: 19.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3732, allocations: 27.52 kB / 0.5836 GB, free: 19.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3733, allocations: 142.1 kB / 0.5837 GB, free: 18.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3733, allocations: 54.77 kB / 0.5838 GB, free: 18.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.3734, allocations: 57.53 kB / 0.5838 GB, free: 18.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.3735, allocations: 322.3 kB / 0.5841 GB, free: 18.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.3736, allocations: 42.67 kB / 0.5842 GB, free: 18.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3737, allocations: 144.4 kB / 0.5843 GB, free: 18.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3739, allocations: 195.1 kB / 0.5845 GB, free: 18.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3739, allocations: 1.469 kB / 0.5845 GB, free: 18.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003062/0.3742, allocations: 210.5 kB / 0.5847 GB, free: 18.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3742, allocations: 11.62 kB / 0.5847 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3742, allocations: 4.453 kB / 0.5847 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3743, allocations: 7.094 kB / 0.5847 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3744, allocations: 60.56 kB / 0.5848 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3744, allocations: 6.594 kB / 0.5848 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.3745, allocations: 23.98 kB / 0.5848 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3746, allocations: 15.69 kB / 0.5848 GB, free: 18.12 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.644e-05/0.3746, allocations: 136 kB / 0.585 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.3747, allocations: 20.31 kB / 0.585 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.375, allocations: 159.9 kB / 0.5851 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.375, allocations: 6.344 kB / 0.5851 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.375, allocations: 1.594 kB / 0.5851 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.375, allocations: 0.75 kB / 0.5851 GB, free: 17.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3752, allocations: 215.7 kB / 0.5854 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3752, allocations: 0.5625 kB / 0.5854 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.3753, allocations: 26.08 kB / 0.5854 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3753, allocations: 1.781 kB / 0.5854 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.3753, allocations: 7.234 kB / 0.5854 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3753, allocations: 7.938 kB / 0.5854 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3754, allocations: 5.656 kB / 0.5854 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3756, allocations: 216.4 kB / 0.5856 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.3756, allocations: 112.6 kB / 0.5857 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3757, allocations: 1.344 kB / 0.5857 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3759, allocations: 19.23 kB / 0.5857 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.3759, allocations: 8.625 kB / 0.5857 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.3759, allocations: 17.48 kB / 0.5858 GB, free: 17.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.376, allocations: 122.1 kB / 0.5859 GB, free: 17.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.376, allocations: 3.938 kB / 0.5859 GB, free: 17.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.3764, allocations: 71.61 kB / 0.5859 GB, free: 17.28 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.0002748/0.3766, allocations: 185 kB / 0.5861 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3769, allocations: 117.2 kB / 0.5862 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3769, allocations: 0 / 0.5862 GB, free: 17.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.377, allocations: 45.89 kB / 0.5863 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3774, allocations: 62.12 kB / 0.5863 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.378, allocations: 339.3 kB / 0.5867 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3782, allocations: 0.7142 MB / 0.5874 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.3783, allocations: 52.58 kB / 0.5874 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.3784, allocations: 26.5 kB / 0.5874 GB, free: 16.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3784, allocations: 0 / 0.5874 GB, free: 16.15 MB / 446.1 MB Notification: Performance of Templates: time 0.006329/0.3847, allocations: 3.624 MB / 0.591 GB, free: 14.55 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)