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.001127/0.001127, allocations: 179.2 kB / 16.38 MB, free: 5.762 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.164/1.164, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001581/0.001581, allocations: 112.9 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07501/0.07531, allocations: 44.49 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.673/4.748, allocations: 2.845 GB / 3.191 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.01817/4.767, allocations: 11 MB / 3.202 GB, free: 101.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.416/5.183, allocations: 113 MB / 3.312 GB, free: 66.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/5.183, allocations: 0 / 3.312 GB, free: 66.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/5.183, allocations: 3.875 kB / 3.312 GB, free: 66.7 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.004222/5.187, allocations: 1.147 MB / 3.313 GB, free: 66.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/5.187, allocations: 10.44 kB / 3.313 GB, free: 66.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/5.188, allocations: 181.7 kB / 3.314 GB, free: 66.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/5.189, allocations: 256.6 kB / 3.314 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/5.189, allocations: 20.88 kB / 3.314 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/5.189, allocations: 15.22 kB / 3.314 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/5.191, allocations: 0.886 MB / 3.315 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/5.191, allocations: 6.875 kB / 3.315 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/5.191, allocations: 6.75 kB / 3.315 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/5.191, allocations: 6.375 kB / 3.315 GB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/5.194, allocations: 0.9661 MB / 3.316 GB, free: 65.8 MB / 410.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.001309/5.195, allocations: 1.343 MB / 3.317 GB, free: 64.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/5.198, allocations: 0.7088 MB / 3.318 GB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05965/5.257, allocations: 37.22 MB / 3.354 GB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/5.257, allocations: 36.75 kB / 3.354 GB, free: 42.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/5.257, allocations: 0 / 3.354 GB, free: 42.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004534/5.262, allocations: 1.329 MB / 3.355 GB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/5.262, allocations: 58.41 kB / 3.355 GB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/5.262, allocations: 115.9 kB / 3.356 GB, free: 42.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/5.262, allocations: 30.45 kB / 3.356 GB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/5.262, allocations: 119.1 kB / 3.356 GB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/5.262, allocations: 119 kB / 3.356 GB, free: 41.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/5.262, allocations: 5.188 kB / 3.356 GB, free: 41.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/5.262, allocations: 324.6 kB / 3.356 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/5.263, allocations: 334.5 kB / 3.356 GB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/5.263, allocations: 404.3 kB / 3.357 GB, free: 41.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/5.264, allocations: 336 kB / 3.357 GB, free: 41.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/5.264, allocations: 1.125 kB / 3.357 GB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001495/5.266, allocations: 0.8623 MB / 3.358 GB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/5.266, allocations: 7.219 kB / 3.358 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/5.266, allocations: 0 / 3.358 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/5.266, allocations: 4.531 kB / 3.358 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/5.266, allocations: 188 kB / 3.358 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/5.266, allocations: 3.969 kB / 3.358 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/5.267, allocations: 41.12 kB / 3.358 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/5.267, allocations: 66.58 kB / 3.358 GB, free: 41.41 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 () * 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.0001844/5.267, allocations: 138.2 kB / 3.358 GB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/5.267, allocations: 12.44 kB / 3.358 GB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/5.273, allocations: 7.821 MB / 3.366 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/5.273, allocations: 28.78 kB / 3.366 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/5.273, allocations: 3.953 kB / 3.366 GB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/5.273, allocations: 0 / 3.366 GB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/5.276, allocations: 3.504 MB / 3.37 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/5.276, allocations: 0 / 3.37 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/5.276, allocations: 112.8 kB / 3.37 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/5.276, allocations: 3.656 kB / 3.37 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/5.276, allocations: 11.56 kB / 3.37 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/5.276, allocations: 2.156 kB / 3.37 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/5.276, allocations: 0 / 3.37 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/5.278, allocations: 1.851 MB / 3.371 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/5.278, allocations: 144.5 kB / 3.372 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/5.278, allocations: 11.97 kB / 3.372 GB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/5.279, allocations: 28.78 kB / 3.372 GB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/5.279, allocations: 30.33 kB / 3.372 GB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/5.279, allocations: 21.3 kB / 3.372 GB, free: 36.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.121e-05/5.279, allocations: 91.7 kB / 3.372 GB, free: 36.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/5.279, allocations: 2.062 kB / 3.372 GB, free: 36.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004667/5.284, allocations: 1.002 MB / 3.373 GB, free: 35.98 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: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005025/5.289, allocations: 1.253 MB / 3.374 GB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/5.29, allocations: 0.8918 MB / 3.375 GB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/5.29, allocations: 5.375 kB / 3.375 GB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/5.291, allocations: 0.5932 MB / 3.375 GB, free: 35.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/5.291, allocations: 77.97 kB / 3.376 GB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/5.293, allocations: 1.592 MB / 3.377 GB, free: 34.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/5.293, allocations: 0.873 MB / 3.378 GB, free: 33.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001905/5.295, allocations: 1.736 MB / 3.38 GB, free: 33.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/5.295, allocations: 91.11 kB / 3.38 GB, free: 33.27 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/5.295, allocations: 4 kB / 3.38 GB, free: 33.27 MB / 410.7 MB Notification: Performance of Templates: time 0.03649/5.332, allocations: 31.15 MB / 3.41 GB, free: 31.34 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)