Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001094/0.001094, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.428/1.428, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001643, allocations: 112.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.724e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08595, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.359/6.445, allocations: 2.576 GB / 2.917 GB, free: 99.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/6.446, allocations: 91.3 kB / 2.917 GB, free: 99.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356/7.802, allocations: 429.6 MB / 3.337 GB, free: 36.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/7.802, allocations: 0 / 3.337 GB, free: 36.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.753e-05/7.802, allocations: 9.953 kB / 3.337 GB, free: 36.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005337/7.807, allocations: 1.251 MB / 3.338 GB, free: 35.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/7.807, allocations: 7.406 kB / 3.338 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/7.809, allocations: 161.4 kB / 3.338 GB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/7.809, allocations: 311.3 kB / 3.338 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/7.809, allocations: 32.78 kB / 3.338 GB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/7.809, allocations: 28.86 kB / 3.339 GB, free: 35.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/7.81, allocations: 0.5455 MB / 3.339 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/7.81, allocations: 0.6875 kB / 3.339 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/7.81, allocations: 15.31 kB / 3.339 GB, free: 34.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/7.81, allocations: 11.95 kB / 3.339 GB, free: 34.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/7.812, allocations: 488.1 kB / 3.34 GB, free: 33.98 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/7.815, allocations: 2.606 MB / 3.342 GB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/7.816, allocations: 436 kB / 3.343 GB, free: 30.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/7.816, allocations: 135.3 kB / 3.343 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008344/7.817, allocations: 0.5618 MB / 3.343 GB, free: 29.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/7.817, allocations: 38.56 kB / 3.343 GB, free: 29.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 5.46e-06/7.817, allocations: 3.891 kB / 3.343 GB, free: 29.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.003336/7.82, allocations: 1.244 MB / 3.344 GB, free: 28.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/7.82, allocations: 55.41 kB / 3.344 GB, free: 28.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/7.821, allocations: 224.4 kB / 3.345 GB, free: 28.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/7.821, allocations: 29.7 kB / 3.345 GB, free: 28.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/7.821, allocations: 182.8 kB / 3.345 GB, free: 28.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/7.821, allocations: 117.8 kB / 3.345 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/7.821, allocations: 15.94 kB / 3.345 GB, free: 27.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/7.821, allocations: 338.8 kB / 3.345 GB, free: 27.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/7.821, allocations: 100.9 kB / 3.345 GB, free: 27.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/7.821, allocations: 206.4 kB / 3.346 GB, free: 27.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/7.822, allocations: 131.9 kB / 3.346 GB, free: 27.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/7.822, allocations: 0 / 3.346 GB, free: 27.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006675/7.822, allocations: 435.2 kB / 3.346 GB, free: 26.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/7.822, allocations: 8 kB / 3.346 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/7.822, allocations: 0 / 3.346 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/7.823, allocations: 86.53 kB / 3.346 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/7.823, allocations: 95.45 kB / 3.346 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/7.824, allocations: 2.368 MB / 3.349 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/7.825, allocations: 51.78 kB / 3.349 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/7.825, allocations: 23.98 kB / 3.349 GB, free: 23.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001103/7.825, allocations: 136.6 kB / 3.349 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/7.825, allocations: 27.72 kB / 3.349 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/7.826, allocations: 1.346 MB / 3.35 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/7.826, allocations: 19.97 kB / 3.35 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/7.826, allocations: 0 / 3.35 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009511/7.827, allocations: 1.428 MB / 3.352 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/7.829, allocations: 2.098 MB / 3.354 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/7.829, allocations: 0 / 3.354 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/7.829, allocations: 111 kB / 3.354 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/7.829, allocations: 68.7 kB / 3.354 GB, free: 18.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/7.83, allocations: 12 kB / 3.354 GB, free: 18.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002484/7.83, allocations: 0.5951 MB / 3.354 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/7.83, allocations: 0 / 3.354 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/7.831, allocations: 1.169 MB / 3.356 GB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/7.831, allocations: 164.1 kB / 3.356 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/7.831, allocations: 11.59 kB / 3.356 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/7.831, allocations: 51.47 kB / 3.356 GB, free: 16.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/7.831, allocations: 38.28 kB / 3.356 GB, free: 16.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/7.831, allocations: 11.98 kB / 3.356 GB, free: 16.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001948/7.832, allocations: 234.1 kB / 3.356 GB, free: 16.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/7.832, allocations: 0 / 3.356 GB, free: 16.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0039/7.836, allocations: 0.8938 MB / 3.357 GB, free: 15.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004158/7.84, allocations: 1.322 MB / 3.358 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009825/7.841, allocations: 0.5863 MB / 3.359 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.841, allocations: 7.938 kB / 3.359 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/7.841, allocations: 368.9 kB / 3.359 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/7.842, allocations: 178.4 kB / 3.359 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/7.843, allocations: 0.9468 MB / 3.36 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/7.844, allocations: 0.8905 MB / 3.361 GB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003462/7.844, allocations: 141.7 kB / 3.361 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/7.844, allocations: 35.38 kB / 3.361 GB, free: 11.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.664e-06/7.844, allocations: 0 / 3.361 GB, free: 11.12 MB / 410.7 MB Notification: Performance of Templates: time 0.2924/8.137, allocations: 32.29 MB / 3.393 GB, free: 65.57 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)