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.8499/0.8499, allocations: 110.8 MB / 118.3 MB, free: 14.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00199/0.00199, allocations: 159.5 kB / 144 MB, free: 4.836 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.381e-05, allocations: 4 kB / 173.8 MB, free: 22.82 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0533/0.05333, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/0.5526, allocations: 208.1 MB / 407.1 MB, free: 27.69 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5529, allocations: 55.03 kB / 407.2 MB, free: 27.66 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02218/0.5751, allocations: 9.822 MB / 417 MB, free: 19.31 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5752, allocations: 0 / 417 MB, free: 19.31 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.5752, allocations: 4 kB / 417 MB, free: 19.31 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.0007357/0.5759, allocations: 443.7 kB / 417.4 MB, free: 18.83 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.576, allocations: 8.031 kB / 417.4 MB, free: 18.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.5761, allocations: 27.75 kB / 417.5 MB, free: 18.79 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.5763, allocations: 206.8 kB / 417.7 MB, free: 18.55 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5764, allocations: 4 kB / 417.7 MB, free: 18.55 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.5764, allocations: 11.94 kB / 417.7 MB, free: 18.54 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/0.5766, allocations: 108.5 kB / 417.8 MB, free: 18.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5769, allocations: 190.3 kB / 418 MB, free: 18.22 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5769, allocations: 8 kB / 418 MB, free: 18.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.5769, allocations: 3.953 kB / 418 MB, free: 18.21 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.577, allocations: 4 kB / 418 MB, free: 18.21 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5784, allocations: 1.114 MB / 419.1 MB, free: 16.98 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.5786, allocations: 114.8 kB / 419.2 MB, free: 16.86 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.5788, allocations: 40.86 kB / 419.2 MB, free: 16.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/0.5795, allocations: 0.6658 MB / 419.9 MB, free: 16.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.5796, allocations: 38.55 kB / 420 MB, free: 16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.5796, allocations: 0.5469 kB / 420 MB, free: 16 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002044/0.5816, allocations: 0.5974 MB / 420.5 MB, free: 15.35 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5817, allocations: 55.34 kB / 420.6 MB, free: 15.29 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.5818, allocations: 148.2 kB / 420.7 MB, free: 15.13 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.5819, allocations: 29.64 kB / 420.8 MB, free: 15.09 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.582, allocations: 135.9 kB / 420.9 MB, free: 14.96 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.582, allocations: 71 kB / 421 MB, free: 14.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.582, allocations: 0 / 421 MB, free: 14.89 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.5821, allocations: 326.8 kB / 421.3 MB, free: 14.56 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.5822, allocations: 59.73 kB / 421.4 MB, free: 14.5 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.5824, allocations: 167.2 kB / 421.5 MB, free: 14.29 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.5826, allocations: 81.58 kB / 421.6 MB, free: 14.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5826, allocations: 0 / 421.6 MB, free: 14.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004107/0.583, allocations: 262.9 kB / 421.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.583, allocations: 8 kB / 421.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.583, allocations: 4 kB / 421.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.5831, allocations: 4 kB / 421.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.5834, allocations: 83.83 kB / 422 MB, free: 13.85 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5834, allocations: 8.453 kB / 422 MB, free: 13.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.5836, allocations: 12 kB / 422 MB, free: 13.83 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.5837, allocations: 15.98 kB / 422 MB, free: 13.82 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 9.365e-05/0.5838, allocations: 112.9 kB / 422.1 MB, free: 13.7 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.5838, allocations: 19.77 kB / 422.1 MB, free: 13.68 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.5843, allocations: 195.7 kB / 422.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5843, allocations: 7.984 kB / 422.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5843, allocations: 4 kB / 422.3 MB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5843, allocations: 3.984 kB / 422.3 MB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.5853, allocations: 0.5142 MB / 422.8 MB, free: 12.9 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5853, allocations: 4.125 kB / 422.8 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.5856, allocations: 47.95 kB / 422.9 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5856, allocations: 4 kB / 422.9 MB, free: 12.84 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.5857, allocations: 3.984 kB / 422.9 MB, free: 12.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5857, allocations: 4 kB / 422.9 MB, free: 12.84 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5857, allocations: 3.938 kB / 422.9 MB, free: 12.83 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.5862, allocations: 394.8 kB / 423.3 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.5862, allocations: 88.92 kB / 423.4 MB, free: 12.29 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.5863, allocations: 3.953 kB / 423.4 MB, free: 12.29 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.5865, allocations: 16.05 kB / 423.4 MB, free: 12.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5865, allocations: 11.98 kB / 423.4 MB, free: 12.26 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.5866, allocations: 11.98 kB / 423.4 MB, free: 12.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.55e-05/0.5866, allocations: 107.2 kB / 423.5 MB, free: 12.14 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5866, allocations: 0 / 423.5 MB, free: 12.14 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.587, allocations: 63.94 kB / 423.6 MB, free: 12.08 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.0002331/0.5873, allocations: 147.1 kB / 423.7 MB, free: 11.93 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.5875, allocations: 175.9 kB / 423.9 MB, free: 11.75 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5875, allocations: 0 / 423.9 MB, free: 11.75 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.5876, allocations: 67.86 kB / 424 MB, free: 11.69 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.588, allocations: 41.03 kB / 424 MB, free: 11.65 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.5886, allocations: 281 kB / 424.3 MB, free: 11.34 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.5888, allocations: 0.7204 MB / 425 MB, free: 10.59 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.5891, allocations: 46.05 kB / 425.1 MB, free: 10.55 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.5892, allocations: 31.42 kB / 425.1 MB, free: 10.52 MB / 234.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5892, allocations: 0 / 425.1 MB, free: 10.52 MB / 234.7 MB Notification: Performance of Templates: time 0.005547/0.5947, allocations: 2.674 MB / 427.8 MB, free: 7.855 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)