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.00149/0.00149, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.623/1.623, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.001611, allocations: 115.4 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.609e-05, allocations: 0 / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 44.5 MB / 342.6 MB, free: 11.67 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7372/0.8375, allocations: 267.7 MB / 0.596 GB, free: 58.71 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8378, allocations: 68 kB / 0.5961 GB, free: 58.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.8575, allocations: 9.288 MB / 0.6051 GB, free: 51.24 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.8576, allocations: 1.875 kB / 0.6051 GB, free: 51.24 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.8576, allocations: 4 kB / 0.6051 GB, free: 51.23 MB / 395.1 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.0007291/0.8583, allocations: 449.5 kB / 0.6056 GB, free: 50.76 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.8584, allocations: 8.031 kB / 0.6056 GB, free: 50.75 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.8586, allocations: 25.52 kB / 0.6056 GB, free: 50.73 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.8588, allocations: 206 kB / 0.6058 GB, free: 50.5 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.8588, allocations: 4 kB / 0.6058 GB, free: 50.49 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.8589, allocations: 15.17 kB / 0.6058 GB, free: 50.48 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002268/0.8591, allocations: 115.7 kB / 0.6059 GB, free: 50.4 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.8593, allocations: 175.6 kB / 0.6061 GB, free: 50.24 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.8594, allocations: 4 kB / 0.6061 GB, free: 50.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.8594, allocations: 3.938 kB / 0.6061 GB, free: 50.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8594, allocations: 4 kB / 0.6061 GB, free: 50.23 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.8605, allocations: 0.9046 MB / 0.607 GB, free: 49.34 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.8607, allocations: 126.4 kB / 0.6071 GB, free: 49.24 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.8608, allocations: 39.55 kB / 0.6071 GB, free: 49.21 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.8613, allocations: 0.5062 MB / 0.6076 GB, free: 48.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.8613, allocations: 34.56 kB / 0.6077 GB, free: 48.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.8613, allocations: 4 kB / 0.6077 GB, free: 48.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=20): time 0.001679/0.863, allocations: 0.5917 MB / 0.6082 GB, free: 48.05 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.863, allocations: 55.41 kB / 0.6083 GB, free: 47.99 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.8631, allocations: 141.6 kB / 0.6084 GB, free: 47.85 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.8632, allocations: 25.7 kB / 0.6085 GB, free: 47.82 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.8632, allocations: 135 kB / 0.6086 GB, free: 47.69 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.8633, allocations: 69.81 kB / 0.6087 GB, free: 47.63 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/0.8633, allocations: 0 / 0.6087 GB, free: 47.63 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.8633, allocations: 329.8 kB / 0.609 GB, free: 47.31 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.8634, allocations: 54 kB / 0.609 GB, free: 47.28 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.8636, allocations: 162.1 kB / 0.6092 GB, free: 47.1 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.8637, allocations: 87.95 kB / 0.6093 GB, free: 47.04 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8637, allocations: 0 / 0.6093 GB, free: 47.04 MB / 395.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003677/0.8641, allocations: 243.2 kB / 0.6095 GB, free: 46.84 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8641, allocations: 13.94 kB / 0.6095 GB, free: 46.83 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8642, allocations: 4 kB / 0.6095 GB, free: 46.82 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8642, allocations: 4 kB / 0.6095 GB, free: 46.82 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.8645, allocations: 91.5 kB / 0.6096 GB, free: 46.73 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8645, allocations: 7.953 kB / 0.6096 GB, free: 46.73 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.8648, allocations: 19.75 kB / 0.6096 GB, free: 46.71 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.8648, allocations: 12.94 kB / 0.6096 GB, free: 46.7 MB / 395.1 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 7.742e-05/0.8649, allocations: 120 kB / 0.6098 GB, free: 46.58 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.8649, allocations: 15.81 kB / 0.6098 GB, free: 46.56 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.8653, allocations: 188.8 kB / 0.6099 GB, free: 46.41 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.8653, allocations: 4 kB / 0.61 GB, free: 46.41 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8654, allocations: 0.75 kB / 0.61 GB, free: 46.41 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8654, allocations: 0 / 0.61 GB, free: 46.41 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/0.8662, allocations: 0.5226 MB / 0.6105 GB, free: 45.89 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.8663, allocations: 4 kB / 0.6105 GB, free: 45.89 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.8665, allocations: 53.58 kB / 0.6105 GB, free: 45.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.8666, allocations: 3.953 kB / 0.6105 GB, free: 45.84 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.8666, allocations: 8.125 kB / 0.6105 GB, free: 45.83 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8666, allocations: 7.938 kB / 0.6105 GB, free: 45.82 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8666, allocations: 3.938 kB / 0.6105 GB, free: 45.82 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.867, allocations: 383.2 kB / 0.6109 GB, free: 45.45 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.867, allocations: 88.95 kB / 0.611 GB, free: 45.35 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.8671, allocations: 7.984 kB / 0.611 GB, free: 45.34 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.8673, allocations: 4 kB / 0.611 GB, free: 45.34 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.8674, allocations: 31.91 kB / 0.611 GB, free: 45.3 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.8674, allocations: 11.62 kB / 0.611 GB, free: 45.3 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.3e-05/0.8674, allocations: 107 kB / 0.6111 GB, free: 45.2 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8674, allocations: 0 / 0.6111 GB, free: 45.2 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.8678, allocations: 55.44 kB / 0.6112 GB, free: 45.15 MB / 395.1 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.000217/0.868, allocations: 143.9 kB / 0.6113 GB, free: 45 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.8683, allocations: 162.3 kB / 0.6115 GB, free: 44.89 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8683, allocations: 256 / 0.6115 GB, free: 44.89 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.8684, allocations: 77.42 kB / 0.6116 GB, free: 44.83 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.8687, allocations: 34.39 kB / 0.6116 GB, free: 44.8 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.8694, allocations: 280.4 kB / 0.6119 GB, free: 44.53 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.8696, allocations: 0.7173 MB / 0.6126 GB, free: 43.79 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.8699, allocations: 50 kB / 0.6126 GB, free: 43.73 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.8699, allocations: 31.05 kB / 0.6126 GB, free: 43.71 MB / 395.1 MB Notification: Performance of SimCode: time 2.6e-07/0.87, allocations: 0 / 0.6126 GB, free: 43.71 MB / 395.1 MB Notification: Performance of Templates: time 0.005248/0.8752, allocations: 2.578 MB / 0.6152 GB, free: 41.17 MB / 395.1 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)