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.001146/0.001146, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.455/1.455, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001684/0.001684, allocations: 103.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.578e-05, allocations: 0 / 268.8 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.688/6.802, allocations: 2.504 GB / 2.805 GB, free: 37.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/6.803, allocations: 69.16 kB / 2.805 GB, free: 37.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5171/7.32, allocations: 105.7 MB / 2.908 GB, free: 80.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/7.32, allocations: 0 / 2.908 GB, free: 80.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/7.32, allocations: 4 kB / 2.908 GB, free: 80.92 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.007204/7.327, allocations: 1.133 MB / 2.909 GB, free: 79.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/7.327, allocations: 8.031 kB / 2.909 GB, free: 79.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004755/7.328, allocations: 53.97 kB / 2.909 GB, free: 79.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/7.328, allocations: 223.6 kB / 2.909 GB, free: 79.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/7.328, allocations: 11.92 kB / 2.909 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/7.328, allocations: 19.25 kB / 2.909 GB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/7.329, allocations: 372.2 kB / 2.91 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/7.329, allocations: 7.844 kB / 2.91 GB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/7.329, allocations: 10.94 kB / 2.91 GB, free: 79.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/7.329, allocations: 6.812 kB / 2.91 GB, free: 79.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/7.33, allocations: 302 kB / 2.91 GB, free: 79.2 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.001235/7.331, allocations: 1.194 MB / 2.911 GB, free: 78.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/7.332, allocations: 269.3 kB / 2.911 GB, free: 77.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/7.332, allocations: 98.33 kB / 2.912 GB, free: 77.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08465/7.417, allocations: 47.27 MB / 2.958 GB, free: 29.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/7.417, allocations: 39.09 kB / 2.958 GB, free: 29.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.404e-06/7.417, allocations: 0 / 2.958 GB, free: 29.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.005357/7.422, allocations: 1.414 MB / 2.959 GB, free: 27.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/7.422, allocations: 114.8 kB / 2.959 GB, free: 27.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/7.422, allocations: 111.1 kB / 2.959 GB, free: 27.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/7.422, allocations: 33.7 kB / 2.959 GB, free: 27.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/7.422, allocations: 100.7 kB / 2.959 GB, free: 27.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/7.422, allocations: 122.3 kB / 2.96 GB, free: 27.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/7.423, allocations: 8 kB / 2.96 GB, free: 27.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/7.423, allocations: 334.8 kB / 2.96 GB, free: 26.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/7.423, allocations: 112 kB / 2.96 GB, free: 26.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/7.423, allocations: 166.7 kB / 2.96 GB, free: 26.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/7.423, allocations: 124.5 kB / 2.96 GB, free: 26.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/7.423, allocations: 0 / 2.96 GB, free: 26.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000592/7.424, allocations: 374.1 kB / 2.961 GB, free: 26.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/7.424, allocations: 8.031 kB / 2.961 GB, free: 26.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/7.424, allocations: 4 kB / 2.961 GB, free: 26.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/7.424, allocations: 32.84 kB / 2.961 GB, free: 26.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/7.424, allocations: 88.25 kB / 2.961 GB, free: 25.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002896/7.425, allocations: 0.5562 MB / 2.961 GB, free: 25.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/7.425, allocations: 27.97 kB / 2.961 GB, free: 25.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/7.425, allocations: 15.98 kB / 2.961 GB, free: 25.36 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.0001147/7.425, allocations: 124.9 kB / 2.961 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/7.425, allocations: 19.77 kB / 2.962 GB, free: 25.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/7.427, allocations: 1.438 MB / 2.963 GB, free: 23.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/7.427, allocations: 19.97 kB / 2.963 GB, free: 23.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/7.427, allocations: 0 / 2.963 GB, free: 23.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/7.427, allocations: 0 / 2.963 GB, free: 23.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/7.429, allocations: 1.971 MB / 2.965 GB, free: 21.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/7.429, allocations: 4 kB / 2.965 GB, free: 21.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/7.429, allocations: 91.98 kB / 2.965 GB, free: 21.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/7.43, allocations: 64.8 kB / 2.965 GB, free: 21.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/7.43, allocations: 15.98 kB / 2.965 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002859/7.43, allocations: 0.599 MB / 2.966 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/7.43, allocations: 4.031 kB / 2.966 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/7.432, allocations: 1.676 MB / 2.967 GB, free: 19.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/7.432, allocations: 128.5 kB / 2.967 GB, free: 19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/7.432, allocations: 15.95 kB / 2.967 GB, free: 18.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/7.432, allocations: 23.98 kB / 2.967 GB, free: 18.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/7.432, allocations: 31.95 kB / 2.967 GB, free: 18.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/7.432, allocations: 11.98 kB / 2.967 GB, free: 18.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.643e-05/7.432, allocations: 91.28 kB / 2.968 GB, free: 18.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/7.432, allocations: 0 / 2.968 GB, free: 18.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005579/7.438, allocations: 0.96 MB / 2.968 GB, free: 17.87 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.007265/7.445, allocations: 1.239 MB / 2.97 GB, free: 16.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/7.446, allocations: 0.5505 MB / 2.97 GB, free: 16.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/7.446, allocations: 0 / 2.97 GB, free: 16.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/7.447, allocations: 497.4 kB / 2.971 GB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/7.447, allocations: 72.77 kB / 2.971 GB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/7.449, allocations: 1.062 MB / 2.972 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/7.449, allocations: 0.8256 MB / 2.973 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004189/7.45, allocations: 131.8 kB / 2.973 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/7.45, allocations: 43.41 kB / 2.973 GB, free: 13.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.014e-06/7.45, allocations: 0 / 2.973 GB, free: 13.4 MB / 362.7 MB Notification: Performance of Templates: time 0.284/7.734, allocations: 27.23 MB / 2.999 GB, free: 80.87 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)