Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009229/0.009229, allocations: 164.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.179/1.179, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001595/0.001596, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002969, allocations: 12 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 38.77 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.602, allocations: 2.466 GB / 2.772 GB, free: 77.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/5.602, allocations: 88.33 kB / 2.772 GB, free: 77.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.408/7.01, allocations: 420.2 MB / 3.182 GB, free: 44.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.624e-06/7.01, allocations: 0 / 3.182 GB, free: 44.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.59e-05/7.01, allocations: 7.562 kB / 3.182 GB, free: 44.32 MB / 378.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.006151/7.016, allocations: 1.263 MB / 3.184 GB, free: 43.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/7.016, allocations: 7.188 kB / 3.184 GB, free: 43.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/7.018, allocations: 156.1 kB / 3.184 GB, free: 43.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/7.019, allocations: 320.7 kB / 3.184 GB, free: 43.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/7.019, allocations: 33.73 kB / 3.184 GB, free: 43.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/7.019, allocations: 29.38 kB / 3.184 GB, free: 43.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/7.02, allocations: 0.5683 MB / 3.185 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/7.02, allocations: 1.969 kB / 3.185 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/7.02, allocations: 16.23 kB / 3.185 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/7.02, allocations: 7.438 kB / 3.185 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/7.022, allocations: 0.5372 MB / 3.185 GB, free: 43.44 MB / 378.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.003645/7.025, allocations: 2.617 MB / 3.188 GB, free: 41.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/7.027, allocations: 490 kB / 3.188 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/7.028, allocations: 0.5584 MB / 3.189 GB, free: 41.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/7.028, allocations: 37.98 kB / 3.189 GB, free: 40.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.996e-06/7.028, allocations: 0 / 3.189 GB, free: 40.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004635/7.032, allocations: 1.6 MB / 3.19 GB, free: 40.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/7.033, allocations: 59.11 kB / 3.19 GB, free: 40.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/7.033, allocations: 226.8 kB / 3.191 GB, free: 40.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/7.033, allocations: 29.14 kB / 3.191 GB, free: 40.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/7.033, allocations: 183.6 kB / 3.191 GB, free: 40.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/7.033, allocations: 119.3 kB / 3.191 GB, free: 40.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/7.033, allocations: 6.5 kB / 3.191 GB, free: 40.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/7.033, allocations: 345.6 kB / 3.191 GB, free: 39.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/7.034, allocations: 147.3 kB / 3.191 GB, free: 39.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/7.034, allocations: 248.7 kB / 3.192 GB, free: 39.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/7.035, allocations: 177.5 kB / 3.192 GB, free: 39.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/7.035, allocations: 1.375 kB / 3.192 GB, free: 39.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00132/7.036, allocations: 0.535 MB / 3.192 GB, free: 39.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/7.036, allocations: 6.75 kB / 3.192 GB, free: 39.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/7.036, allocations: 4.031 kB / 3.192 GB, free: 39.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/7.036, allocations: 118.5 kB / 3.192 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/7.037, allocations: 92.19 kB / 3.193 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/7.038, allocations: 2.423 MB / 3.195 GB, free: 37.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/7.039, allocations: 47.84 kB / 3.195 GB, free: 37.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/7.039, allocations: 24.3 kB / 3.195 GB, free: 37.34 MB / 378.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.0001864/7.039, allocations: 165 kB / 3.195 GB, free: 37.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/7.039, allocations: 30.97 kB / 3.195 GB, free: 37.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/7.041, allocations: 1.36 MB / 3.196 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/7.041, allocations: 23.78 kB / 3.197 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/7.041, allocations: 7.359 kB / 3.197 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/7.043, allocations: 1.456 MB / 3.198 GB, free: 36.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/7.045, allocations: 2.132 MB / 3.2 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/7.045, allocations: 0 / 3.2 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/7.046, allocations: 107 kB / 3.2 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/7.046, allocations: 81.89 kB / 3.2 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/7.046, allocations: 18.38 kB / 3.2 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002612/7.046, allocations: 0.5901 MB / 3.201 GB, free: 35.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/7.046, allocations: 3.125 kB / 3.201 GB, free: 35.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/7.048, allocations: 1.302 MB / 3.202 GB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/7.048, allocations: 176.4 kB / 3.202 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/7.048, allocations: 10.48 kB / 3.202 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/7.049, allocations: 42.16 kB / 3.202 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/7.049, allocations: 32.75 kB / 3.202 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/7.049, allocations: 19.34 kB / 3.202 GB, free: 35.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002304/7.049, allocations: 231.2 kB / 3.203 GB, free: 35.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/7.049, allocations: 0 / 3.203 GB, free: 35.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004563/7.054, allocations: 0.8869 MB / 3.203 GB, free: 35.01 MB / 378.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.00692/7.061, allocations: 1.318 MB / 3.205 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/7.062, allocations: 0.6611 MB / 3.205 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/7.062, allocations: 0 / 3.205 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/7.063, allocations: 422.9 kB / 3.206 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/7.064, allocations: 183.2 kB / 3.206 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/7.066, allocations: 1.561 MB / 3.207 GB, free: 34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/7.067, allocations: 0.889 MB / 3.208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004621/7.067, allocations: 141.8 kB / 3.208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/7.067, allocations: 37.95 kB / 3.209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/7.067, allocations: 0 / 3.209 GB, free: 33.29 MB / 378.7 MB Notification: Performance of Templates: time 0.04066/7.108, allocations: 30.39 MB / 3.238 GB, free: 32.15 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)