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.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001695/0.001696, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.523/1.523, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3873/0.3873, allocations: 54.93 MB / 324.4 MB, free: 164 kB / 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.001565/0.001565, allocations: 63.91 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1381, allocations: 59.6 MB / 454.5 MB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2467/0.3848, allocations: 13.05 MB / 467.5 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3869, allocations: 2.594 MB / 470.1 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.387, allocations: 2.938 kB / 470.1 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3874, allocations: 39.36 kB / 470.2 MB, free: 30.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.3877, allocations: 96.5 kB / 470.3 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.3886, allocations: 406.8 kB / 470.7 MB, free: 30.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.3889, allocations: 220.8 kB / 470.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.3889, allocations: 9.906 kB / 470.9 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008335/0.3973, allocations: 3.378 MB / 474.3 MB, free: 29.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3974, allocations: 87.55 kB / 474.3 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3975, allocations: 8.969 kB / 474.4 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.4001, allocations: 1.02 MB / 475.4 MB, free: 28.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.4001, allocations: 36.55 kB / 475.4 MB, free: 28.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.4002, allocations: 79.56 kB / 475.5 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.4009, allocations: 339.6 kB / 475.8 MB, free: 28.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4009, allocations: 0 / 475.8 MB, free: 28.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4009, allocations: 0 / 475.8 MB, free: 28.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.4009, allocations: 7.938 kB / 475.8 MB, free: 28.59 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.0006795/0.4016, allocations: 497.7 kB / 476.3 MB, free: 28.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4017, allocations: 7.5 kB / 476.3 MB, free: 28.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4018, allocations: 21.97 kB / 476.3 MB, free: 28.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.402, allocations: 221.7 kB / 476.6 MB, free: 27.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.402, allocations: 10.45 kB / 476.6 MB, free: 27.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4021, allocations: 20.69 kB / 476.6 MB, free: 27.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.4024, allocations: 253.9 kB / 476.8 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4024, allocations: 0 / 476.8 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.4025, allocations: 9.844 kB / 476.9 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4025, allocations: 10.47 kB / 476.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.4029, allocations: 432.3 kB / 477.3 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.4038, allocations: 1.001 MB / 478.3 MB, free: 26.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.404, allocations: 165.4 kB / 478.4 MB, free: 26.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.4041, allocations: 63.47 kB / 478.5 MB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.4051, allocations: 1.825 MB / 480.3 MB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4051, allocations: 37.66 kB / 480.4 MB, free: 24.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.4051, allocations: 7.938 kB / 480.4 MB, free: 24.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003128/0.4055, allocations: 143 kB / 480.5 MB, free: 24.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.4055, allocations: 57.88 kB / 480.6 MB, free: 24.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4056, allocations: 163.9 kB / 480.7 MB, free: 24.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4056, allocations: 32.42 kB / 480.8 MB, free: 24.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.4057, allocations: 148 kB / 480.9 MB, free: 24.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4057, allocations: 48.47 kB / 481 MB, free: 24.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.4058, allocations: 50.22 kB / 481 MB, free: 24.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.4059, allocations: 325.1 kB / 481.3 MB, free: 23.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.4059, allocations: 39.2 kB / 481.4 MB, free: 23.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.406, allocations: 142.4 kB / 481.5 MB, free: 23.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4062, allocations: 205 kB / 481.7 MB, free: 23.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4062, allocations: 0 / 481.7 MB, free: 23.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002606/0.4065, allocations: 216.5 kB / 481.9 MB, free: 23.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4065, allocations: 6.938 kB / 481.9 MB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4065, allocations: 3.281 kB / 481.9 MB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4065, allocations: 10.66 kB / 481.9 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4067, allocations: 59.94 kB / 482 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4067, allocations: 3.875 kB / 482 MB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4068, allocations: 24.16 kB / 482 MB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4069, allocations: 13.45 kB / 482 MB, free: 23.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.4069, allocations: 138.3 kB / 482.2 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.407, allocations: 17.14 kB / 482.2 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.4073, allocations: 157.7 kB / 482.3 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4073, allocations: 8 kB / 482.3 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4073, allocations: 0 / 482.3 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4073, allocations: 0 / 482.3 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4075, allocations: 215.9 kB / 482.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4075, allocations: 0 / 482.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.4076, allocations: 29.09 kB / 482.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4076, allocations: 2.625 kB / 482.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4076, allocations: 7.375 kB / 482.6 MB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4076, allocations: 3.938 kB / 482.6 MB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4076, allocations: 0 / 482.6 MB, free: 22.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.4078, allocations: 219.3 kB / 482.8 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.4079, allocations: 111.4 kB / 482.9 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.4079, allocations: 3.938 kB / 482.9 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.4081, allocations: 21.27 kB / 482.9 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.4081, allocations: 9.75 kB / 483 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4081, allocations: 10.59 kB / 483 MB, free: 22.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.4082, allocations: 123.2 kB / 483.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4082, allocations: 0 / 483.1 MB, free: 22.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.4086, allocations: 76.16 kB / 483.2 MB, free: 22.45 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 (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.0002917/0.4089, allocations: 186.7 kB / 483.3 MB, free: 22.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.4091, allocations: 115.2 kB / 483.5 MB, free: 22.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4091, allocations: 0 / 483.5 MB, free: 22.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.4092, allocations: 51.47 kB / 483.5 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.4096, allocations: 54.44 kB / 483.6 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.4102, allocations: 387.3 kB / 483.9 MB, free: 22.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.4103, allocations: 0.713 MB / 484.7 MB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.4105, allocations: 52.16 kB / 484.7 MB, free: 21.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4106, allocations: 22.03 kB / 484.7 MB, free: 21.31 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4106, allocations: 2.781 kB / 484.7 MB, free: 21.31 MB / 382.1 MB Notification: Performance of Templates: time 0.005927/0.4165, allocations: 3.425 MB / 488.2 MB, free: 20.98 MB / 382.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)