Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008951/0.008951, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001732/0.001732, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2814/0.2814, allocations: 54.96 MB / 324.9 MB, free: 4.832 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 456.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1277, allocations: 59.6 MB / 0.5038 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01987/0.1477, allocations: 12.94 MB / 0.5164 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.151, allocations: 2.605 MB / 0.5189 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1512, allocations: 4 kB / 0.5189 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.1515, allocations: 47.69 kB / 0.519 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.1519, allocations: 103.3 kB / 0.5191 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.1532, allocations: 453 kB / 0.5195 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.1536, allocations: 216 kB / 0.5197 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.1536, allocations: 13.55 kB / 0.5197 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009436/0.1631, allocations: 3.579 MB / 0.5232 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.1633, allocations: 91.61 kB / 0.5233 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.1634, allocations: 4 kB / 0.5233 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.1662, allocations: 1.068 MB / 0.5244 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.1662, allocations: 27.91 kB / 0.5244 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1664, allocations: 75.66 kB / 0.5245 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009385/0.1673, allocations: 347.1 kB / 0.5248 GB, free: 1.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1673, allocations: 0 / 0.5248 GB, free: 1.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1673, allocations: 0 / 0.5248 GB, free: 1.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1673, allocations: 4 kB / 0.5248 GB, free: 1.398 MB / 414.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.0008651/0.1682, allocations: 0.4915 MB / 0.5253 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1683, allocations: 8.031 kB / 0.5253 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.1685, allocations: 24.69 kB / 0.5253 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1688, allocations: 212.1 kB / 0.5255 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1688, allocations: 16.64 kB / 0.5255 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1689, allocations: 12.38 kB / 0.5255 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.1693, allocations: 249.1 kB / 0.5258 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1693, allocations: 3.938 kB / 0.5258 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.1693, allocations: 8 kB / 0.5258 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.1694, allocations: 7.984 kB / 0.5258 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2965/0.4659, allocations: 432.9 kB / 0.5262 GB, free: 28.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4671, allocations: 1.009 MB / 0.5272 GB, free: 27.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.4674, allocations: 167.7 kB / 0.5273 GB, free: 27.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4675, allocations: 64.83 kB / 0.5274 GB, free: 27.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.4687, allocations: 1.821 MB / 0.5292 GB, free: 25.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4687, allocations: 35.72 kB / 0.5292 GB, free: 25.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.4687, allocations: 0 / 0.5292 GB, free: 25.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003862/0.4691, allocations: 145.6 kB / 0.5294 GB, free: 25.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4692, allocations: 54.59 kB / 0.5294 GB, free: 25.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.4693, allocations: 164.4 kB / 0.5296 GB, free: 24.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4694, allocations: 32.27 kB / 0.5296 GB, free: 24.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.4694, allocations: 142.3 kB / 0.5297 GB, free: 24.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.4695, allocations: 55.09 kB / 0.5298 GB, free: 24.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.4696, allocations: 55.91 kB / 0.5298 GB, free: 24.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.4697, allocations: 329.3 kB / 0.5302 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.4697, allocations: 37.8 kB / 0.5302 GB, free: 24.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.4699, allocations: 151.1 kB / 0.5303 GB, free: 24.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.4701, allocations: 198.8 kB / 0.5305 GB, free: 24.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4701, allocations: 1.406 kB / 0.5305 GB, free: 24.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003438/0.4705, allocations: 211.2 kB / 0.5307 GB, free: 24.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4705, allocations: 7.328 kB / 0.5307 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4705, allocations: 10.41 kB / 0.5307 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4706, allocations: 5.469 kB / 0.5307 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.4708, allocations: 51.91 kB / 0.5308 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4708, allocations: 8.703 kB / 0.5308 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4709, allocations: 28.28 kB / 0.5308 GB, free: 24.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.4709, allocations: 18.88 kB / 0.5309 GB, free: 24.12 MB / 414.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 9.321e-05/0.471, allocations: 126.2 kB / 0.531 GB, free: 24.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.4711, allocations: 18.62 kB / 0.531 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.4714, allocations: 159.2 kB / 0.5311 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4714, allocations: 2.219 kB / 0.5311 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4714, allocations: 0 / 0.5311 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4715, allocations: 2.203 kB / 0.5311 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.4717, allocations: 220.2 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4717, allocations: 0.6094 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.4718, allocations: 25.98 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4718, allocations: 1 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4718, allocations: 6.719 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4718, allocations: 2 kB / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4718, allocations: 0 / 0.5314 GB, free: 23.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.472, allocations: 226.3 kB / 0.5316 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.4721, allocations: 105.4 kB / 0.5317 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.4722, allocations: 5.125 kB / 0.5317 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.4724, allocations: 9.828 kB / 0.5317 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4724, allocations: 15.48 kB / 0.5317 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4724, allocations: 7.875 kB / 0.5317 GB, free: 23.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.093e-05/0.4725, allocations: 122.7 kB / 0.5319 GB, free: 23.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4725, allocations: 5.125 kB / 0.5319 GB, free: 23.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.473, allocations: 76.45 kB / 0.5319 GB, free: 23.44 MB / 414.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.0003189/0.4733, allocations: 182.2 kB / 0.5321 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4736, allocations: 118.4 kB / 0.5322 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4736, allocations: 1.062 kB / 0.5322 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.4737, allocations: 46.48 kB / 0.5323 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.4741, allocations: 48.39 kB / 0.5323 GB, free: 23.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.4749, allocations: 334.7 kB / 0.5326 GB, free: 23.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4751, allocations: 0.7107 MB / 0.5333 GB, free: 22.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4753, allocations: 50.45 kB / 0.5334 GB, free: 22.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4754, allocations: 25.62 kB / 0.5334 GB, free: 22.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4754, allocations: 0 / 0.5334 GB, free: 22.47 MB / 414.1 MB Notification: Performance of Templates: time 0.01023/0.4856, allocations: 3.46 MB / 0.5368 GB, free: 22.18 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)