Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8045/0.8045, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001727/0.001727, allocations: 142.5 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002686/0.0002686, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.018/3.161, allocations: 1.423 GB / 1.629 GB, free: 49.65 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/3.162, allocations: 58.61 kB / 1.629 GB, free: 49.65 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3713/3.533, allocations: 109 MB / 1.735 GB, free: 31.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.623e-06/3.533, allocations: 0 / 1.735 GB, free: 31.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/3.533, allocations: 3.688 kB / 1.735 GB, free: 31.7 MB / 234.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.005781/3.539, allocations: 1.149 MB / 1.736 GB, free: 31.05 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/3.539, allocations: 12.06 kB / 1.736 GB, free: 31.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/3.539, allocations: 15.34 kB / 1.736 GB, free: 31.05 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/3.539, allocations: 219.3 kB / 1.736 GB, free: 30.84 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/3.539, allocations: 15.03 kB / 1.736 GB, free: 30.84 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/3.539, allocations: 11.98 kB / 1.736 GB, free: 30.84 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/3.54, allocations: 346.5 kB / 1.737 GB, free: 30.74 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/3.54, allocations: 3.906 kB / 1.737 GB, free: 30.74 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/3.54, allocations: 11.06 kB / 1.737 GB, free: 30.74 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/3.54, allocations: 3.781 kB / 1.737 GB, free: 30.74 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/3.541, allocations: 330.1 kB / 1.737 GB, free: 30.73 MB / 234.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.001148/3.542, allocations: 1.304 MB / 1.738 GB, free: 29.6 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/3.543, allocations: 218.3 kB / 1.739 GB, free: 29.52 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0744/3.617, allocations: 46.38 MB / 1.784 GB, free: 5.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/3.617, allocations: 46.03 kB / 1.784 GB, free: 5.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/3.617, allocations: 1.594 kB / 1.784 GB, free: 5.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.006721/3.624, allocations: 1.598 MB / 1.785 GB, free: 4.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/3.624, allocations: 106.8 kB / 1.786 GB, free: 3.902 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/3.624, allocations: 115.5 kB / 1.786 GB, free: 3.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/3.624, allocations: 29.64 kB / 1.786 GB, free: 3.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/3.624, allocations: 111.8 kB / 1.786 GB, free: 3.656 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/3.624, allocations: 112.9 kB / 1.786 GB, free: 3.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/3.625, allocations: 3.938 kB / 1.786 GB, free: 3.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/3.625, allocations: 330.3 kB / 1.786 GB, free: 3.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/3.625, allocations: 141.5 kB / 1.786 GB, free: 3.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/3.625, allocations: 199.6 kB / 1.787 GB, free: 3.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/3.626, allocations: 168.3 kB / 1.787 GB, free: 2.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/3.626, allocations: 3.609 kB / 1.787 GB, free: 2.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001057/3.627, allocations: 425.8 kB / 1.787 GB, free: 2.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/3.627, allocations: 11.7 kB / 1.787 GB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/3.627, allocations: 2.531 kB / 1.787 GB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/3.627, allocations: 40 kB / 1.787 GB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/3.628, allocations: 93.77 kB / 1.787 GB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/3.628, allocations: 0.553 MB / 1.788 GB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/3.628, allocations: 23.28 kB / 1.788 GB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/3.628, allocations: 18.58 kB / 1.788 GB, free: 1.863 MB / 250.7 MB Warning: Assuming fixed start value for the following 3 variables: V:VARIABLE(start = 0.1 unit = "m3" fixed = true ) type: Real medium.h:VARIABLE(min = -100000000.0 max = 100000000.0 start = 100000.0 unit = "J/kg" fixed = true nominal = 1000000.0 stateSelect=StateSelect.prefer ) "Specific enthalpy of medium" type: Real medium.p:VARIABLE(min = max(0.0, max(0.0, 2000.0)) max = min(100000000.0, min(100000000.0, 1000000000.0)) start = 100000.0 unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real 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.000277/3.629, allocations: 164.9 kB / 1.788 GB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/3.629, allocations: 15.81 kB / 1.788 GB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/3.631, allocations: 1.222 MB / 1.789 GB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/3.631, allocations: 18.94 kB / 1.789 GB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/3.631, allocations: 4 kB / 1.789 GB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/3.631, allocations: 0 / 1.789 GB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1272/3.758, allocations: 1.662 MB / 1.791 GB, free: 46.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/3.758, allocations: 1.375 kB / 1.791 GB, free: 46.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/3.758, allocations: 84.77 kB / 1.791 GB, free: 46.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/3.759, allocations: 72.52 kB / 1.791 GB, free: 46.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/3.759, allocations: 20.33 kB / 1.791 GB, free: 46.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002415/3.759, allocations: 0.5885 MB / 1.792 GB, free: 45.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/3.759, allocations: 0.9375 kB / 1.792 GB, free: 45.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/3.761, allocations: 1.611 MB / 1.793 GB, free: 45.42 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/3.761, allocations: 120.2 kB / 1.793 GB, free: 45.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/3.761, allocations: 12.16 kB / 1.793 GB, free: 45.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/3.761, allocations: 30.33 kB / 1.793 GB, free: 45.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/3.761, allocations: 32.08 kB / 1.793 GB, free: 45.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/3.761, allocations: 18.06 kB / 1.793 GB, free: 45.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/3.761, allocations: 93.73 kB / 1.794 GB, free: 45.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/3.761, allocations: 0 / 1.794 GB, free: 45.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.004295/3.766, allocations: 1.024 MB / 1.795 GB, free: 45.25 MB / 250.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: 9 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,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): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006399/3.772, allocations: 1.32 MB / 1.796 GB, free: 45.1 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/3.774, allocations: 0.5694 MB / 1.796 GB, free: 45.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/3.774, allocations: 0 / 1.796 GB, free: 45.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006507/3.774, allocations: 475.8 kB / 1.797 GB, free: 45.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/3.775, allocations: 70.16 kB / 1.797 GB, free: 45.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/3.777, allocations: 1.38 MB / 1.798 GB, free: 44.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/3.777, allocations: 0.801 MB / 1.799 GB, free: 43.9 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003578/3.778, allocations: 109.5 kB / 1.799 GB, free: 43.9 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/3.778, allocations: 38.98 kB / 1.799 GB, free: 43.89 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/3.778, allocations: 3.25 kB / 1.799 GB, free: 43.89 MB / 250.7 MB Notification: Performance of Templates: time 0.03301/3.811, allocations: 26.91 MB / 1.825 GB, free: 42.97 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)