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.001244/0.001244, allocations: 106.6 kB / 15.98 MB, free: 6.355 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.001103/0.001103, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 122.9 MB / 413.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.4906 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4014, allocations: 77.93 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01948/0.4209, allocations: 13.09 MB / 0.5795 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.4243, allocations: 2.656 MB / 0.5821 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.4244, allocations: 3.938 kB / 0.5821 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.4248, allocations: 41.14 kB / 0.5821 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.4251, allocations: 83.77 kB / 0.5822 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.4266, allocations: 482.6 kB / 0.5827 GB, free: 21.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.4269, allocations: 237.7 kB / 0.5829 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.427, allocations: 9.812 kB / 0.5829 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.4384, allocations: 3.36 MB / 0.5862 GB, free: 19.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.4387, allocations: 87.8 kB / 0.5863 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.4387, allocations: 8.031 kB / 0.5863 GB, free: 19.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.4422, allocations: 1.05 MB / 0.5873 GB, free: 18.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.4423, allocations: 34.55 kB / 0.5874 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.4424, allocations: 87.45 kB / 0.5874 GB, free: 18.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008629/0.4433, allocations: 365.3 kB / 0.5878 GB, free: 18.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4433, allocations: 0 / 0.5878 GB, free: 18.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4433, allocations: 0 / 0.5878 GB, free: 18.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4433, allocations: 0 / 0.5878 GB, free: 18.46 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.0008257/0.4441, allocations: 0.5063 MB / 0.5883 GB, free: 17.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4442, allocations: 14.41 kB / 0.5883 GB, free: 17.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.4445, allocations: 22 kB / 0.5883 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.4447, allocations: 224.8 kB / 0.5885 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4447, allocations: 10.39 kB / 0.5885 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4448, allocations: 15.38 kB / 0.5886 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.4453, allocations: 249.5 kB / 0.5888 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4453, allocations: 7.938 kB / 0.5888 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.4454, allocations: 7.625 kB / 0.5888 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.4454, allocations: 5.125 kB / 0.5888 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006766/0.4461, allocations: 429.8 kB / 0.5892 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4474, allocations: 0.9569 MB / 0.5902 GB, free: 16.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.4478, allocations: 154 kB / 0.5903 GB, free: 16.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.448, allocations: 62.81 kB / 0.5904 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.4492, allocations: 1.846 MB / 0.5922 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.4493, allocations: 37.03 kB / 0.5922 GB, free: 14.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.4493, allocations: 0 / 0.5922 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004502/0.4497, allocations: 142.6 kB / 0.5923 GB, free: 14.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.4498, allocations: 57.72 kB / 0.5924 GB, free: 14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.45, allocations: 174.7 kB / 0.5926 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.45, allocations: 36.17 kB / 0.5926 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.4501, allocations: 138.8 kB / 0.5927 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4501, allocations: 54.28 kB / 0.5928 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.4502, allocations: 53.61 kB / 0.5928 GB, free: 13.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.4503, allocations: 333.4 kB / 0.5931 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.4504, allocations: 34.23 kB / 0.5932 GB, free: 13.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4505, allocations: 132.3 kB / 0.5933 GB, free: 13.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.4508, allocations: 204 kB / 0.5935 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4509, allocations: 5.281 kB / 0.5935 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004891/0.4514, allocations: 217.6 kB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4514, allocations: 6.438 kB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.4514, allocations: 4.188 kB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4515, allocations: 5.312 kB / 0.5937 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.4517, allocations: 60.34 kB / 0.5938 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.4518, allocations: 9.188 kB / 0.5938 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.452, allocations: 25.19 kB / 0.5938 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.452, allocations: 15.31 kB / 0.5938 GB, free: 12.75 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 0.0001216/0.4522, allocations: 137.8 kB / 0.594 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.622e-05/0.4523, allocations: 12.91 kB / 0.594 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.4527, allocations: 150.7 kB / 0.5941 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4527, allocations: 5.531 kB / 0.5941 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4527, allocations: 0 / 0.5941 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4527, allocations: 1.156 kB / 0.5941 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.453, allocations: 217.4 kB / 0.5943 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4531, allocations: 4 kB / 0.5943 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4532, allocations: 27.39 kB / 0.5944 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4532, allocations: 1.281 kB / 0.5944 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4533, allocations: 9.297 kB / 0.5944 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4533, allocations: 5.562 kB / 0.5944 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4533, allocations: 0 / 0.5944 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.4536, allocations: 219.2 kB / 0.5946 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4537, allocations: 114.6 kB / 0.5947 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.4538, allocations: 9.062 kB / 0.5947 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.4541, allocations: 16.3 kB / 0.5947 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4542, allocations: 13.17 kB / 0.5947 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4542, allocations: 15.39 kB / 0.5947 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4543, allocations: 125.1 kB / 0.5949 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4543, allocations: 0 / 0.5949 GB, free: 11.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000756/0.4551, allocations: 73.44 kB / 0.5949 GB, free: 11.82 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.0005611/0.4557, allocations: 190.9 kB / 0.5951 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.4561, allocations: 134.7 kB / 0.5952 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4561, allocations: 1.469 kB / 0.5952 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4562, allocations: 43.77 kB / 0.5953 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00072/0.4569, allocations: 48.14 kB / 0.5953 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.4579, allocations: 399.2 kB / 0.5957 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.4581, allocations: 0.711 MB / 0.5964 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.4584, allocations: 50.73 kB / 0.5965 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.4585, allocations: 25.28 kB / 0.5965 GB, free: 10.56 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4585, allocations: 0 / 0.5965 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Templates: time 0.009998/0.4685, allocations: 3.627 MB / 0.6 GB, free: 8.031 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)