Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.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.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 170.9 kB / 7.644 MB, free: 1.406 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.125/1.125, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001519/0.001519, allocations: 112.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.944e-05, allocations: 3.938 kB / 262.2 MB, free: 26.44 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06228/0.06231, allocations: 38.77 MB / 301 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.743/5.805, allocations: 2.504 GB / 2.798 GB, free: 8.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/5.805, allocations: 66.59 kB / 2.798 GB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4721/6.278, allocations: 103.9 MB / 2.899 GB, free: 59.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/6.278, allocations: 4 kB / 2.899 GB, free: 59.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/6.278, allocations: 4.844 kB / 2.899 GB, free: 59.7 MB / 362.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.006333/6.284, allocations: 1.13 MB / 2.9 GB, free: 58.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/6.284, allocations: 12.02 kB / 2.9 GB, free: 58.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/6.284, allocations: 59.78 kB / 2.9 GB, free: 58.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/6.285, allocations: 227.1 kB / 2.9 GB, free: 58.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/6.285, allocations: 8 kB / 2.9 GB, free: 58.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/6.285, allocations: 8 kB / 2.9 GB, free: 58.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000334/6.285, allocations: 204.5 kB / 2.901 GB, free: 57.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/6.285, allocations: 205.6 kB / 2.901 GB, free: 57.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/6.285, allocations: 5.312 kB / 2.901 GB, free: 57.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/6.285, allocations: 0 / 2.901 GB, free: 57.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/6.285, allocations: 4 kB / 2.901 GB, free: 57.74 MB / 362.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.001116/6.287, allocations: 1.153 MB / 2.902 GB, free: 56.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/6.287, allocations: 164.2 kB / 2.902 GB, free: 56.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/6.287, allocations: 90.91 kB / 2.902 GB, free: 56.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07864/6.366, allocations: 47.27 MB / 2.948 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/6.366, allocations: 42.69 kB / 2.948 GB, free: 3.305 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.074e-06/6.366, allocations: 0 / 2.948 GB, free: 3.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004728/6.37, allocations: 1.222 MB / 2.95 GB, free: 2.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/6.37, allocations: 114.8 kB / 2.95 GB, free: 1.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/6.371, allocations: 116.8 kB / 2.95 GB, free: 1.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/6.371, allocations: 25.7 kB / 2.95 GB, free: 1.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/6.371, allocations: 100.7 kB / 2.95 GB, free: 1.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/6.371, allocations: 114.3 kB / 2.95 GB, free: 1.527 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/6.371, allocations: 0 / 2.95 GB, free: 1.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/6.371, allocations: 330.8 kB / 2.95 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/6.371, allocations: 96 kB / 2.951 GB, free: 1.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/6.371, allocations: 166.9 kB / 2.951 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/6.372, allocations: 176.3 kB / 2.951 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.372, allocations: 0 / 2.951 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001041/6.373, allocations: 390 kB / 2.951 GB, free: 360 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/6.373, allocations: 7.906 kB / 2.951 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/6.373, allocations: 4 kB / 2.951 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/6.373, allocations: 37.05 kB / 2.951 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/6.374, allocations: 91.88 kB / 2.951 GB, free: 216 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/6.609, allocations: 0.5439 MB / 2.952 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/6.61, allocations: 23.11 kB / 2.952 GB, free: 79.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/6.61, allocations: 16.5 kB / 2.952 GB, free: 79.88 MB / 362.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.0001506/6.61, allocations: 114.4 kB / 2.952 GB, free: 79.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/6.61, allocations: 14.83 kB / 2.952 GB, free: 79.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/6.613, allocations: 1.414 MB / 2.953 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/6.613, allocations: 21.12 kB / 2.953 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/6.613, allocations: 4.938 kB / 2.953 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/6.613, allocations: 4 kB / 2.953 GB, free: 79.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/6.616, allocations: 1.871 MB / 2.955 GB, free: 79.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/6.616, allocations: 2.781 kB / 2.955 GB, free: 79.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/6.616, allocations: 91.03 kB / 2.955 GB, free: 79.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/6.616, allocations: 63.19 kB / 2.955 GB, free: 79.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/6.616, allocations: 8.875 kB / 2.955 GB, free: 79.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003299/6.617, allocations: 0.6184 MB / 2.956 GB, free: 78.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/6.617, allocations: 2.219 kB / 2.956 GB, free: 78.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/6.618, allocations: 1.667 MB / 2.958 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/6.618, allocations: 126.3 kB / 2.958 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/6.619, allocations: 6.75 kB / 2.958 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/6.619, allocations: 25.22 kB / 2.958 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/6.619, allocations: 34.84 kB / 2.958 GB, free: 78.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/6.619, allocations: 18.98 kB / 2.958 GB, free: 78.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.081e-05/6.619, allocations: 91.89 kB / 2.958 GB, free: 78.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/6.619, allocations: 0 / 2.958 GB, free: 78.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005243/6.624, allocations: 0.9361 MB / 2.959 GB, free: 78.08 MB / 362.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.007172/6.632, allocations: 1.264 MB / 2.96 GB, free: 77.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/6.633, allocations: 0.5357 MB / 2.961 GB, free: 77.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/6.633, allocations: 0 / 2.961 GB, free: 77.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000512/6.633, allocations: 484.8 kB / 2.961 GB, free: 77.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/6.634, allocations: 69.75 kB / 2.961 GB, free: 77.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/6.636, allocations: 1.025 MB / 2.962 GB, free: 77.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/6.636, allocations: 0.8289 MB / 2.963 GB, free: 77.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004204/6.636, allocations: 135.3 kB / 2.963 GB, free: 77.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/6.637, allocations: 37.25 kB / 2.963 GB, free: 77.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/6.637, allocations: 1.219 kB / 2.963 GB, free: 77.05 MB / 362.7 MB Notification: Performance of Templates: time 0.03358/6.67, allocations: 25.11 MB / 2.988 GB, free: 76.5 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)