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.009604/0.009604, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.43/1.43, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001617/0.001617, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 38.76 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.36/5.571, allocations: 2.735 GB / 3.04 GB, free: 72.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.02039/5.591, allocations: 10.81 MB / 3.051 GB, free: 71.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2783/5.869, allocations: 111.1 MB / 3.159 GB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/5.869, allocations: 0 / 3.159 GB, free: 7.391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/5.869, allocations: 4 kB / 3.159 GB, free: 7.387 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.006744/5.876, allocations: 1.134 MB / 3.161 GB, free: 6.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/5.876, allocations: 8.031 kB / 3.161 GB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/5.878, allocations: 191.4 kB / 3.161 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/5.879, allocations: 266.7 kB / 3.161 GB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/5.879, allocations: 16.44 kB / 3.161 GB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/5.879, allocations: 24 kB / 3.161 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004766/5.884, allocations: 0.8856 MB / 3.162 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/5.884, allocations: 0 / 3.162 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/5.884, allocations: 8 kB / 3.162 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/5.884, allocations: 7.984 kB / 3.162 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005128/5.889, allocations: 0.9696 MB / 3.163 GB, free: 3.773 MB / 362.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.002197/5.891, allocations: 1.35 MB / 3.164 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/5.895, allocations: 0.7097 MB / 3.165 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3808/6.276, allocations: 36.58 MB / 3.201 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/6.276, allocations: 36.38 kB / 3.201 GB, free: 31.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 4.348e-06/6.276, allocations: 0 / 3.201 GB, free: 31.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005522/6.282, allocations: 1.328 MB / 3.202 GB, free: 31.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/6.282, allocations: 54.72 kB / 3.202 GB, free: 31.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/6.282, allocations: 114 kB / 3.202 GB, free: 31.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/6.282, allocations: 31.42 kB / 3.202 GB, free: 31.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/6.282, allocations: 118.2 kB / 3.202 GB, free: 31.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/6.282, allocations: 115.9 kB / 3.202 GB, free: 31.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/6.282, allocations: 9.188 kB / 3.202 GB, free: 31.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/6.282, allocations: 325.7 kB / 3.203 GB, free: 31.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/6.283, allocations: 330.6 kB / 3.203 GB, free: 31.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/6.283, allocations: 414.8 kB / 3.203 GB, free: 31.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/6.284, allocations: 332.4 kB / 3.204 GB, free: 31.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/6.284, allocations: 1.188 kB / 3.204 GB, free: 31.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001736/6.286, allocations: 0.8709 MB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/6.286, allocations: 5.188 kB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/6.286, allocations: 3.906 kB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/6.286, allocations: 6.906 kB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/6.287, allocations: 173.8 kB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/6.287, allocations: 8.188 kB / 3.205 GB, free: 31.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/6.287, allocations: 50.56 kB / 3.205 GB, free: 31.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/6.287, allocations: 60.83 kB / 3.205 GB, free: 31.02 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 () * Number of clocked 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.0002132/6.287, allocations: 147.4 kB / 3.205 GB, free: 30.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/6.288, allocations: 15.86 kB / 3.205 GB, free: 30.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006471/6.294, allocations: 7.593 MB / 3.212 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/6.294, allocations: 17.58 kB / 3.212 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/6.294, allocations: 3.625 kB / 3.212 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/6.294, allocations: 3.703 kB / 3.212 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/6.297, allocations: 3.426 MB / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/6.297, allocations: 0 / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/6.297, allocations: 113.5 kB / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/6.298, allocations: 0 / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/6.298, allocations: 20.86 kB / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/6.298, allocations: 1.312 kB / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/6.298, allocations: 0 / 3.216 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/6.3, allocations: 1.59 MB / 3.217 GB, free: 29.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/6.3, allocations: 131.5 kB / 3.218 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/6.3, allocations: 10.97 kB / 3.218 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/6.3, allocations: 24.91 kB / 3.218 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/6.3, allocations: 28.64 kB / 3.218 GB, free: 29.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/6.3, allocations: 16.34 kB / 3.218 GB, free: 29.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.576e-05/6.3, allocations: 88.81 kB / 3.218 GB, free: 29.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/6.3, allocations: 2.25 kB / 3.218 GB, free: 29.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005151/6.306, allocations: 0.9921 MB / 3.219 GB, free: 29.34 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: 11 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006322/6.312, allocations: 1.256 MB / 3.22 GB, free: 29.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001483/6.313, allocations: 0.8356 MB / 3.221 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/6.313, allocations: 0 / 3.221 GB, free: 28.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005581/6.314, allocations: 0.5032 MB / 3.221 GB, free: 28.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/6.315, allocations: 73.33 kB / 3.221 GB, free: 28.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/6.316, allocations: 1.381 MB / 3.223 GB, free: 27.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/6.316, allocations: 0.8333 MB / 3.223 GB, free: 27.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001666/6.318, allocations: 1.752 MB / 3.225 GB, free: 27.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/6.318, allocations: 88.36 kB / 3.225 GB, free: 27.19 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/6.318, allocations: 0 / 3.225 GB, free: 27.19 MB / 362.7 MB Notification: Performance of Templates: time 0.03942/6.358, allocations: 30.78 MB / 3.255 GB, free: 25.42 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)