Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4400,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4400,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001516/0.001516, allocations: 170 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.381/1.381, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001843/0.001843, allocations: 103.5 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.917e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.937/7.04, allocations: 2.735 GB / 3.035 GB, free: 23.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0207/7.061, allocations: 10.74 MB / 3.046 GB, free: 12.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5193/7.58, allocations: 110.9 MB / 3.154 GB, free: 52.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/7.58, allocations: 2.062 kB / 3.154 GB, free: 52.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/7.58, allocations: 4 kB / 3.154 GB, free: 52.53 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.005744/7.586, allocations: 1.122 MB / 3.155 GB, free: 51.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/7.586, allocations: 11.97 kB / 3.155 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/7.587, allocations: 183.6 kB / 3.155 GB, free: 51.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/7.587, allocations: 262.6 kB / 3.156 GB, free: 50.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/7.587, allocations: 16.44 kB / 3.156 GB, free: 50.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/7.587, allocations: 28 kB / 3.156 GB, free: 50.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/7.59, allocations: 0.9052 MB / 3.156 GB, free: 49.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/7.59, allocations: 0 / 3.156 GB, free: 49.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/7.59, allocations: 8 kB / 3.156 GB, free: 49.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/7.59, allocations: 4 kB / 3.156 GB, free: 49.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/7.593, allocations: 0.9696 MB / 3.157 GB, free: 48.92 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.001467/7.594, allocations: 1.347 MB / 3.159 GB, free: 47.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/7.596, allocations: 0.7292 MB / 3.159 GB, free: 46.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/7.597, allocations: 153.3 kB / 3.16 GB, free: 46.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06658/7.663, allocations: 36.7 MB / 3.195 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/7.663, allocations: 42.83 kB / 3.195 GB, free: 5.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/7.663, allocations: 0 / 3.195 GB, free: 5.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004711/7.668, allocations: 1.229 MB / 3.197 GB, free: 4.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/7.668, allocations: 55.41 kB / 3.197 GB, free: 4.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/7.668, allocations: 117.1 kB / 3.197 GB, free: 4.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/7.668, allocations: 33.7 kB / 3.197 GB, free: 4.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/7.668, allocations: 116.4 kB / 3.197 GB, free: 3.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/7.669, allocations: 114.4 kB / 3.197 GB, free: 3.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/7.669, allocations: 4 kB / 3.197 GB, free: 3.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/7.669, allocations: 334.8 kB / 3.197 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/7.669, allocations: 307.9 kB / 3.198 GB, free: 3.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/7.67, allocations: 391.2 kB / 3.198 GB, free: 2.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/7.67, allocations: 312 kB / 3.198 GB, free: 2.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/7.67, allocations: 0 / 3.198 GB, free: 2.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001373/7.671, allocations: 0.8211 MB / 3.199 GB, free: 1.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/7.671, allocations: 4 kB / 3.199 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/7.671, allocations: 4 kB / 3.199 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/7.672, allocations: 4 kB / 3.199 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/7.672, allocations: 180 kB / 3.199 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/7.672, allocations: 7.984 kB / 3.199 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/7.673, allocations: 43.67 kB / 3.199 GB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/7.673, allocations: 63.88 kB / 3.199 GB, free: 1.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/7.673, allocations: 128.9 kB / 3.2 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/7.673, allocations: 19.8 kB / 3.2 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2876/7.961, allocations: 6.285 MB / 3.206 GB, free: 71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/7.961, allocations: 15.45 kB / 3.206 GB, free: 71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/7.961, allocations: 1.312 kB / 3.206 GB, free: 71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/7.961, allocations: 7.953 kB / 3.206 GB, free: 71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/7.964, allocations: 2.806 MB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/7.964, allocations: 4.906 kB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/7.965, allocations: 132.4 kB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/7.965, allocations: 1.719 kB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/7.965, allocations: 21.22 kB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/7.965, allocations: 3.938 kB / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.965, allocations: 0 / 3.209 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/7.968, allocations: 1.503 MB / 3.21 GB, free: 69.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/7.968, allocations: 120.5 kB / 3.21 GB, free: 69.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/7.968, allocations: 9.812 kB / 3.21 GB, free: 69.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/7.968, allocations: 26.34 kB / 3.21 GB, free: 69.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/7.969, allocations: 45.16 kB / 3.21 GB, free: 69.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/7.969, allocations: 21.39 kB / 3.21 GB, free: 69.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.934e-05/7.969, allocations: 93.56 kB / 3.21 GB, free: 69.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/7.969, allocations: 0 / 3.21 GB, free: 69.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006392/7.975, allocations: 0.9909 MB / 3.211 GB, free: 69.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 9 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.region3boundary,$cse7.region3boundary,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01121/7.986, allocations: 1.256 MB / 3.213 GB, free: 69.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/7.988, allocations: 0.7829 MB / 3.213 GB, free: 69.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.988, allocations: 0 / 3.213 GB, free: 69.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007549/7.989, allocations: 485.7 kB / 3.214 GB, free: 69.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/7.99, allocations: 71.3 kB / 3.214 GB, free: 69.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/7.992, allocations: 0.889 MB / 3.215 GB, free: 69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/7.992, allocations: 0.8125 MB / 3.216 GB, free: 68.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003463/7.995, allocations: 2.74 MB / 3.218 GB, free: 68.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/7.996, allocations: 95.64 kB / 3.218 GB, free: 68.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.324e-06/7.996, allocations: 0 / 3.218 GB, free: 68.23 MB / 362.7 MB Notification: Performance of Templates: time 0.04608/8.042, allocations: 31.32 MB / 3.249 GB, free: 67.64 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1)