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.0008137/0.0008139, allocations: 93.42 kB / 16.67 MB, free: 5.742 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.001022/0.001022, allocations: 182.3 kB / 17.58 MB, free: 5.477 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7582/0.7582, allocations: 115.5 MB / 408.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3649, allocations: 77.51 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01382/0.3788, allocations: 13.36 MB / 0.5736 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.3813, allocations: 2.645 MB / 0.5762 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.3814, allocations: 1.219 kB / 0.5762 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.3817, allocations: 43.92 kB / 0.5763 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.3819, allocations: 88.52 kB / 0.5763 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3829, allocations: 457.5 kB / 0.5768 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3832, allocations: 308.5 kB / 0.5771 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3833, allocations: 8.594 kB / 0.5771 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008638/0.3919, allocations: 3.157 MB / 0.5802 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.3921, allocations: 94.8 kB / 0.5802 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3922, allocations: 6.062 kB / 0.5803 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.3949, allocations: 0.9735 MB / 0.5812 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.395, allocations: 35.22 kB / 0.5812 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3951, allocations: 108.4 kB / 0.5813 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.3956, allocations: 244.2 kB / 0.5816 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3956, allocations: 5.344 kB / 0.5816 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3956, allocations: 0 / 0.5816 GB, free: 23.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3956, allocations: 4 kB / 0.5816 GB, free: 23.01 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.000593/0.3962, allocations: 469.5 kB / 0.582 GB, free: 22.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3963, allocations: 17.72 kB / 0.582 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3964, allocations: 18.84 kB / 0.5821 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.3966, allocations: 218 kB / 0.5823 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3966, allocations: 11.95 kB / 0.5823 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3967, allocations: 15.19 kB / 0.5823 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.397, allocations: 252.8 kB / 0.5825 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.397, allocations: 2.141 kB / 0.5825 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.3971, allocations: 10.28 kB / 0.5826 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.3971, allocations: 5.953 kB / 0.5826 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.3976, allocations: 433.6 kB / 0.583 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.3986, allocations: 0.9604 MB / 0.5839 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3989, allocations: 154.1 kB / 0.5841 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.399, allocations: 73.7 kB / 0.5841 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/0.3999, allocations: 1.831 MB / 0.5859 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3999, allocations: 38.08 kB / 0.586 GB, free: 19.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3999, allocations: 0 / 0.586 GB, free: 19.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002917/0.4002, allocations: 146.6 kB / 0.5861 GB, free: 19.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.4003, allocations: 56.84 kB / 0.5861 GB, free: 18.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4004, allocations: 167.9 kB / 0.5863 GB, free: 18.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4004, allocations: 32.78 kB / 0.5863 GB, free: 18.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.4005, allocations: 137 kB / 0.5865 GB, free: 18.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.4005, allocations: 59.66 kB / 0.5865 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.4006, allocations: 31.98 kB / 0.5866 GB, free: 18.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.4006, allocations: 326.7 kB / 0.5869 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.4007, allocations: 38.55 kB / 0.5869 GB, free: 18.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.4008, allocations: 131.1 kB / 0.587 GB, free: 18.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.401, allocations: 201.6 kB / 0.5872 GB, free: 17.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.401, allocations: 1.281 kB / 0.5872 GB, free: 17.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002966/0.4013, allocations: 216.6 kB / 0.5874 GB, free: 17.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4013, allocations: 9 kB / 0.5874 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4013, allocations: 2.75 kB / 0.5874 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4014, allocations: 6.469 kB / 0.5874 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.4015, allocations: 61.75 kB / 0.5875 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4016, allocations: 10.56 kB / 0.5875 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4017, allocations: 30 kB / 0.5875 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.4017, allocations: 10.88 kB / 0.5876 GB, free: 17.8 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 8.476e-05/0.4018, allocations: 131.5 kB / 0.5877 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4018, allocations: 18.05 kB / 0.5877 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.4021, allocations: 157.2 kB / 0.5878 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4022, allocations: 11.34 kB / 0.5879 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4022, allocations: 4 kB / 0.5879 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4022, allocations: 0.8438 kB / 0.5879 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4024, allocations: 219.8 kB / 0.5881 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4024, allocations: 1.281 kB / 0.5881 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.4025, allocations: 26.61 kB / 0.5881 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4025, allocations: 0 / 0.5881 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4025, allocations: 7.141 kB / 0.5881 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4025, allocations: 5.406 kB / 0.5881 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4025, allocations: 0.6562 kB / 0.5881 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.4027, allocations: 221.1 kB / 0.5883 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.4028, allocations: 105 kB / 0.5884 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.4028, allocations: 6.266 kB / 0.5884 GB, free: 17.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.4031, allocations: 19.16 kB / 0.5884 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.4031, allocations: 13.06 kB / 0.5885 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.4031, allocations: 9.5 kB / 0.5885 GB, free: 17.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.4032, allocations: 129.2 kB / 0.5886 GB, free: 16.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4032, allocations: 1.094 kB / 0.5886 GB, free: 16.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.4036, allocations: 80.67 kB / 0.5887 GB, free: 16.96 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.0003718/0.404, allocations: 187.8 kB / 0.5888 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4042, allocations: 120.9 kB / 0.589 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4042, allocations: 1.375 kB / 0.589 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.4043, allocations: 50.73 kB / 0.589 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4048, allocations: 56.06 kB / 0.5891 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.4055, allocations: 454.2 kB / 0.5895 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.4056, allocations: 0.715 MB / 0.5902 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.4057, allocations: 26.05 kB / 0.5902 GB, free: 15.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4057, allocations: 0 / 0.5902 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Templates: time 0.005039/0.4108, allocations: 3.405 MB / 0.5935 GB, free: 14.19 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)