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.8774/0.8774, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001712/0.001712, allocations: 159.4 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/4.952e-05, allocations: 1.172 kB / 180.2 MB, free: 17.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06004/0.06011, allocations: 25.18 MB / 205.4 MB, free: 8.449 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5651/0.6252, allocations: 208.7 MB / 414.1 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.6256, allocations: 61.28 kB / 414.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02122/0.6468, allocations: 9.89 MB / 424.1 MB, free: 3.355 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6469, allocations: 4 kB / 424.1 MB, free: 3.352 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.6469, allocations: 4 kB / 424.1 MB, free: 3.348 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.0007131/0.6476, allocations: 455.6 kB / 424.5 MB, free: 2.855 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.6477, allocations: 8.031 kB / 424.5 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.6477, allocations: 19.77 kB / 424.6 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.6479, allocations: 206.8 kB / 424.8 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.648, allocations: 16.28 kB / 424.8 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.648, allocations: 16 kB / 424.8 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.6483, allocations: 200.7 kB / 425 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6483, allocations: 0 / 425 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.6484, allocations: 8 kB / 425 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.6484, allocations: 7.953 kB / 425 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.6486, allocations: 127.8 kB / 425.1 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.6499, allocations: 1.165 MB / 426.3 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.6501, allocations: 122.8 kB / 426.4 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.6502, allocations: 44.84 kB / 426.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1755/0.8257, allocations: 0.6707 MB / 427.1 MB, free: 82.99 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.8259, allocations: 37.05 kB / 427.2 MB, free: 82.95 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 5.651e-06/0.8259, allocations: 0.8125 kB / 427.2 MB, free: 82.95 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002269/0.8282, allocations: 0.6324 MB / 427.8 MB, free: 82.7 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.8282, allocations: 52.84 kB / 427.8 MB, free: 82.63 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.8284, allocations: 136.5 kB / 428 MB, free: 82.53 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.8285, allocations: 32.8 kB / 428 MB, free: 82.5 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.8285, allocations: 145.2 kB / 428.2 MB, free: 82.39 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.8286, allocations: 71.77 kB / 428.2 MB, free: 82.35 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.8287, allocations: 6.938 kB / 428.2 MB, free: 82.35 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.8288, allocations: 327.2 kB / 428.5 MB, free: 82.04 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.8289, allocations: 68.8 kB / 428.6 MB, free: 82.03 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.8291, allocations: 174 kB / 428.8 MB, free: 81.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.8293, allocations: 84.3 kB / 428.9 MB, free: 81.91 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8293, allocations: 1.031 kB / 428.9 MB, free: 81.91 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005288/0.8298, allocations: 285.8 kB / 429.1 MB, free: 81.86 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.8299, allocations: 9.766 kB / 429.2 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.8299, allocations: 4.719 kB / 429.2 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.8299, allocations: 4.781 kB / 429.2 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.8303, allocations: 80.66 kB / 429.2 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.8303, allocations: 7.344 kB / 429.3 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.8306, allocations: 23.5 kB / 429.3 MB, free: 81.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.8306, allocations: 16.8 kB / 429.3 MB, free: 81.86 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 () * 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 0.0001009/0.8308, allocations: 125.2 kB / 429.4 MB, free: 81.75 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.8308, allocations: 11.06 kB / 429.4 MB, free: 81.75 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.8313, allocations: 213.6 kB / 429.6 MB, free: 81.7 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8313, allocations: 2.875 kB / 429.6 MB, free: 81.7 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8313, allocations: 0.6562 kB / 429.6 MB, free: 81.7 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.8314, allocations: 3.25 kB / 429.6 MB, free: 81.7 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.8325, allocations: 0.5629 MB / 430.2 MB, free: 81.37 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.8325, allocations: 5.312 kB / 430.2 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.8328, allocations: 49.11 kB / 430.3 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8328, allocations: 1.969 kB / 430.3 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.8329, allocations: 9.328 kB / 430.3 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.8329, allocations: 8.938 kB / 430.3 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8329, allocations: 4.688 kB / 430.3 MB, free: 81.36 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.8335, allocations: 405.1 kB / 430.7 MB, free: 81.12 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.8335, allocations: 86.33 kB / 430.8 MB, free: 81.02 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.8336, allocations: 7.047 kB / 430.8 MB, free: 81.02 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.8339, allocations: 14.77 kB / 430.8 MB, free: 81.02 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.834, allocations: 13.52 kB / 430.8 MB, free: 81.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.834, allocations: 13.25 kB / 430.8 MB, free: 81.02 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.8341, allocations: 115.3 kB / 430.9 MB, free: 80.94 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8341, allocations: 0 / 430.9 MB, free: 80.94 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.8346, allocations: 70.8 kB / 431 MB, free: 80.94 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 () * 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.0003716/0.835, allocations: 148.6 kB / 431.1 MB, free: 80.85 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.8355, allocations: 188.4 kB / 431.3 MB, free: 80.83 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8355, allocations: 0 / 431.3 MB, free: 80.83 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.8357, allocations: 78.61 kB / 431.4 MB, free: 80.82 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.8361, allocations: 32.78 kB / 431.4 MB, free: 80.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.8369, allocations: 297.5 kB / 431.7 MB, free: 80.68 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.8372, allocations: 0.7169 MB / 432.4 MB, free: 79.98 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.8375, allocations: 49.89 kB / 432.5 MB, free: 79.96 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.8376, allocations: 24.56 kB / 432.5 MB, free: 79.96 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8376, allocations: 0 / 432.5 MB, free: 79.96 MB / 234.7 MB Notification: Performance of Templates: time 0.007823/0.8454, allocations: 2.892 MB / 435.4 MB, free: 79.75 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)