Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009885/0.0009886, allocations: 181.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.445/1.445, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00166/0.00166, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.279e-05, allocations: 3.984 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07838/0.07843, allocations: 44.5 MB / 349.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6294/0.7079, allocations: 268.4 MB / 0.6033 GB, free: 119 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.7081, allocations: 63.97 kB / 0.6034 GB, free: 119 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.7276, allocations: 9.367 MB / 0.6126 GB, free: 109.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.7276, allocations: 0 / 0.6126 GB, free: 109.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.7276, allocations: 8 kB / 0.6126 GB, free: 109.6 MB / 410.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.0006753/0.7283, allocations: 443.7 kB / 0.613 GB, free: 109.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7284, allocations: 11.97 kB / 0.613 GB, free: 109.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.7285, allocations: 23.8 kB / 0.613 GB, free: 109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.7287, allocations: 206.9 kB / 0.6132 GB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.7288, allocations: 8.281 kB / 0.6132 GB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.7288, allocations: 23.84 kB / 0.6132 GB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.7291, allocations: 196.7 kB / 0.6134 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.7291, allocations: 4 kB / 0.6134 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.7291, allocations: 8 kB / 0.6134 GB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.7292, allocations: 4 kB / 0.6134 GB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.7294, allocations: 131.8 kB / 0.6136 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.7304, allocations: 0.9444 MB / 0.6145 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.7306, allocations: 126.8 kB / 0.6146 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.7307, allocations: 48.94 kB / 0.6147 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.7311, allocations: 0.5151 MB / 0.6152 GB, free: 106.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.7311, allocations: 46.52 kB / 0.6152 GB, free: 106.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.7311, allocations: 0 / 0.6152 GB, free: 106.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001561/0.7327, allocations: 0.6254 MB / 0.6158 GB, free: 105.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.7327, allocations: 59.34 kB / 0.6159 GB, free: 105.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.7328, allocations: 148 kB / 0.616 GB, free: 105.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.7328, allocations: 25.7 kB / 0.616 GB, free: 105.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.7329, allocations: 139.9 kB / 0.6162 GB, free: 105.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.7329, allocations: 71 kB / 0.6162 GB, free: 105.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.7329, allocations: 4 kB / 0.6162 GB, free: 105.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.733, allocations: 326.8 kB / 0.6166 GB, free: 105.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.7331, allocations: 67.92 kB / 0.6166 GB, free: 105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.7332, allocations: 170.5 kB / 0.6168 GB, free: 104.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.7334, allocations: 93.52 kB / 0.6169 GB, free: 104.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7334, allocations: 0 / 0.6169 GB, free: 104.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003479/0.7337, allocations: 282.9 kB / 0.6171 GB, free: 104.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7338, allocations: 8 kB / 0.6172 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7338, allocations: 4 kB / 0.6172 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7338, allocations: 11.89 kB / 0.6172 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.7341, allocations: 92.3 kB / 0.6173 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.7342, allocations: 4 kB / 0.6173 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.7344, allocations: 19.92 kB / 0.6173 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.7344, allocations: 15.98 kB / 0.6173 GB, free: 104.3 MB / 410.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 6.571e-05/0.7345, allocations: 116.9 kB / 0.6174 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.7345, allocations: 19.81 kB / 0.6174 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.7349, allocations: 210.4 kB / 0.6176 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7349, allocations: 0 / 0.6176 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7349, allocations: 0 / 0.6176 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7349, allocations: 3.984 kB / 0.6176 GB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/0.7358, allocations: 0.5685 MB / 0.6182 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.7358, allocations: 0 / 0.6182 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.736, allocations: 59.89 kB / 0.6182 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.7361, allocations: 0 / 0.6182 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7361, allocations: 8 kB / 0.6183 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7361, allocations: 4 kB / 0.6183 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7361, allocations: 0 / 0.6183 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.7365, allocations: 405.5 kB / 0.6186 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.7365, allocations: 97.02 kB / 0.6187 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.7365, allocations: 4 kB / 0.6187 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.7368, allocations: 15.98 kB / 0.6188 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.7368, allocations: 15.94 kB / 0.6188 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.7368, allocations: 7.984 kB / 0.6188 GB, free: 102.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.962e-05/0.7369, allocations: 111.3 kB / 0.6189 GB, free: 102.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7369, allocations: 0 / 0.6189 GB, free: 102.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.7372, allocations: 63.94 kB / 0.6189 GB, free: 102.4 MB / 410.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.0001894/0.7374, allocations: 159.1 kB / 0.6191 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.7377, allocations: 177.7 kB / 0.6193 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7377, allocations: 0 / 0.6193 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.7378, allocations: 84.73 kB / 0.6193 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.7381, allocations: 36.22 kB / 0.6194 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.7387, allocations: 285.7 kB / 0.6197 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.7389, allocations: 0.7165 MB / 0.6204 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.7391, allocations: 42.08 kB / 0.6204 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.7392, allocations: 23.42 kB / 0.6204 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7392, allocations: 0 / 0.6204 GB, free: 100.9 MB / 410.7 MB Notification: Performance of Templates: time 0.00495/0.7442, allocations: 2.806 MB / 0.6232 GB, free: 98.07 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)