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.0009685/0.0009687, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.255/1.255, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001467/0.001467, allocations: 106.7 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.258e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0744/0.07445, allocations: 38.77 MB / 307.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.861/5.936, allocations: 2.466 GB / 2.767 GB, free: 72.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/5.936, allocations: 92.42 kB / 2.767 GB, free: 72.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.504/7.44, allocations: 418.9 MB / 3.176 GB, free: 27.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/7.44, allocations: 0 / 3.176 GB, free: 27.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/7.44, allocations: 11.22 kB / 3.176 GB, free: 27.67 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.004358/7.444, allocations: 1.227 MB / 3.177 GB, free: 27.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/7.444, allocations: 15.08 kB / 3.177 GB, free: 27.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/7.445, allocations: 161.4 kB / 3.177 GB, free: 27.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/7.446, allocations: 302.4 kB / 3.177 GB, free: 26.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/7.446, allocations: 35.16 kB / 3.178 GB, free: 26.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/7.446, allocations: 30.25 kB / 3.178 GB, free: 26.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/7.447, allocations: 0.5416 MB / 3.178 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/7.447, allocations: 13.92 kB / 3.178 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/7.447, allocations: 14.12 kB / 3.178 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/7.447, allocations: 11.09 kB / 3.178 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/7.448, allocations: 472.2 kB / 3.179 GB, free: 26.7 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.002487/7.451, allocations: 2.623 MB / 3.181 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/7.452, allocations: 426.7 kB / 3.182 GB, free: 24.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/7.452, allocations: 129.8 kB / 3.182 GB, free: 24.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/7.452, allocations: 0.5555 MB / 3.182 GB, free: 24.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/7.452, allocations: 37.72 kB / 3.182 GB, free: 24.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/7.452, allocations: 4.438 kB / 3.182 GB, free: 24.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.003148/7.456, allocations: 1.259 MB / 3.183 GB, free: 23.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/7.456, allocations: 57.5 kB / 3.184 GB, free: 23.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/7.456, allocations: 222.8 kB / 3.184 GB, free: 23.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/7.456, allocations: 29.58 kB / 3.184 GB, free: 23.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/7.456, allocations: 179.2 kB / 3.184 GB, free: 23.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/7.456, allocations: 112.8 kB / 3.184 GB, free: 23.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/7.456, allocations: 7.188 kB / 3.184 GB, free: 23.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/7.456, allocations: 339 kB / 3.184 GB, free: 23.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/7.456, allocations: 111.9 kB / 3.184 GB, free: 23.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/7.456, allocations: 194.9 kB / 3.185 GB, free: 23.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/7.457, allocations: 129.9 kB / 3.185 GB, free: 23.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/7.457, allocations: 1.531 kB / 3.185 GB, free: 23.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006821/7.457, allocations: 444.5 kB / 3.185 GB, free: 22.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/7.457, allocations: 9.312 kB / 3.185 GB, free: 22.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/7.457, allocations: 9.906 kB / 3.185 GB, free: 22.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/7.458, allocations: 82.17 kB / 3.185 GB, free: 22.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/7.458, allocations: 91.09 kB / 3.185 GB, free: 22.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/7.459, allocations: 2.375 MB / 3.188 GB, free: 20.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/7.46, allocations: 46.39 kB / 3.188 GB, free: 20.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/7.46, allocations: 15.28 kB / 3.188 GB, free: 20.66 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 (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 8.729e-05/7.46, allocations: 137.1 kB / 3.188 GB, free: 20.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/7.46, allocations: 29.75 kB / 3.188 GB, free: 20.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/7.461, allocations: 1.344 MB / 3.189 GB, free: 20.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/7.461, allocations: 26 kB / 3.189 GB, free: 20.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/7.461, allocations: 0 / 3.189 GB, free: 20.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009521/7.462, allocations: 1.434 MB / 3.191 GB, free: 19.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/7.464, allocations: 2.091 MB / 3.193 GB, free: 19.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/7.464, allocations: 3.75 kB / 3.193 GB, free: 19.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/7.464, allocations: 107.9 kB / 3.193 GB, free: 19.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/7.464, allocations: 71.06 kB / 3.193 GB, free: 19.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/7.464, allocations: 13.88 kB / 3.193 GB, free: 19.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002329/7.465, allocations: 0.5979 MB / 3.193 GB, free: 18.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/7.465, allocations: 0 / 3.193 GB, free: 18.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/7.466, allocations: 1.171 MB / 3.195 GB, free: 18.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/7.466, allocations: 168.4 kB / 3.195 GB, free: 18.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/7.466, allocations: 5.562 kB / 3.195 GB, free: 18.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/7.466, allocations: 46.06 kB / 3.195 GB, free: 18.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/7.466, allocations: 32.16 kB / 3.195 GB, free: 18.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/7.466, allocations: 18.56 kB / 3.195 GB, free: 18.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001882/7.467, allocations: 229.5 kB / 3.195 GB, free: 18.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/7.467, allocations: 6.688 kB / 3.195 GB, free: 18.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00393/7.471, allocations: 0.8857 MB / 3.196 GB, free: 18.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: 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.006787/7.477, allocations: 1.328 MB / 3.197 GB, free: 18.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/7.479, allocations: 0.5765 MB / 3.198 GB, free: 17.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.479, allocations: 5.344 kB / 3.198 GB, free: 17.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/7.479, allocations: 375.2 kB / 3.198 GB, free: 17.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/7.48, allocations: 183.1 kB / 3.198 GB, free: 17.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/7.482, allocations: 0.9471 MB / 3.199 GB, free: 17.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/7.483, allocations: 0.8851 MB / 3.2 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004153/7.483, allocations: 145 kB / 3.2 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/7.483, allocations: 34.84 kB / 3.2 GB, free: 32.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/7.483, allocations: 0 / 3.2 GB, free: 32.99 MB / 378.7 MB Notification: Performance of Templates: time 0.03881/7.522, allocations: 32.2 MB / 3.232 GB, free: 31.35 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)