Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.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.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6894/0.6894, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001637/0.001637, allocations: 147.2 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002648, allocations: 8 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1506, allocations: 25.15 MB / 210.1 MB, free: 29.78 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/0.6478, allocations: 236.7 MB / 446.7 MB, free: 32.2 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.6481, allocations: 70.59 kB / 446.8 MB, free: 32.13 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9713/1.619, allocations: 248 MB / 0.6785 GB, free: 25.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.619, allocations: 0 / 0.6785 GB, free: 25.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001285/1.62, allocations: 40.25 kB / 0.6785 GB, free: 25.86 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.005881/1.626, allocations: 1.85 MB / 0.6803 GB, free: 25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.626, allocations: 11.47 kB / 0.6803 GB, free: 25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/1.626, allocations: 154.4 kB / 0.6805 GB, free: 24.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/1.628, allocations: 1.014 MB / 0.6815 GB, free: 24.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/1.628, allocations: 183.9 kB / 0.6816 GB, free: 24.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/1.629, allocations: 91.56 kB / 0.6817 GB, free: 24.51 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.632, allocations: 1.663 MB / 0.6834 GB, free: 24.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/1.632, allocations: 0 / 0.6834 GB, free: 24.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/1.632, allocations: 45.02 kB / 0.6834 GB, free: 24.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/1.632, allocations: 107.6 kB / 0.6835 GB, free: 24.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/1.636, allocations: 1.616 MB / 0.6851 GB, free: 24.33 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009516/1.645, allocations: 5.785 MB / 0.6907 GB, free: 22.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/1.647, allocations: 1.152 MB / 0.6919 GB, free: 22.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005087/1.652, allocations: 3.857 MB / 0.6956 GB, free: 20.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/1.653, allocations: 53.94 kB / 0.6957 GB, free: 20.12 MB / 250.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001096/1.654, allocations: 204.3 kB / 0.6959 GB, free: 20.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 4.859e-06/1.654, allocations: 0 / 0.6959 GB, free: 20.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01631/1.67, allocations: 5.386 MB / 0.7011 GB, free: 19.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/1.67, allocations: 142.4 kB / 0.7013 GB, free: 19.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.672, allocations: 1.005 MB / 0.7022 GB, free: 19.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.672, allocations: 43.48 kB / 0.7023 GB, free: 19.08 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/1.672, allocations: 0.5792 MB / 0.7029 GB, free: 18.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/1.672, allocations: 362.9 kB / 0.7032 GB, free: 18.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/1.672, allocations: 21.53 kB / 0.7032 GB, free: 18.62 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/1.673, allocations: 359.3 kB / 0.7036 GB, free: 18.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.674, allocations: 0.61 MB / 0.7042 GB, free: 18.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.675, allocations: 0.9278 MB / 0.7051 GB, free: 17.96 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/1.676, allocations: 0.7256 MB / 0.7058 GB, free: 17.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.676, allocations: 3.812 kB / 0.7058 GB, free: 17.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003552/1.679, allocations: 2.051 MB / 0.7078 GB, free: 17.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.679, allocations: 15.56 kB / 0.7078 GB, free: 17.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.679, allocations: 9.594 kB / 0.7078 GB, free: 17.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007275/1.687, allocations: 1.257 MB / 0.709 GB, free: 17.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.688, allocations: 270.1 kB / 0.7093 GB, free: 17.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/1.691, allocations: 1.631 MB / 0.7109 GB, free: 17.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.692, allocations: 92.02 kB / 0.711 GB, free: 17.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/1.692, allocations: 65.84 kB / 0.711 GB, free: 17.26 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (138): * Single equations (assignments): 137 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 15} Notification: Performance of prepare postOptimizeDAE: time 0.0007727/1.693, allocations: 364.7 kB / 0.7114 GB, free: 17.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/1.693, allocations: 138.9 kB / 0.7115 GB, free: 17.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/1.697, allocations: 2.027 MB / 0.7135 GB, free: 16.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.697, allocations: 20.25 kB / 0.7135 GB, free: 16.96 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.697, allocations: 0 / 0.7135 GB, free: 16.96 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.697, allocations: 2.719 kB / 0.7135 GB, free: 16.96 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/1.703, allocations: 3.373 MB / 0.7168 GB, free: 16.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.703, allocations: 0 / 0.7168 GB, free: 16.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/1.703, allocations: 178.9 kB / 0.717 GB, free: 16.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/1.707, allocations: 1.003 MB / 0.718 GB, free: 16.59 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.707, allocations: 29.53 kB / 0.718 GB, free: 16.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/1.71, allocations: 1.673 MB / 0.7196 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.71, allocations: 5.969 kB / 0.7196 GB, free: 16.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/1.714, allocations: 2.751 MB / 0.7223 GB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/1.714, allocations: 222.2 kB / 0.7225 GB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/1.714, allocations: 23.53 kB / 0.7225 GB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.715, allocations: 95.61 kB / 0.7226 GB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.716, allocations: 94.31 kB / 0.7227 GB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.716, allocations: 55.39 kB / 0.7228 GB, free: 15.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009955/1.717, allocations: 0.7592 MB / 0.7235 GB, free: 15.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.717, allocations: 0 / 0.7235 GB, free: 15.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002563/1.719, allocations: 0.7809 MB / 0.7243 GB, free: 15.38 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level) * 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 (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/1.721, allocations: 0.8643 MB / 0.7251 GB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003859/1.725, allocations: 1.668 MB / 0.7268 GB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.725, allocations: 0 / 0.7268 GB, free: 15.1 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.727, allocations: 0.9202 MB / 0.7277 GB, free: 15.07 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.73, allocations: 0.6303 MB / 0.7283 GB, free: 15.04 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007065/1.737, allocations: 3.431 MB / 0.7316 GB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008804/1.738, allocations: 1.287 MB / 0.7329 GB, free: 12.51 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001803/1.74, allocations: 373.1 kB / 0.7332 GB, free: 12.46 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/1.74, allocations: 112 kB / 0.7333 GB, free: 12.45 MB / 250.7 MB Notification: Performance of SimCode: time 2.254e-06/1.74, allocations: 3.938 kB / 0.7333 GB, free: 12.45 MB / 250.7 MB Notification: Performance of Templates: time 0.2333/1.974, allocations: 34.27 MB / 0.7668 GB, free: 21.2 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1)