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.009709/0.009709, allocations: 165 kB / 15.11 MB, free: 6.039 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.579/1.579, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.001742/0.001743, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004993, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2599, allocations: 38.76 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.431/5.691, allocations: 2.504 GB / 2.81 GB, free: 76.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/5.691, allocations: 73.59 kB / 2.81 GB, free: 76.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4091/6.1, allocations: 105.9 MB / 2.913 GB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.006e-06/6.1, allocations: 0 / 2.913 GB, free: 66.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/6.1, allocations: 8.875 kB / 2.913 GB, free: 66.52 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.005761/6.106, allocations: 1.143 MB / 2.914 GB, free: 65.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/6.106, allocations: 7.906 kB / 2.914 GB, free: 65.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/6.106, allocations: 49.59 kB / 2.915 GB, free: 65.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/6.107, allocations: 235.6 kB / 2.915 GB, free: 65.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/6.107, allocations: 11.92 kB / 2.915 GB, free: 65.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/6.107, allocations: 19.09 kB / 2.915 GB, free: 65.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/6.108, allocations: 392.5 kB / 2.915 GB, free: 65.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/6.108, allocations: 3.75 kB / 2.915 GB, free: 65.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/6.108, allocations: 7.406 kB / 2.915 GB, free: 65.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/6.108, allocations: 3.875 kB / 2.915 GB, free: 65.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/6.109, allocations: 367.1 kB / 2.916 GB, free: 65.61 MB / 362.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.001058/6.11, allocations: 1.185 MB / 2.917 GB, free: 64.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/6.111, allocations: 283.6 kB / 2.917 GB, free: 64.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07382/6.185, allocations: 47.12 MB / 2.963 GB, free: 35.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/6.185, allocations: 36.22 kB / 2.963 GB, free: 35.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.783e-06/6.185, allocations: 0 / 2.963 GB, free: 35.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.006532/6.191, allocations: 1.628 MB / 2.965 GB, free: 34.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/6.191, allocations: 116.3 kB / 2.965 GB, free: 34.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/6.192, allocations: 110.4 kB / 2.965 GB, free: 34.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/6.192, allocations: 35.98 kB / 2.965 GB, free: 34.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/6.192, allocations: 103.7 kB / 2.965 GB, free: 34.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/6.192, allocations: 115.9 kB / 2.965 GB, free: 34.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/6.192, allocations: 11.34 kB / 2.965 GB, free: 34.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.155e-05/6.192, allocations: 326 kB / 2.965 GB, free: 33.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/6.192, allocations: 136.5 kB / 2.966 GB, free: 33.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/6.192, allocations: 209 kB / 2.966 GB, free: 33.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/6.193, allocations: 154.5 kB / 2.966 GB, free: 33.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/6.193, allocations: 0 / 2.966 GB, free: 33.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009264/6.194, allocations: 443 kB / 2.966 GB, free: 33.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/6.194, allocations: 5.125 kB / 2.966 GB, free: 33.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/6.194, allocations: 3.969 kB / 2.966 GB, free: 33.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/6.194, allocations: 39.88 kB / 2.966 GB, free: 33.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/6.195, allocations: 89.06 kB / 2.966 GB, free: 33.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002474/6.195, allocations: 0.5581 MB / 2.967 GB, free: 33.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/6.195, allocations: 32.97 kB / 2.967 GB, free: 33.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/6.195, allocations: 17.77 kB / 2.967 GB, free: 33.26 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 () * 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.0001144/6.195, allocations: 134.6 kB / 2.967 GB, free: 33.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.279e-05/6.195, allocations: 19.64 kB / 2.967 GB, free: 33.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/6.197, allocations: 1.469 MB / 2.969 GB, free: 32.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/6.197, allocations: 19.11 kB / 2.969 GB, free: 32.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/6.197, allocations: 0 / 2.969 GB, free: 32.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/6.197, allocations: 7.875 kB / 2.969 GB, free: 32.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/6.2, allocations: 1.995 MB / 2.971 GB, free: 32.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/6.2, allocations: 0 / 2.971 GB, free: 32.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/6.2, allocations: 86.84 kB / 2.971 GB, free: 32.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/6.2, allocations: 80.89 kB / 2.971 GB, free: 32.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/6.2, allocations: 11.23 kB / 2.971 GB, free: 32.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002266/6.201, allocations: 0.5823 MB / 2.971 GB, free: 31.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/6.201, allocations: 7.906 kB / 2.971 GB, free: 31.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/6.202, allocations: 1.773 MB / 2.973 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/6.203, allocations: 124 kB / 2.973 GB, free: 30.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/6.203, allocations: 11.92 kB / 2.973 GB, free: 30.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/6.203, allocations: 31.44 kB / 2.973 GB, free: 30.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/6.203, allocations: 35.03 kB / 2.973 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/6.203, allocations: 19.64 kB / 2.973 GB, free: 30.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.506e-05/6.203, allocations: 91.05 kB / 2.973 GB, free: 30.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/6.203, allocations: 0 / 2.973 GB, free: 30.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004437/6.208, allocations: 0.9608 MB / 2.974 GB, free: 30.56 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 () * Number of clocked 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.005109/6.213, allocations: 1.231 MB / 2.975 GB, free: 30.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/6.214, allocations: 0.5995 MB / 2.976 GB, free: 30.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/6.214, allocations: 0 / 2.976 GB, free: 30.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007131/6.215, allocations: 0.5153 MB / 2.977 GB, free: 29.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/6.215, allocations: 81.08 kB / 2.977 GB, free: 29.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/6.217, allocations: 1.565 MB / 2.978 GB, free: 28.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/6.218, allocations: 0.8245 MB / 2.979 GB, free: 28.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003937/6.218, allocations: 134.4 kB / 2.979 GB, free: 28.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/6.218, allocations: 34.22 kB / 2.979 GB, free: 28.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/6.218, allocations: 0 / 2.979 GB, free: 28.16 MB / 362.7 MB Notification: Performance of Templates: time 0.03111/6.249, allocations: 26.34 MB / 3.005 GB, free: 17.43 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)