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.001549/0.001549, allocations: 171.3 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.206/1.206, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001579/0.001579, allocations: 95.47 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.568e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.073, allocations: 38.77 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.528/6.601, allocations: 2.734 GB / 3.028 GB, free: 41.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.02007/6.621, allocations: 10.64 MB / 3.038 GB, free: 31.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5121/7.133, allocations: 108.7 MB / 3.145 GB, free: 54.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/7.133, allocations: 0 / 3.145 GB, free: 54.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/7.133, allocations: 0 / 3.145 GB, free: 54.17 MB / 346.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.005874/7.139, allocations: 1.128 MB / 3.146 GB, free: 53.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/7.139, allocations: 8.031 kB / 3.146 GB, free: 53.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/7.141, allocations: 188.3 kB / 3.146 GB, free: 52.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/7.141, allocations: 263.8 kB / 3.146 GB, free: 52.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/7.141, allocations: 8 kB / 3.146 GB, free: 52.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/7.141, allocations: 12 kB / 3.146 GB, free: 52.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000516/7.142, allocations: 353.2 kB / 3.147 GB, free: 52.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/7.142, allocations: 283.8 kB / 3.147 GB, free: 52.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/7.142, allocations: 0 / 3.147 GB, free: 52.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/7.142, allocations: 0 / 3.147 GB, free: 52.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/7.142, allocations: 8 kB / 3.147 GB, free: 52.06 MB / 346.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.001561/7.144, allocations: 1.297 MB / 3.148 GB, free: 50.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/7.144, allocations: 251.6 kB / 3.148 GB, free: 50.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/7.144, allocations: 140.9 kB / 3.148 GB, free: 50.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06495/7.209, allocations: 36.71 MB / 3.184 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/7.209, allocations: 34.84 kB / 3.184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/7.209, allocations: 0 / 3.184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.003188/7.212, allocations: 0.7845 MB / 3.185 GB, free: 10.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/7.212, allocations: 59.41 kB / 3.185 GB, free: 10.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/7.212, allocations: 117 kB / 3.185 GB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/7.213, allocations: 25.7 kB / 3.185 GB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/7.213, allocations: 112.5 kB / 3.185 GB, free: 10.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.731e-05/7.213, allocations: 110.3 kB / 3.185 GB, free: 10.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/7.213, allocations: 0 / 3.185 GB, free: 10.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/7.213, allocations: 334.7 kB / 3.186 GB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/7.213, allocations: 303.9 kB / 3.186 GB, free: 9.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/7.214, allocations: 375.4 kB / 3.186 GB, free: 9.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/7.215, allocations: 424 kB / 3.187 GB, free: 8.918 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.215, allocations: 0 / 3.187 GB, free: 8.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002695/7.218, allocations: 0.8994 MB / 3.188 GB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/7.218, allocations: 8 kB / 3.188 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/7.218, allocations: 0 / 3.188 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/7.218, allocations: 4 kB / 3.188 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/7.219, allocations: 188 kB / 3.188 GB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/7.219, allocations: 4 kB / 3.188 GB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/7.219, allocations: 39.61 kB / 3.188 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/7.219, allocations: 59.94 kB / 3.188 GB, free: 7.715 MB / 346.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.0001667/7.22, allocations: 120.8 kB / 3.188 GB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/7.22, allocations: 19.81 kB / 3.188 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/7.225, allocations: 6.294 MB / 3.194 GB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/7.225, allocations: 19.97 kB / 3.194 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.225, allocations: 0 / 3.194 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/7.225, allocations: 3.984 kB / 3.194 GB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2379/7.463, allocations: 2.745 MB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/7.463, allocations: 0 / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/7.463, allocations: 128.4 kB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/7.463, allocations: 1.688 kB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/7.463, allocations: 18.33 kB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-05/7.464, allocations: 5.406 kB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/7.464, allocations: 1.969 kB / 3.197 GB, free: 57.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/7.466, allocations: 1.505 MB / 3.199 GB, free: 56.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.542e-05/7.466, allocations: 127.5 kB / 3.199 GB, free: 56.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/7.466, allocations: 1.875 kB / 3.199 GB, free: 56.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/7.467, allocations: 15.33 kB / 3.199 GB, free: 56.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/7.467, allocations: 38.95 kB / 3.199 GB, free: 56.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/7.467, allocations: 27.44 kB / 3.199 GB, free: 56.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.804e-05/7.467, allocations: 92.41 kB / 3.199 GB, free: 56.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/7.467, allocations: 0 / 3.199 GB, free: 56.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005656/7.473, allocations: 0.975 MB / 3.2 GB, free: 56.77 MB / 346.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.006364/7.479, allocations: 1.271 MB / 3.201 GB, free: 56.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/7.48, allocations: 0.7693 MB / 3.202 GB, free: 56.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.48, allocations: 4.719 kB / 3.202 GB, free: 56.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006411/7.481, allocations: 478.2 kB / 3.202 GB, free: 56.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/7.482, allocations: 71.98 kB / 3.202 GB, free: 56.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/7.483, allocations: 0.8616 MB / 3.203 GB, free: 56.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/7.484, allocations: 0.8103 MB / 3.204 GB, free: 55.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004059/7.488, allocations: 2.74 MB / 3.207 GB, free: 55.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/7.488, allocations: 101.9 kB / 3.207 GB, free: 55.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/7.488, allocations: 0 / 3.207 GB, free: 55.76 MB / 346.7 MB Notification: Performance of Templates: time 0.0414/7.53, allocations: 29.1 MB / 3.235 GB, free: 55 MB / 346.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)