Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4400,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4400,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001486/0.001486, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.636/1.636, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 112.7 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.149e-05, allocations: 8 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09363, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.776, allocations: 2.844 GB / 3.186 GB, free: 33.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0201/6.796, allocations: 10.92 MB / 3.196 GB, free: 24.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.531/7.327, allocations: 112.8 MB / 3.307 GB, free: 83.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/7.327, allocations: 5.406 kB / 3.307 GB, free: 83.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/7.327, allocations: 4 kB / 3.307 GB, free: 83.19 MB / 410.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.005492/7.333, allocations: 1.142 MB / 3.308 GB, free: 82.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/7.333, allocations: 8.031 kB / 3.308 GB, free: 82.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/7.334, allocations: 190.4 kB / 3.308 GB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/7.334, allocations: 251.7 kB / 3.308 GB, free: 81.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/7.334, allocations: 16.44 kB / 3.308 GB, free: 81.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/7.334, allocations: 24 kB / 3.308 GB, free: 81.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/7.337, allocations: 0.9028 MB / 3.309 GB, free: 80.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/7.337, allocations: 4 kB / 3.309 GB, free: 80.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/7.337, allocations: 11.7 kB / 3.309 GB, free: 80.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/7.337, allocations: 4 kB / 3.309 GB, free: 80.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/7.34, allocations: 0.955 MB / 3.31 GB, free: 79.98 MB / 410.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.001398/7.341, allocations: 1.343 MB / 3.311 GB, free: 78.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/7.343, allocations: 0.7264 MB / 3.312 GB, free: 77.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/7.343, allocations: 137.4 kB / 3.312 GB, free: 77.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06346/7.407, allocations: 37.36 MB / 3.349 GB, free: 35.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/7.407, allocations: 38.89 kB / 3.349 GB, free: 35.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/7.407, allocations: 0 / 3.349 GB, free: 35.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004296/7.411, allocations: 1.245 MB / 3.35 GB, free: 34.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/7.411, allocations: 55.41 kB / 3.35 GB, free: 34.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/7.412, allocations: 105.2 kB / 3.35 GB, free: 34.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/7.412, allocations: 29.7 kB / 3.35 GB, free: 34.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/7.412, allocations: 124.5 kB / 3.35 GB, free: 34.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/7.412, allocations: 110.3 kB / 3.35 GB, free: 34.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/7.412, allocations: 12 kB / 3.35 GB, free: 34.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/7.412, allocations: 322.8 kB / 3.351 GB, free: 33.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/7.412, allocations: 319.9 kB / 3.351 GB, free: 33.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/7.413, allocations: 371.7 kB / 3.351 GB, free: 33.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/7.413, allocations: 315.8 kB / 3.352 GB, free: 32.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/7.413, allocations: 0 / 3.352 GB, free: 32.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001302/7.414, allocations: 0.8215 MB / 3.352 GB, free: 31.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/7.415, allocations: 8 kB / 3.352 GB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/7.415, allocations: 0 / 3.352 GB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/7.415, allocations: 7.953 kB / 3.352 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/7.415, allocations: 180.1 kB / 3.353 GB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/7.415, allocations: 4 kB / 3.353 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/7.416, allocations: 47.92 kB / 3.353 GB, free: 31.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/7.416, allocations: 63.92 kB / 3.353 GB, free: 31.61 MB / 410.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.0001575/7.416, allocations: 128.8 kB / 3.353 GB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/7.416, allocations: 15.81 kB / 3.353 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/7.421, allocations: 6.51 MB / 3.359 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/7.421, allocations: 31.02 kB / 3.359 GB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/7.421, allocations: 7.953 kB / 3.359 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/7.421, allocations: 0 / 3.359 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/7.424, allocations: 2.887 MB / 3.362 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/7.424, allocations: 4 kB / 3.362 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/7.424, allocations: 123.8 kB / 3.362 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/7.424, allocations: 4 kB / 3.362 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/7.424, allocations: 23.97 kB / 3.362 GB, free: 21.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/7.424, allocations: 3.953 kB / 3.362 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.424, allocations: 0 / 3.362 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/7.426, allocations: 1.743 MB / 3.364 GB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/7.426, allocations: 140.3 kB / 3.364 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/7.426, allocations: 4 kB / 3.364 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/7.427, allocations: 23.98 kB / 3.364 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/7.427, allocations: 47.83 kB / 3.364 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/7.427, allocations: 32.03 kB / 3.364 GB, free: 19.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.863e-05/7.427, allocations: 91.22 kB / 3.364 GB, free: 19.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.162e-06/7.427, allocations: 0 / 3.364 GB, free: 19.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005215/7.432, allocations: 1.003 MB / 3.365 GB, free: 18.54 MB / 410.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: 13 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.region3boundary,$cse9.region3boundary,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.006702/7.439, allocations: 1.265 MB / 3.366 GB, free: 17.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/7.44, allocations: 0.8485 MB / 3.367 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/7.44, allocations: 0.5 kB / 3.367 GB, free: 16.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/7.441, allocations: 0.567 MB / 3.368 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/7.441, allocations: 78.11 kB / 3.368 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/7.443, allocations: 1.007 MB / 3.369 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/7.443, allocations: 0.8533 MB / 3.37 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002148/7.445, allocations: 2.739 MB / 3.372 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/7.445, allocations: 95.34 kB / 3.372 GB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/7.445, allocations: 0 / 3.372 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.2832/7.729, allocations: 31.58 MB / 3.403 GB, free: 87.66 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1)