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.001261/0.001261, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.002159, allocations: 197 kB / 16.53 MB, free: 6.664 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.663/1.663, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4032/0.4032, allocations: 54.94 MB / 324.7 MB, free: 15.91 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.001492/0.001492, allocations: 75.89 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2873/0.4246, allocations: 12.9 MB / 467.8 MB, free: 32.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.4272, allocations: 2.612 MB / 470.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.4274, allocations: 0 / 470.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.4278, allocations: 53.61 kB / 470.5 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.4281, allocations: 95.42 kB / 470.6 MB, free: 30.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4292, allocations: 438.7 kB / 471 MB, free: 30.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.4295, allocations: 213.4 kB / 471.2 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.876e-05/0.4295, allocations: 12.91 kB / 471.2 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008094/0.4376, allocations: 3.603 MB / 474.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.4379, allocations: 84.02 kB / 474.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.4379, allocations: 9.062 kB / 474.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.4403, allocations: 1.043 MB / 476 MB, free: 28.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.4404, allocations: 43.47 kB / 476 MB, free: 28.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.4405, allocations: 80.12 kB / 476.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.441, allocations: 340.6 kB / 476.4 MB, free: 28.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.441, allocations: 0 / 476.4 MB, free: 28.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.441, allocations: 0 / 476.4 MB, free: 28.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.441, allocations: 0 / 476.4 MB, free: 28.35 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.0006315/0.4417, allocations: 499.6 kB / 476.9 MB, free: 27.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4417, allocations: 11.22 kB / 476.9 MB, free: 27.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.4419, allocations: 20.97 kB / 476.9 MB, free: 27.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.4421, allocations: 217.5 kB / 477.2 MB, free: 27.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4421, allocations: 15.11 kB / 477.2 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.4421, allocations: 13.12 kB / 477.2 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.4425, allocations: 261.2 kB / 477.4 MB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4425, allocations: 0 / 477.4 MB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.4425, allocations: 6.688 kB / 477.4 MB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.4425, allocations: 10.33 kB / 477.5 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.443, allocations: 428 kB / 477.9 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.4439, allocations: 1.014 MB / 478.9 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.4442, allocations: 161.6 kB / 479 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.4443, allocations: 66.2 kB / 479.1 MB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000996/0.4453, allocations: 1.824 MB / 480.9 MB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4453, allocations: 33.59 kB / 481 MB, free: 24.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.936e-06/0.4453, allocations: 5.016 kB / 481 MB, free: 24.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003257/0.4456, allocations: 150.1 kB / 481.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.4457, allocations: 58.16 kB / 481.2 MB, free: 24.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4458, allocations: 163.7 kB / 481.3 MB, free: 24.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4458, allocations: 31.91 kB / 481.4 MB, free: 24.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.4459, allocations: 144.6 kB / 481.5 MB, free: 23.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.4459, allocations: 48.91 kB / 481.6 MB, free: 23.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.446, allocations: 52.39 kB / 481.6 MB, free: 23.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.4461, allocations: 327.6 kB / 481.9 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.4461, allocations: 35.41 kB / 482 MB, free: 23.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.4462, allocations: 143.2 kB / 482.1 MB, free: 23.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.4464, allocations: 204.1 kB / 482.3 MB, free: 23.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4464, allocations: 2.969 kB / 482.3 MB, free: 23.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002767/0.4467, allocations: 214.4 kB / 482.5 MB, free: 23.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4467, allocations: 6.625 kB / 482.5 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4467, allocations: 3.344 kB / 482.5 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4468, allocations: 3.188 kB / 482.5 MB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4469, allocations: 62.88 kB / 482.6 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4469, allocations: 2.719 kB / 482.6 MB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.447, allocations: 24.56 kB / 482.6 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4471, allocations: 16.62 kB / 482.6 MB, free: 23.05 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 9.116e-05/0.4472, allocations: 135.4 kB / 482.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.4472, allocations: 17.44 kB / 482.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.4475, allocations: 157.3 kB / 482.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4475, allocations: 6.812 kB / 482.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4475, allocations: 0 / 482.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4475, allocations: 0.75 kB / 482.9 MB, free: 22.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.4477, allocations: 216.1 kB / 483.2 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4477, allocations: 0 / 483.2 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.4478, allocations: 25.42 kB / 483.2 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4478, allocations: 3.281 kB / 483.2 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4478, allocations: 4 kB / 483.2 MB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4478, allocations: 5.062 kB / 483.2 MB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4478, allocations: 0 / 483.2 MB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.448, allocations: 226.7 kB / 483.4 MB, free: 22.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.4481, allocations: 104.8 kB / 483.5 MB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4481, allocations: 6.844 kB / 483.5 MB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4483, allocations: 18.58 kB / 483.5 MB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.4483, allocations: 13.89 kB / 483.6 MB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4483, allocations: 5.75 kB / 483.6 MB, free: 22.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.893e-05/0.4484, allocations: 120.1 kB / 483.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4484, allocations: 0.5625 kB / 483.7 MB, free: 22.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.4488, allocations: 75.19 kB / 483.7 MB, free: 22.2 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.0003033/0.4491, allocations: 189.3 kB / 483.9 MB, free: 22.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4493, allocations: 120.8 kB / 484.1 MB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4493, allocations: 2.938 kB / 484.1 MB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.4494, allocations: 54.42 kB / 484.1 MB, free: 22.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4498, allocations: 49.59 kB / 484.2 MB, free: 22.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.4503, allocations: 333.5 kB / 484.5 MB, free: 21.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.4505, allocations: 0.7179 MB / 485.2 MB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.4506, allocations: 43.55 kB / 485.2 MB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.4507, allocations: 29.53 kB / 485.3 MB, free: 21.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4507, allocations: 0 / 485.3 MB, free: 21.11 MB / 382.1 MB Notification: Performance of Templates: time 0.006008/0.4567, allocations: 3.426 MB / 488.7 MB, free: 20.78 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)