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.001519/0.00152, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.183/1.183, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.00153/0.00153, allocations: 111.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.62e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06932/0.06935, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/5.759, allocations: 2.466 GB / 2.76 GB, free: 75.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/5.759, allocations: 90.23 kB / 2.76 GB, free: 75.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375/7.134, allocations: 415.2 MB / 3.165 GB, free: 30.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/7.135, allocations: 0 / 3.165 GB, free: 30.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/7.135, allocations: 9.562 kB / 3.165 GB, free: 30.38 MB / 362.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.004123/7.139, allocations: 1.229 MB / 3.166 GB, free: 29.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/7.139, allocations: 9.812 kB / 3.166 GB, free: 29.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/7.14, allocations: 166.7 kB / 3.166 GB, free: 29.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/7.14, allocations: 313.9 kB / 3.167 GB, free: 29.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/7.141, allocations: 17.88 kB / 3.167 GB, free: 29.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/7.141, allocations: 20.44 kB / 3.167 GB, free: 29.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005294/7.141, allocations: 303.9 kB / 3.167 GB, free: 29.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/7.142, allocations: 363.2 kB / 3.167 GB, free: 29.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/7.142, allocations: 7.422 kB / 3.167 GB, free: 29.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/7.142, allocations: 3.656 kB / 3.167 GB, free: 29.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/7.142, allocations: 7.094 kB / 3.167 GB, free: 29.47 MB / 362.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.002416/7.144, allocations: 2.538 MB / 3.17 GB, free: 27.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/7.145, allocations: 241 kB / 3.17 GB, free: 27.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/7.145, allocations: 120.4 kB / 3.17 GB, free: 27.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006824/7.145, allocations: 0.5602 MB / 3.171 GB, free: 27.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/7.145, allocations: 37.2 kB / 3.171 GB, free: 27.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/7.145, allocations: 0 / 3.171 GB, free: 27.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002535/7.148, allocations: 0.9895 MB / 3.172 GB, free: 26.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/7.148, allocations: 55.31 kB / 3.172 GB, free: 26.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/7.148, allocations: 193.3 kB / 3.172 GB, free: 26.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/7.148, allocations: 25.7 kB / 3.172 GB, free: 26.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/7.148, allocations: 193.7 kB / 3.172 GB, free: 26.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/7.148, allocations: 106.2 kB / 3.172 GB, free: 26.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/7.148, allocations: 3.531 kB / 3.172 GB, free: 26.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.316e-05/7.149, allocations: 332.2 kB / 3.173 GB, free: 25.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/7.149, allocations: 99.44 kB / 3.173 GB, free: 25.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/7.149, allocations: 189.8 kB / 3.173 GB, free: 25.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/7.149, allocations: 128.9 kB / 3.173 GB, free: 25.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/7.149, allocations: 3.5 kB / 3.173 GB, free: 25.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000718/7.15, allocations: 405.7 kB / 3.174 GB, free: 25.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/7.15, allocations: 6.688 kB / 3.174 GB, free: 25.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/7.15, allocations: 3.844 kB / 3.174 GB, free: 25.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/7.15, allocations: 81.25 kB / 3.174 GB, free: 25.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/7.151, allocations: 92.25 kB / 3.174 GB, free: 25.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/7.152, allocations: 2.328 MB / 3.176 GB, free: 23.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/7.152, allocations: 62.89 kB / 3.176 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/7.152, allocations: 15.84 kB / 3.176 GB, free: 23.53 MB / 362.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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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 9.9e-05/7.152, allocations: 118.1 kB / 3.176 GB, free: 23.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/7.152, allocations: 30.33 kB / 3.176 GB, free: 23.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/7.153, allocations: 1.107 MB / 3.177 GB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/7.153, allocations: 18.34 kB / 3.177 GB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/7.153, allocations: 3.562 kB / 3.177 GB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008827/7.154, allocations: 1.25 MB / 3.179 GB, free: 22.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/7.156, allocations: 1.774 MB / 3.18 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/7.156, allocations: 0 / 3.18 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/7.156, allocations: 88.52 kB / 3.18 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/7.157, allocations: 66.48 kB / 3.18 GB, free: 22.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/7.157, allocations: 10.42 kB / 3.18 GB, free: 22.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/7.157, allocations: 0.6111 MB / 3.181 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/7.157, allocations: 6.094 kB / 3.181 GB, free: 21.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/7.158, allocations: 1.018 MB / 3.182 GB, free: 21.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.774e-05/7.158, allocations: 140.2 kB / 3.182 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/7.158, allocations: 3.938 kB / 3.182 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/7.158, allocations: 32.75 kB / 3.182 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/7.158, allocations: 34.89 kB / 3.182 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/7.158, allocations: 10.81 kB / 3.182 GB, free: 21.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001678/7.159, allocations: 215.3 kB / 3.182 GB, free: 21.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/7.159, allocations: 3.094 kB / 3.182 GB, free: 21.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003869/7.162, allocations: 0.8562 MB / 3.183 GB, free: 21.3 MB / 362.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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005815/7.168, allocations: 1.418 MB / 3.185 GB, free: 21.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009884/7.169, allocations: 0.5258 MB / 3.185 GB, free: 20.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/7.169, allocations: 0 / 3.185 GB, free: 20.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/7.17, allocations: 323.3 kB / 3.185 GB, free: 20.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/7.171, allocations: 139.8 kB / 3.186 GB, free: 20.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/7.172, allocations: 0.8293 MB / 3.186 GB, free: 20.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/7.172, allocations: 0.8563 MB / 3.187 GB, free: 20.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003327/7.172, allocations: 169.3 kB / 3.187 GB, free: 20.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/7.172, allocations: 28.38 kB / 3.187 GB, free: 20.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/7.172, allocations: 0.6875 kB / 3.187 GB, free: 20.02 MB / 362.7 MB Notification: Performance of Templates: time 0.03095/7.203, allocations: 25.99 MB / 3.213 GB, free: 18.71 MB / 362.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)