Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.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.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001139/0.001139, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.16/1.16, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001606/0.001606, allocations: 116 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 12 kB / 310.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08077, allocations: 44.51 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.265/4.346, allocations: 2.614 GB / 2.961 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/4.346, allocations: 72.84 kB / 2.961 GB, free: 104.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2291/4.575, allocations: 107.3 MB / 3.066 GB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/4.575, allocations: 0 / 3.066 GB, free: 5.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/4.575, allocations: 4 kB / 3.066 GB, free: 5.688 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005118/4.581, allocations: 1.149 MB / 3.067 GB, free: 4.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/4.581, allocations: 8.031 kB / 3.067 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/4.581, allocations: 56.06 kB / 3.067 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/4.581, allocations: 218.9 kB / 3.067 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/4.581, allocations: 8.281 kB / 3.067 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/4.581, allocations: 16 kB / 3.067 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/4.582, allocations: 396.8 kB / 3.068 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/4.582, allocations: 0 / 3.068 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/4.582, allocations: 8 kB / 3.068 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/4.582, allocations: 4 kB / 3.068 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/4.584, allocations: 379.5 kB / 3.068 GB, free: 3.352 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.001017/4.585, allocations: 1.193 MB / 3.069 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/4.585, allocations: 292.2 kB / 3.07 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2383/4.824, allocations: 47.18 MB / 3.116 GB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/4.824, allocations: 41.5 kB / 3.116 GB, free: 44.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.324e-06/4.824, allocations: 0 / 3.116 GB, free: 44.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.006328/4.83, allocations: 1.613 MB / 3.117 GB, free: 43.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/4.83, allocations: 113 kB / 3.117 GB, free: 43.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/4.83, allocations: 117.5 kB / 3.117 GB, free: 43.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/4.83, allocations: 31.52 kB / 3.118 GB, free: 43.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/4.83, allocations: 102.9 kB / 3.118 GB, free: 43.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/4.83, allocations: 117.4 kB / 3.118 GB, free: 43.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/4.83, allocations: 7.25 kB / 3.118 GB, free: 43.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/4.83, allocations: 329.5 kB / 3.118 GB, free: 43.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/4.831, allocations: 141.4 kB / 3.118 GB, free: 43.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/4.831, allocations: 204.1 kB / 3.118 GB, free: 43.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/4.831, allocations: 156.1 kB / 3.119 GB, free: 43.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/4.831, allocations: 2.375 kB / 3.119 GB, free: 43.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009657/4.832, allocations: 432.5 kB / 3.119 GB, free: 43.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/4.832, allocations: 5.844 kB / 3.119 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/4.832, allocations: 2.062 kB / 3.119 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/4.833, allocations: 42.33 kB / 3.119 GB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/4.833, allocations: 90.53 kB / 3.119 GB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002399/4.833, allocations: 0.545 MB / 3.12 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/4.834, allocations: 28.8 kB / 3.12 GB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/4.834, allocations: 20.73 kB / 3.12 GB, free: 42.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000116/4.834, allocations: 133.8 kB / 3.12 GB, free: 42.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/4.834, allocations: 17.22 kB / 3.12 GB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/4.836, allocations: 1.476 MB / 3.121 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/4.836, allocations: 22.55 kB / 3.121 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/4.836, allocations: 1.375 kB / 3.121 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/4.836, allocations: 1.281 kB / 3.121 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/4.838, allocations: 1.99 MB / 3.123 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/4.838, allocations: 2.031 kB / 3.123 GB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/4.839, allocations: 92.08 kB / 3.123 GB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/4.839, allocations: 74.91 kB / 3.123 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/4.839, allocations: 14.97 kB / 3.123 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002879/4.839, allocations: 0.5941 MB / 3.124 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/4.839, allocations: 3.844 kB / 3.124 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/4.842, allocations: 1.77 MB / 3.126 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/4.842, allocations: 126.8 kB / 3.126 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/4.842, allocations: 15.03 kB / 3.126 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/4.842, allocations: 24.69 kB / 3.126 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/4.842, allocations: 29.25 kB / 3.126 GB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/4.842, allocations: 18.53 kB / 3.126 GB, free: 40.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.57e-05/4.842, allocations: 97.83 kB / 3.126 GB, free: 40.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/4.842, allocations: 0 / 3.126 GB, free: 40.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004205/4.847, allocations: 0.9689 MB / 3.127 GB, free: 40.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005043/4.852, allocations: 1.238 MB / 3.128 GB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/4.853, allocations: 0.6017 MB / 3.129 GB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/4.853, allocations: 0 / 3.129 GB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/4.854, allocations: 0.5202 MB / 3.129 GB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/4.854, allocations: 79.03 kB / 3.129 GB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/4.856, allocations: 1.564 MB / 3.131 GB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/4.856, allocations: 0.8264 MB / 3.132 GB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004526/4.857, allocations: 134.7 kB / 3.132 GB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/4.857, allocations: 33 kB / 3.132 GB, free: 39.11 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/4.857, allocations: 0 / 3.132 GB, free: 39.11 MB / 410.7 MB Notification: Performance of Templates: time 0.03182/4.889, allocations: 26.5 MB / 3.158 GB, free: 37.71 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.2_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe 2>&1)