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.0009051/0.0009051, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001006/0.001006, allocations: 168.7 kB / 15.95 MB, free: 204 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.796/1.796, 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.4135/0.4135, allocations: 55.02 MB / 325.4 MB, free: 0.6641 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.0005298/0.0005299, allocations: 15.94 kB / 396.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4635, allocations: 60.71 MB / 457.4 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01297/0.4765, allocations: 11.97 MB / 469.3 MB, free: 33.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.4785, allocations: 2.407 MB / 471.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.4786, allocations: 0 / 471.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.4789, allocations: 35.27 kB / 471.8 MB, free: 32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.4792, allocations: 92.56 kB / 471.9 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.48, allocations: 340.7 kB / 472.2 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.4802, allocations: 262.1 kB / 472.5 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.4803, allocations: 16.73 kB / 472.5 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009276/0.4895, allocations: 4.376 MB / 476.8 MB, free: 30.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.4899, allocations: 86.92 kB / 476.9 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.4899, allocations: 5.969 kB / 476.9 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.4931, allocations: 0.9243 MB / 477.9 MB, free: 30.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.4932, allocations: 33.16 kB / 477.9 MB, free: 30.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.047e-05/0.4933, allocations: 52.23 kB / 477.9 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.4938, allocations: 214.3 kB / 478.2 MB, free: 30.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.4938, allocations: 0 / 478.2 MB, free: 30.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4938, allocations: 3.938 kB / 478.2 MB, free: 30.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.4938, allocations: 0 / 478.2 MB, free: 30.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.0006877/0.4945, allocations: 469.4 kB / 478.6 MB, free: 29.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4946, allocations: 12.62 kB / 478.6 MB, free: 29.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4947, allocations: 20.78 kB / 478.6 MB, free: 29.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.4949, allocations: 207.3 kB / 478.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.495, allocations: 10.08 kB / 478.9 MB, free: 29.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.495, allocations: 19.62 kB / 478.9 MB, free: 29.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.4954, allocations: 249.5 kB / 479.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4954, allocations: 3.938 kB / 479.1 MB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4954, allocations: 8 kB / 479.1 MB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.4955, allocations: 9.156 kB / 479.1 MB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.496, allocations: 428 kB / 479.6 MB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.4969, allocations: 1.009 MB / 480.6 MB, free: 28.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.4972, allocations: 159.4 kB / 480.7 MB, free: 28.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4973, allocations: 67.48 kB / 480.8 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.4984, allocations: 1.83 MB / 482.6 MB, free: 26.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.4985, allocations: 39.98 kB / 482.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.4985, allocations: 0 / 482.7 MB, free: 26.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.00033/0.4988, allocations: 143.9 kB / 482.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.4988, allocations: 51.41 kB / 482.9 MB, free: 26.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.499, allocations: 172 kB / 483 MB, free: 26.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.499, allocations: 32.17 kB / 483.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.4991, allocations: 141.7 kB / 483.2 MB, free: 25.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4991, allocations: 52.39 kB / 483.2 MB, free: 25.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.4991, allocations: 11.36 kB / 483.3 MB, free: 25.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.4992, allocations: 321.9 kB / 483.6 MB, free: 25.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.4993, allocations: 38.34 kB / 483.6 MB, free: 25.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.4994, allocations: 137.6 kB / 483.7 MB, free: 25.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.986e-05/0.4995, allocations: 63.3 kB / 483.8 MB, free: 25.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4995, allocations: 3.938 kB / 483.8 MB, free: 25.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002855/0.4998, allocations: 206.9 kB / 484 MB, free: 25.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4999, allocations: 8.812 kB / 484 MB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4999, allocations: 6.219 kB / 484 MB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4999, allocations: 8.25 kB / 484 MB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5001, allocations: 49.92 kB / 484.1 MB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5001, allocations: 9.766 kB / 484.1 MB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.5002, allocations: 29.78 kB / 484.1 MB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.5002, allocations: 20.06 kB / 484.1 MB, free: 25.2 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 0.0001019/0.5004, allocations: 131.9 kB / 484.3 MB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.5004, allocations: 14.09 kB / 484.3 MB, free: 25.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.5007, allocations: 167.4 kB / 484.4 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.5007, allocations: 3.938 kB / 484.4 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5007, allocations: 0 / 484.4 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5007, allocations: 0 / 484.4 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.5009, allocations: 213.6 kB / 484.7 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.501, allocations: 0 / 484.7 MB, free: 24.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.5011, allocations: 29.5 kB / 484.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5011, allocations: 0 / 484.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5011, allocations: 3 kB / 484.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5011, allocations: 3.781 kB / 484.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5011, allocations: 4 kB / 484.7 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.5013, allocations: 231.6 kB / 484.9 MB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.5014, allocations: 108.2 kB / 485 MB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.5015, allocations: 4 kB / 485 MB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5016, allocations: 9.266 kB / 485 MB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.5016, allocations: 16.17 kB / 485.1 MB, free: 24.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5017, allocations: 5.5 kB / 485.1 MB, free: 24.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.5017, allocations: 123.5 kB / 485.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5017, allocations: 0 / 485.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.5021, allocations: 74.08 kB / 485.3 MB, free: 24.36 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.0002626/0.5024, allocations: 172.7 kB / 485.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.5026, allocations: 116 kB / 485.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5027, allocations: 0 / 485.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.5027, allocations: 50.28 kB / 485.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5032, allocations: 53.53 kB / 485.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.5039, allocations: 419.8 kB / 486 MB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.5041, allocations: 0.7128 MB / 486.8 MB, free: 23.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.5043, allocations: 50.58 kB / 486.8 MB, free: 23.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.5044, allocations: 29.88 kB / 486.8 MB, free: 23.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5044, allocations: 0 / 486.8 MB, free: 23.23 MB / 382.1 MB Notification: Performance of Templates: time 0.007388/0.5118, allocations: 3.204 MB / 490 MB, free: 22.89 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: