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.001222/0.001221, allocations: 182.4 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.364/1.364, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001786/0.001785, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.043e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06875/0.06879, allocations: 44.51 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.165/6.234, allocations: 2.614 GB / 2.956 GB, free: 98.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/6.234, allocations: 68.31 kB / 2.956 GB, free: 98.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2508/6.485, allocations: 107.1 MB / 3.06 GB, free: 4.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/6.485, allocations: 0 / 3.06 GB, free: 4.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/6.485, allocations: 4 kB / 3.06 GB, free: 4.07 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.006341/6.491, allocations: 1.142 MB / 3.061 GB, free: 2.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/6.491, allocations: 8.031 kB / 3.061 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004736/6.492, allocations: 60.16 kB / 3.061 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/6.492, allocations: 218.8 kB / 3.062 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/6.492, allocations: 16.28 kB / 3.062 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/6.492, allocations: 12 kB / 3.062 GB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/6.493, allocations: 372.9 kB / 3.062 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/6.493, allocations: 3.938 kB / 3.062 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/6.493, allocations: 8 kB / 3.062 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/6.493, allocations: 4 kB / 3.062 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/6.494, allocations: 311.7 kB / 3.062 GB, free: 1.82 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.001189/6.495, allocations: 1.199 MB / 3.063 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/6.496, allocations: 260.3 kB / 3.064 GB, free: 240 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/6.496, allocations: 94.94 kB / 3.064 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3407/6.836, allocations: 47.35 MB / 3.11 GB, free: 45.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/6.836, allocations: 40.06 kB / 3.11 GB, free: 45.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.695e-06/6.836, allocations: 0 / 3.11 GB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.005162/6.842, allocations: 1.416 MB / 3.111 GB, free: 45.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/6.842, allocations: 112 kB / 3.112 GB, free: 45.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/6.842, allocations: 112.2 kB / 3.112 GB, free: 45.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/6.842, allocations: 34.61 kB / 3.112 GB, free: 45.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/6.842, allocations: 104.5 kB / 3.112 GB, free: 45.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/6.842, allocations: 120.1 kB / 3.112 GB, free: 45.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/6.842, allocations: 11.72 kB / 3.112 GB, free: 45.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/6.842, allocations: 326.5 kB / 3.112 GB, free: 44.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/6.842, allocations: 109.5 kB / 3.112 GB, free: 44.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/6.842, allocations: 169.1 kB / 3.112 GB, free: 44.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/6.843, allocations: 122.2 kB / 3.113 GB, free: 44.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/6.843, allocations: 0.75 kB / 3.113 GB, free: 44.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005855/6.843, allocations: 364.2 kB / 3.113 GB, free: 44.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/6.843, allocations: 7.969 kB / 3.113 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/6.843, allocations: 3.969 kB / 3.113 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/6.843, allocations: 40.08 kB / 3.113 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/6.844, allocations: 91 kB / 3.113 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003435/6.844, allocations: 0.5461 MB / 3.114 GB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/6.845, allocations: 24.25 kB / 3.114 GB, free: 44.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/6.845, allocations: 21.62 kB / 3.114 GB, free: 44.08 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 () * 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.0001021/6.845, allocations: 128.8 kB / 3.114 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/6.845, allocations: 15.66 kB / 3.114 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/6.846, allocations: 1.432 MB / 3.115 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/6.846, allocations: 23.2 kB / 3.115 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/6.846, allocations: 0 / 3.115 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/6.847, allocations: 3.062 kB / 3.115 GB, free: 43.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/6.849, allocations: 1.96 MB / 3.117 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/6.849, allocations: 5.219 kB / 3.117 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/6.849, allocations: 85.7 kB / 3.117 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/6.85, allocations: 73.31 kB / 3.117 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/6.85, allocations: 14.88 kB / 3.117 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002974/6.85, allocations: 0.5867 MB / 3.118 GB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/6.85, allocations: 3.938 kB / 3.118 GB, free: 42.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/6.852, allocations: 1.674 MB / 3.12 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/6.852, allocations: 128.2 kB / 3.12 GB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/6.852, allocations: 10.72 kB / 3.12 GB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/6.852, allocations: 29.86 kB / 3.12 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/6.852, allocations: 29.66 kB / 3.12 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/6.852, allocations: 16.22 kB / 3.12 GB, free: 42.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.585e-05/6.852, allocations: 97.31 kB / 3.12 GB, free: 42.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/6.852, allocations: 3.172 kB / 3.12 GB, free: 42.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005214/6.858, allocations: 0.9611 MB / 3.121 GB, free: 42.19 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 () * 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.005851/6.863, allocations: 1.243 MB / 3.122 GB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/6.865, allocations: 0.563 MB / 3.123 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/6.865, allocations: 0 / 3.123 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005436/6.865, allocations: 492.2 kB / 3.123 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/6.866, allocations: 74.23 kB / 3.123 GB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/6.868, allocations: 1.055 MB / 3.124 GB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/6.868, allocations: 0.8214 MB / 3.125 GB, free: 40.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004149/6.868, allocations: 144.4 kB / 3.125 GB, free: 40.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/6.868, allocations: 34.45 kB / 3.125 GB, free: 40.96 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/6.868, allocations: 3.531 kB / 3.125 GB, free: 40.96 MB / 410.7 MB Notification: Performance of Templates: time 0.03582/6.904, allocations: 27.41 MB / 3.152 GB, free: 39.45 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)