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.9422/0.9422, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002145/0.002144, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.866e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06161/0.06165, allocations: 25.18 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.752/3.814, allocations: 1.423 GB / 1.624 GB, free: 42.25 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/3.814, allocations: 57.52 kB / 1.624 GB, free: 42.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3957/4.21, allocations: 108.8 MB / 1.73 GB, free: 30.66 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.334e-06/4.21, allocations: 0 / 1.73 GB, free: 30.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/4.21, allocations: 6.812 kB / 1.73 GB, free: 30.66 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.006487/4.216, allocations: 1.143 MB / 1.731 GB, free: 30.03 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/4.216, allocations: 10.03 kB / 1.731 GB, free: 30.03 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/4.216, allocations: 15.5 kB / 1.731 GB, free: 30.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/4.217, allocations: 221 kB / 1.732 GB, free: 29.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/4.217, allocations: 14.28 kB / 1.732 GB, free: 29.81 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/4.217, allocations: 20.42 kB / 1.732 GB, free: 29.8 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008205/4.218, allocations: 319.4 kB / 1.732 GB, free: 29.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/4.218, allocations: 3.797 kB / 1.732 GB, free: 29.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/4.218, allocations: 7.125 kB / 1.732 GB, free: 29.69 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/4.218, allocations: 4 kB / 1.732 GB, free: 29.69 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/4.218, allocations: 260.2 kB / 1.732 GB, free: 29.54 MB / 234.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.001329/4.22, allocations: 1.289 MB / 1.733 GB, free: 28.3 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/4.22, allocations: 208.9 kB / 1.734 GB, free: 28.13 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/4.22, allocations: 86 kB / 1.734 GB, free: 28.07 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2321/4.452, allocations: 46.54 MB / 1.779 GB, free: 18.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/4.453, allocations: 37.75 kB / 1.779 GB, free: 18.01 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/4.453, allocations: 4.562 kB / 1.779 GB, free: 18.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=33): time 0.005036/4.458, allocations: 1.394 MB / 1.781 GB, free: 17.72 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/4.458, allocations: 111.2 kB / 1.781 GB, free: 17.6 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/4.458, allocations: 115.8 kB / 1.781 GB, free: 17.5 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/4.458, allocations: 29.7 kB / 1.781 GB, free: 17.47 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/4.458, allocations: 104.2 kB / 1.781 GB, free: 17.38 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/4.458, allocations: 118.2 kB / 1.781 GB, free: 17.32 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/4.458, allocations: 4.062 kB / 1.781 GB, free: 17.32 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/4.458, allocations: 330.3 kB / 1.781 GB, free: 17.01 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/4.458, allocations: 110.2 kB / 1.781 GB, free: 17.01 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/4.458, allocations: 166.6 kB / 1.782 GB, free: 16.95 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/4.458, allocations: 123 kB / 1.782 GB, free: 16.95 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/4.458, allocations: 3.969 kB / 1.782 GB, free: 16.95 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005674/4.459, allocations: 368.7 kB / 1.782 GB, free: 16.89 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/4.459, allocations: 6.75 kB / 1.782 GB, free: 16.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.515e-06/4.459, allocations: 7.703 kB / 1.782 GB, free: 16.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/4.459, allocations: 37.64 kB / 1.782 GB, free: 16.88 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/4.46, allocations: 90.67 kB / 1.782 GB, free: 16.88 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002909/4.46, allocations: 0.5474 MB / 1.783 GB, free: 16.37 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/4.46, allocations: 37.58 kB / 1.783 GB, free: 16.36 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/4.46, allocations: 16.48 kB / 1.783 GB, free: 16.36 MB / 234.7 MB Warning: Assuming fixed start value for the following 3 variables: V:VARIABLE(start = 0.1 unit = "m3" ) type: Real medium.h:VARIABLE(min = -100000000.0 max = 100000000.0 start = 100000.0 unit = "J/kg" 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" 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 () * 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.0001915/4.461, allocations: 147.6 kB / 1.783 GB, free: 16.25 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/4.461, allocations: 16.25 kB / 1.783 GB, free: 16.25 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/4.462, allocations: 1.15 MB / 1.784 GB, free: 16.12 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/4.462, allocations: 15.84 kB / 1.784 GB, free: 16.12 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/4.462, allocations: 3.75 kB / 1.784 GB, free: 16.12 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/4.462, allocations: 3.844 kB / 1.784 GB, free: 16.12 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/4.464, allocations: 1.595 MB / 1.786 GB, free: 15.74 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/4.464, allocations: 3.562 kB / 1.786 GB, free: 15.74 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/4.464, allocations: 89.56 kB / 1.786 GB, free: 15.74 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/4.464, allocations: 65.98 kB / 1.786 GB, free: 15.73 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/4.465, allocations: 21.78 kB / 1.786 GB, free: 15.72 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002167/4.465, allocations: 0.5865 MB / 1.786 GB, free: 15.21 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/4.465, allocations: 3.844 kB / 1.786 GB, free: 15.21 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/4.466, allocations: 1.516 MB / 1.788 GB, free: 14.73 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/4.466, allocations: 121.3 kB / 1.788 GB, free: 14.62 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/4.466, allocations: 13.16 kB / 1.788 GB, free: 14.62 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/4.466, allocations: 26.09 kB / 1.788 GB, free: 14.62 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.955e-05/4.467, allocations: 35.86 kB / 1.788 GB, free: 14.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/4.467, allocations: 19.02 kB / 1.788 GB, free: 14.62 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.233e-05/4.467, allocations: 86.69 kB / 1.788 GB, free: 14.55 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.503e-06/4.467, allocations: 0 / 1.788 GB, free: 14.55 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003971/4.471, allocations: 1.033 MB / 1.789 GB, free: 14.55 MB / 234.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 () * 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.005173/4.476, allocations: 1.333 MB / 1.79 GB, free: 14.34 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/4.477, allocations: 0.5197 MB / 1.791 GB, free: 14.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.477, allocations: 1.312 kB / 1.791 GB, free: 14.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005802/4.477, allocations: 454 kB / 1.791 GB, free: 14.31 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005827/4.478, allocations: 75.64 kB / 1.792 GB, free: 14.31 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/4.48, allocations: 0.9239 MB / 1.792 GB, free: 14.11 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/4.48, allocations: 0.7961 MB / 1.793 GB, free: 13.41 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0003493/4.48, allocations: 107.2 kB / 1.793 GB, free: 13.4 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/4.48, allocations: 41.42 kB / 1.793 GB, free: 13.39 MB / 234.7 MB Notification: Performance of SimCode: time 3.91e-07/4.48, allocations: 0 / 1.793 GB, free: 13.39 MB / 234.7 MB Notification: Performance of Templates: time 0.0317/4.512, allocations: 27.87 MB / 1.821 GB, free: 12.02 MB / 234.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)