Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8015/0.8015, allocations: 110.9 MB / 125.9 MB, free: 6.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00185/0.00185, allocations: 149.9 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002821, allocations: 12 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 25.15 MB / 210 MB, free: 29.71 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.6434, allocations: 208.8 MB / 418.9 MB, free: 50.69 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.6439, allocations: 57.47 kB / 418.9 MB, free: 50.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.6654, allocations: 9.946 MB / 428.9 MB, free: 42.5 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6654, allocations: 0 / 428.9 MB, free: 42.5 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.6655, allocations: 4 kB / 428.9 MB, free: 42.5 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.0007338/0.6662, allocations: 462.2 kB / 429.3 MB, free: 42.01 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6663, allocations: 10.47 kB / 429.4 MB, free: 42 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.6663, allocations: 23.69 kB / 429.4 MB, free: 41.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.6665, allocations: 206.2 kB / 429.6 MB, free: 41.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6666, allocations: 19.39 kB / 429.6 MB, free: 41.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.6666, allocations: 11.44 kB / 429.6 MB, free: 41.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.667, allocations: 209 kB / 429.8 MB, free: 41.55 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.667, allocations: 4 kB / 429.8 MB, free: 41.54 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.667, allocations: 7.688 kB / 429.8 MB, free: 41.54 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6671, allocations: 7.953 kB / 429.8 MB, free: 41.53 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.6674, allocations: 137.1 kB / 430 MB, free: 41.43 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.6686, allocations: 1.158 MB / 431.1 MB, free: 40.24 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.6689, allocations: 140.7 kB / 431.3 MB, free: 40.12 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.6694, allocations: 0.6642 MB / 431.9 MB, free: 39.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.6694, allocations: 33.5 kB / 432 MB, free: 39.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.6694, allocations: 0 / 432 MB, free: 39.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002344/0.6718, allocations: 0.7652 MB / 432.7 MB, free: 38.66 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.6718, allocations: 55.34 kB / 432.8 MB, free: 38.59 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.6719, allocations: 137.7 kB / 432.9 MB, free: 38.46 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.6719, allocations: 29.45 kB / 432.9 MB, free: 38.43 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.672, allocations: 143.2 kB / 433.1 MB, free: 38.29 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.672, allocations: 78.36 kB / 433.2 MB, free: 38.22 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.672, allocations: 3.875 kB / 433.2 MB, free: 38.22 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.6721, allocations: 325.8 kB / 433.5 MB, free: 37.9 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.6723, allocations: 86.25 kB / 433.6 MB, free: 37.84 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.6726, allocations: 187.3 kB / 433.7 MB, free: 37.64 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.6728, allocations: 109.9 kB / 433.8 MB, free: 37.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6728, allocations: 3.938 kB / 433.9 MB, free: 37.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005582/0.6734, allocations: 313.9 kB / 434.2 MB, free: 37.32 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6734, allocations: 4.469 kB / 434.2 MB, free: 37.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6734, allocations: 4 kB / 434.2 MB, free: 37.31 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6734, allocations: 12 kB / 434.2 MB, free: 37.3 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.6738, allocations: 79.39 kB / 434.3 MB, free: 37.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.6738, allocations: 11.98 kB / 434.3 MB, free: 37.21 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.674, allocations: 19.33 kB / 434.3 MB, free: 37.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.6741, allocations: 15.5 kB / 434.3 MB, free: 37.19 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.802e-05/0.6742, allocations: 136.2 kB / 434.4 MB, free: 37.05 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.6742, allocations: 15.91 kB / 434.5 MB, free: 37.04 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.6748, allocations: 246.6 kB / 434.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6748, allocations: 0 / 434.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.6748, allocations: 0 / 434.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6748, allocations: 3.984 kB / 434.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6759, allocations: 0.5945 MB / 435.3 MB, free: 36.27 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6759, allocations: 4 kB / 435.3 MB, free: 36.26 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.6762, allocations: 47.89 kB / 435.3 MB, free: 36.21 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6762, allocations: 4 kB / 435.3 MB, free: 36.21 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.6762, allocations: 7.188 kB / 435.4 MB, free: 36.21 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.6763, allocations: 3.984 kB / 435.4 MB, free: 36.2 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6763, allocations: 4 kB / 435.4 MB, free: 36.2 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.6769, allocations: 454.6 kB / 435.8 MB, free: 35.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.677, allocations: 89.97 kB / 435.9 MB, free: 35.67 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.677, allocations: 11.17 kB / 435.9 MB, free: 35.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.6773, allocations: 18.86 kB / 435.9 MB, free: 35.64 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.6773, allocations: 15.23 kB / 435.9 MB, free: 35.63 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.6773, allocations: 15.92 kB / 436 MB, free: 35.62 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.6774, allocations: 108.5 kB / 436.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6774, allocations: 0 / 436.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.6778, allocations: 74.05 kB / 436.1 MB, free: 35.46 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.678, allocations: 157.8 kB / 436.3 MB, free: 35.3 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.6785, allocations: 215.2 kB / 436.5 MB, free: 35.13 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6785, allocations: 0 / 436.5 MB, free: 35.13 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.6787, allocations: 92.56 kB / 436.6 MB, free: 35.06 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.679, allocations: 38.42 kB / 436.6 MB, free: 35.04 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.68, allocations: 0.556 MB / 437.2 MB, free: 34.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.6802, allocations: 0.7207 MB / 437.9 MB, free: 33.71 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.6804, allocations: 52.81 kB / 438 MB, free: 33.67 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.6805, allocations: 27.23 kB / 438 MB, free: 33.65 MB / 234.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6805, allocations: 0 / 438 MB, free: 33.65 MB / 234.7 MB Notification: Performance of Templates: time 0.005329/0.6859, allocations: 2.814 MB / 440.8 MB, free: 30.86 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)