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.001525/0.001525, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.347/1.347, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001635/0.001635, allocations: 106.6 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 15.97 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09961, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.227/5.327, allocations: 2.576 GB / 2.923 GB, free: 91.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/5.327, allocations: 93.7 kB / 2.923 GB, free: 91.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255/6.583, allocations: 430.9 MB / 3.344 GB, free: 34.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/6.583, allocations: 0 / 3.344 GB, free: 34.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/6.583, allocations: 3.938 kB / 3.344 GB, free: 34.31 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.005462/6.588, allocations: 1.281 MB / 3.345 GB, free: 33.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/6.588, allocations: 9.625 kB / 3.345 GB, free: 33.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/6.59, allocations: 163 kB / 3.345 GB, free: 33.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/6.59, allocations: 313.1 kB / 3.345 GB, free: 33.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/6.59, allocations: 30.62 kB / 3.345 GB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/6.59, allocations: 34.02 kB / 3.345 GB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/6.592, allocations: 0.5647 MB / 3.346 GB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/6.592, allocations: 7.531 kB / 3.346 GB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/6.592, allocations: 15.86 kB / 3.346 GB, free: 32.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/6.592, allocations: 7.469 kB / 3.346 GB, free: 32.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/6.593, allocations: 0.5378 MB / 3.346 GB, free: 32.46 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002569/6.596, allocations: 2.609 MB / 3.349 GB, free: 29.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/6.597, allocations: 496.6 kB / 3.35 GB, free: 29.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/6.598, allocations: 0.5562 MB / 3.35 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/6.598, allocations: 41.05 kB / 3.35 GB, free: 29.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/6.598, allocations: 0 / 3.35 GB, free: 29.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.004446/6.602, allocations: 1.604 MB / 3.352 GB, free: 27.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/6.602, allocations: 55.41 kB / 3.352 GB, free: 27.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/6.603, allocations: 228 kB / 3.352 GB, free: 27.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/6.603, allocations: 33.7 kB / 3.352 GB, free: 27.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/6.603, allocations: 180.1 kB / 3.352 GB, free: 27.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/6.603, allocations: 116.7 kB / 3.352 GB, free: 27.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/6.603, allocations: 4 kB / 3.352 GB, free: 27.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.845e-05/6.603, allocations: 342.5 kB / 3.353 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/6.603, allocations: 152.8 kB / 3.353 GB, free: 26.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/6.604, allocations: 245.8 kB / 3.353 GB, free: 26.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/6.604, allocations: 174.3 kB / 3.353 GB, free: 26.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/6.604, allocations: 3.938 kB / 3.353 GB, free: 26.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001126/6.605, allocations: 0.5378 MB / 3.354 GB, free: 25.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/6.605, allocations: 4 kB / 3.354 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/6.605, allocations: 4 kB / 3.354 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/6.606, allocations: 121 kB / 3.354 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/6.606, allocations: 91.36 kB / 3.354 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/6.608, allocations: 2.426 MB / 3.356 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/6.608, allocations: 44.88 kB / 3.356 GB, free: 22.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/6.608, allocations: 16 kB / 3.356 GB, free: 22.91 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 () * Number of clocked 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.0001787/6.608, allocations: 165.7 kB / 3.356 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/6.608, allocations: 35.58 kB / 3.356 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/6.61, allocations: 1.36 MB / 3.358 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/6.61, allocations: 19.97 kB / 3.358 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/6.61, allocations: 4.062 kB / 3.358 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/6.611, allocations: 1.465 MB / 3.359 GB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/6.614, allocations: 2.136 MB / 3.361 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/6.614, allocations: 0 / 3.361 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/6.614, allocations: 110.9 kB / 3.361 GB, free: 17.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/6.614, allocations: 80.34 kB / 3.362 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/6.614, allocations: 8 kB / 3.362 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002567/6.615, allocations: 0.603 MB / 3.362 GB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.615, allocations: 0 / 3.362 GB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/6.616, allocations: 1.307 MB / 3.363 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/6.616, allocations: 167.4 kB / 3.364 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/6.616, allocations: 8 kB / 3.364 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/6.617, allocations: 43.12 kB / 3.364 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/6.617, allocations: 39.59 kB / 3.364 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/6.617, allocations: 15.92 kB / 3.364 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001804/6.617, allocations: 231 kB / 3.364 GB, free: 14.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/6.617, allocations: 0 / 3.364 GB, free: 14.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004106/6.621, allocations: 0.8977 MB / 3.365 GB, free: 14.04 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 () * Number of clocked 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.006434/6.628, allocations: 1.33 MB / 3.366 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/6.629, allocations: 0.663 MB / 3.367 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.629, allocations: 0 / 3.367 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/6.629, allocations: 420.1 kB / 3.367 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009457/6.63, allocations: 182.5 kB / 3.367 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/6.632, allocations: 1.555 MB / 3.369 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/6.633, allocations: 0.8889 MB / 3.37 GB, free: 9.309 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003814/6.633, allocations: 141.5 kB / 3.37 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/6.633, allocations: 35.44 kB / 3.37 GB, free: 9.141 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/6.633, allocations: 0 / 3.37 GB, free: 9.141 MB / 410.7 MB Notification: Performance of Templates: time 0.2473/6.88, allocations: 30.47 MB / 3.4 GB, free: 62.8 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)