Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001203/0.001204, allocations: 102.7 kB / 16.36 MB, free: 5.824 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.001233/0.001233, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7896/0.7896, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 63.91 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4184, allocations: 80.91 MB / 0.5858 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01466/0.4331, allocations: 12.96 MB / 0.5984 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.4352, allocations: 2.673 MB / 0.601 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.4354, allocations: 0 / 0.601 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.4356, allocations: 53.14 kB / 0.6011 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.436, allocations: 93.05 kB / 0.6012 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4372, allocations: 0.5078 MB / 0.6017 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.4374, allocations: 224 kB / 0.6019 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.4375, allocations: 15.39 kB / 0.6019 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.4451, allocations: 3.588 MB / 0.6054 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.4454, allocations: 91.67 kB / 0.6055 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.4454, allocations: 8 kB / 0.6055 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.448, allocations: 1.071 MB / 0.6065 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.448, allocations: 35.89 kB / 0.6066 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.4482, allocations: 87.58 kB / 0.6066 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009793/0.4491, allocations: 363.1 kB / 0.607 GB, free: 4.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4492, allocations: 0 / 0.607 GB, free: 4.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4492, allocations: 0 / 0.607 GB, free: 4.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.4492, allocations: 4 kB / 0.607 GB, free: 4.785 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.000941/0.4501, allocations: 0.4954 MB / 0.6075 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4502, allocations: 13.11 kB / 0.6075 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4504, allocations: 24.73 kB / 0.6075 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4506, allocations: 216 kB / 0.6077 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4507, allocations: 12.7 kB / 0.6077 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4507, allocations: 16.38 kB / 0.6078 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.451, allocations: 248.2 kB / 0.608 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4511, allocations: 0 / 0.608 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.4511, allocations: 15.97 kB / 0.608 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.4511, allocations: 4 kB / 0.608 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.4515, allocations: 431.3 kB / 0.6084 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.4524, allocations: 0.9567 MB / 0.6094 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.4527, allocations: 168 kB / 0.6095 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.4528, allocations: 64.81 kB / 0.6096 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.4538, allocations: 1.84 MB / 0.6114 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4538, allocations: 38.56 kB / 0.6114 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.4539, allocations: 0 / 0.6114 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003292/0.4542, allocations: 145.4 kB / 0.6115 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4542, allocations: 59.34 kB / 0.6116 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4544, allocations: 177.5 kB / 0.6118 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4544, allocations: 29.64 kB / 0.6118 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/0.4545, allocations: 143.8 kB / 0.6119 GB, free: 15.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4545, allocations: 51.3 kB / 0.612 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.4546, allocations: 53.61 kB / 0.612 GB, free: 15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4547, allocations: 326.8 kB / 0.6124 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.4548, allocations: 31.98 kB / 0.6124 GB, free: 14.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4549, allocations: 141.7 kB / 0.6125 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.4552, allocations: 194.8 kB / 0.6127 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4552, allocations: 7.938 kB / 0.6127 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003288/0.4555, allocations: 214.5 kB / 0.6129 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4555, allocations: 8 kB / 0.6129 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4555, allocations: 4 kB / 0.6129 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4556, allocations: 4 kB / 0.6129 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4557, allocations: 64.25 kB / 0.613 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4558, allocations: 12 kB / 0.613 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.4559, allocations: 23.75 kB / 0.613 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.4559, allocations: 12 kB / 0.613 GB, free: 13.87 MB / 462.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.0001035/0.456, allocations: 137.7 kB / 0.6132 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.4561, allocations: 11.91 kB / 0.6132 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.4564, allocations: 159 kB / 0.6133 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4564, allocations: 7.938 kB / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4564, allocations: 0 / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4564, allocations: 4 kB / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.4566, allocations: 217.5 kB / 0.6136 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4567, allocations: 0 / 0.6136 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.4567, allocations: 23.98 kB / 0.6136 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4568, allocations: 0 / 0.6136 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4568, allocations: 8 kB / 0.6136 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4568, allocations: 3.938 kB / 0.6136 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4568, allocations: 0 / 0.6136 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.457, allocations: 219.1 kB / 0.6138 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.4571, allocations: 120.8 kB / 0.6139 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.4572, allocations: 0 / 0.6139 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4574, allocations: 19.92 kB / 0.6139 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.4574, allocations: 7.984 kB / 0.6139 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.4574, allocations: 12 kB / 0.6139 GB, free: 12.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.4575, allocations: 132.8 kB / 0.6141 GB, free: 12.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4575, allocations: 0 / 0.6141 GB, free: 12.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.4579, allocations: 72 kB / 0.6141 GB, free: 12.65 MB / 462.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.0002974/0.4582, allocations: 185.4 kB / 0.6143 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.4585, allocations: 124.1 kB / 0.6144 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4585, allocations: 0 / 0.6144 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.4585, allocations: 43.92 kB / 0.6145 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.459, allocations: 52.45 kB / 0.6145 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.4597, allocations: 343 kB / 0.6149 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.46, allocations: 0.7244 MB / 0.6156 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.4601, allocations: 52.69 kB / 0.6156 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.4602, allocations: 19.44 kB / 0.6156 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4602, allocations: 0 / 0.6156 GB, free: 11.07 MB / 462.1 MB Notification: Performance of Templates: time 0.007385/0.4676, allocations: 3.624 MB / 0.6192 GB, free: 7.496 MB / 462.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)