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.001198/0.001198, allocations: 100 kB / 15.05 MB, free: 1.105 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.001458/0.001459, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4247/0.4247, allocations: 54.98 MB / 325.4 MB, free: 0.7695 MB / 254.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.0006076/0.0006077, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4474, allocations: 60.71 MB / 457.3 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0133/0.4608, allocations: 11.12 MB / 468.4 MB, free: 34.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.4627, allocations: 2.116 MB / 470.5 MB, free: 33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.4628, allocations: 0 / 470.5 MB, free: 33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.463, allocations: 32.86 kB / 470.6 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.4632, allocations: 82.39 kB / 470.7 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.464, allocations: 371 kB / 471 MB, free: 32.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.4641, allocations: 142.8 kB / 471.2 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.111e-05/0.4642, allocations: 10.28 kB / 471.2 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007492/0.4717, allocations: 4.312 MB / 475.5 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4718, allocations: 75.11 kB / 475.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.4719, allocations: 7.5 kB / 475.6 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.4742, allocations: 0.9788 MB / 476.5 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.4742, allocations: 31.66 kB / 476.6 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.4743, allocations: 51.7 kB / 476.6 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.4746, allocations: 211.8 kB / 476.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4746, allocations: 0 / 476.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4746, allocations: 4 kB / 476.8 MB, free: 31.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.4746, allocations: 0 / 476.8 MB, free: 31.3 MB / 382.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.0005678/0.4752, allocations: 474.6 kB / 477.3 MB, free: 30.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4752, allocations: 8.656 kB / 477.3 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4754, allocations: 26.75 kB / 477.3 MB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.4756, allocations: 211.5 kB / 477.5 MB, free: 30.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4756, allocations: 15.42 kB / 477.5 MB, free: 30.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.4756, allocations: 12.41 kB / 477.6 MB, free: 30.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.4759, allocations: 242.2 kB / 477.8 MB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.476, allocations: 3.938 kB / 477.8 MB, free: 30.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.476, allocations: 15.67 kB / 477.8 MB, free: 30.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.476, allocations: 7.125 kB / 477.8 MB, free: 30.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.4764, allocations: 423.7 kB / 478.2 MB, free: 30.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.4773, allocations: 1.044 MB / 479.3 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.4776, allocations: 167.6 kB / 479.4 MB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/0.4786, allocations: 1.852 MB / 481.3 MB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4786, allocations: 34.56 kB / 481.3 MB, free: 27.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.4787, allocations: 10.78 kB / 481.3 MB, free: 27.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002982/0.479, allocations: 138.8 kB / 481.5 MB, free: 27.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.479, allocations: 51.41 kB / 481.5 MB, free: 27.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4791, allocations: 166.4 kB / 481.7 MB, free: 27.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4791, allocations: 29.7 kB / 481.7 MB, free: 27.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.4792, allocations: 141.8 kB / 481.9 MB, free: 26.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.4793, allocations: 56.86 kB / 481.9 MB, free: 26.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.4793, allocations: 6 kB / 481.9 MB, free: 26.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.4793, allocations: 324.8 kB / 482.2 MB, free: 26.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.4794, allocations: 39.53 kB / 482.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4795, allocations: 137.3 kB / 482.4 MB, free: 26.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.4796, allocations: 57.95 kB / 482.5 MB, free: 26.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4796, allocations: 3.5 kB / 482.5 MB, free: 26.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002782/0.4799, allocations: 208.7 kB / 482.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4799, allocations: 9.562 kB / 482.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4799, allocations: 6.844 kB / 482.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.48, allocations: 8 kB / 482.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.4801, allocations: 55.14 kB / 482.7 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4802, allocations: 11.56 kB / 482.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4803, allocations: 27.5 kB / 482.8 MB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.4803, allocations: 17.34 kB / 482.8 MB, free: 26.21 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.4804, allocations: 132.1 kB / 482.9 MB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.4804, allocations: 20.81 kB / 483 MB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.4807, allocations: 156.6 kB / 483.1 MB, free: 26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4807, allocations: 3.688 kB / 483.1 MB, free: 26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4808, allocations: 3.422 kB / 483.1 MB, free: 26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4808, allocations: 0 / 483.1 MB, free: 26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.481, allocations: 217.8 kB / 483.3 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.481, allocations: 0 / 483.3 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4811, allocations: 32.08 kB / 483.4 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4811, allocations: 2.625 kB / 483.4 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4811, allocations: 0 / 483.4 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4811, allocations: 10.56 kB / 483.4 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4811, allocations: 0 / 483.4 MB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.4813, allocations: 227.4 kB / 483.6 MB, free: 25.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.4814, allocations: 118.1 kB / 483.7 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4814, allocations: 7.531 kB / 483.7 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4816, allocations: 3.75 kB / 483.7 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.4816, allocations: 15.62 kB / 483.7 MB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4816, allocations: 9.25 kB / 483.7 MB, free: 25.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6e-05/0.4817, allocations: 124.1 kB / 483.9 MB, free: 25.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4817, allocations: 0 / 483.9 MB, free: 25.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.4821, allocations: 75.3 kB / 483.9 MB, free: 25.38 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.4823, allocations: 167.9 kB / 484.1 MB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.4825, allocations: 119.4 kB / 484.2 MB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4825, allocations: 0 / 484.2 MB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.4826, allocations: 47.69 kB / 484.3 MB, free: 25.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.483, allocations: 52.72 kB / 484.3 MB, free: 25.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4836, allocations: 417.2 kB / 484.7 MB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4837, allocations: 0.725 MB / 485.4 MB, free: 24.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.4839, allocations: 46.73 kB / 485.5 MB, free: 24.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.4839, allocations: 25.03 kB / 485.5 MB, free: 24.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4839, allocations: 0 / 485.5 MB, free: 24.25 MB / 382.1 MB Notification: Performance of Templates: time 0.006349/0.4903, allocations: 3.172 MB / 488.7 MB, free: 23.92 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.WaterProperties_pT.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: