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.8918/0.8918, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001704/0.001704, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.372e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04932/0.04936, allocations: 25.17 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6766/0.726, allocations: 236.6 MB / 442 MB, free: 63.69 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.7263, allocations: 66.58 kB / 442 MB, free: 63.69 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8631/1.589, allocations: 247 MB / 0.6729 GB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.589, allocations: 0 / 0.6729 GB, free: 6.203 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001131/1.59, allocations: 35.98 kB / 0.6729 GB, free: 6.168 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00527/1.595, allocations: 1.671 MB / 0.6746 GB, free: 4.449 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.595, allocations: 8.031 kB / 0.6746 GB, free: 4.441 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005066/1.595, allocations: 158.2 kB / 0.6747 GB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/1.598, allocations: 1.013 MB / 0.6757 GB, free: 3.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/1.598, allocations: 183.1 kB / 0.6759 GB, free: 3.031 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/1.598, allocations: 99.89 kB / 0.676 GB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/1.6, allocations: 1.595 MB / 0.6776 GB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.6, allocations: 0 / 0.6776 GB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.601, allocations: 43.97 kB / 0.6776 GB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.601, allocations: 109.9 kB / 0.6777 GB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/1.603, allocations: 1.538 MB / 0.6792 GB, free: 15.6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/1.613, allocations: 5.787 MB / 0.6849 GB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.615, allocations: 1.103 MB / 0.6859 GB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009933/1.616, allocations: 0.6675 MB / 0.6866 GB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006231/1.622, allocations: 3.972 MB / 0.6905 GB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.622, allocations: 43.34 kB / 0.6905 GB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001018/1.623, allocations: 206.7 kB / 0.6907 GB, free: 3.148 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 4.658e-06/1.624, allocations: 0 / 0.6907 GB, free: 3.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.2177/1.841, allocations: 3.544 MB / 0.6942 GB, free: 28.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/1.841, allocations: 143.8 kB / 0.6943 GB, free: 28.11 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/1.843, allocations: 0.9851 MB / 0.6953 GB, free: 27.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003263/1.844, allocations: 46.45 kB / 0.6953 GB, free: 27.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/1.844, allocations: 0.5754 MB / 0.6959 GB, free: 27.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/1.845, allocations: 362.2 kB / 0.6962 GB, free: 27.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/1.845, allocations: 23.69 kB / 0.6962 GB, free: 27.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/1.845, allocations: 358.1 kB / 0.6966 GB, free: 27.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/1.846, allocations: 0.5606 MB / 0.6971 GB, free: 27.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.847, allocations: 0.8824 MB / 0.698 GB, free: 27.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.849, allocations: 0.6753 MB / 0.6986 GB, free: 27.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.849, allocations: 5.5 kB / 0.6987 GB, free: 27.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003662/1.852, allocations: 1.909 MB / 0.7005 GB, free: 26.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.852, allocations: 14.12 kB / 0.7005 GB, free: 26.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.852, allocations: 6.844 kB / 0.7005 GB, free: 26.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006403/1.859, allocations: 1.174 MB / 0.7017 GB, free: 26.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.86, allocations: 270 kB / 0.7019 GB, free: 26.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/1.862, allocations: 1.493 MB / 0.7034 GB, free: 26.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.864, allocations: 99.69 kB / 0.7035 GB, free: 26.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.864, allocations: 64.31 kB / 0.7036 GB, free: 26.34 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 () * 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.0003181/1.864, allocations: 178.8 kB / 0.7037 GB, free: 26.24 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/1.865, allocations: 136.5 kB / 0.7039 GB, free: 26.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/1.868, allocations: 1.882 MB / 0.7057 GB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.868, allocations: 13.19 kB / 0.7057 GB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.868, allocations: 7.094 kB / 0.7057 GB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.868, allocations: 8.359 kB / 0.7057 GB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004967/1.873, allocations: 3.216 MB / 0.7089 GB, free: 25.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.873, allocations: 7.609 kB / 0.7089 GB, free: 25.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008345/1.874, allocations: 181.5 kB / 0.709 GB, free: 25.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/1.878, allocations: 0.9088 MB / 0.7099 GB, free: 25.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.878, allocations: 28.73 kB / 0.71 GB, free: 25.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.88, allocations: 1.555 MB / 0.7115 GB, free: 25.17 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.88, allocations: 0 / 0.7115 GB, free: 25.17 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/1.884, allocations: 2.572 MB / 0.714 GB, free: 24.92 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/1.884, allocations: 217.3 kB / 0.7142 GB, free: 24.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.884, allocations: 22.19 kB / 0.7142 GB, free: 24.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.885, allocations: 100.5 kB / 0.7143 GB, free: 24.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.886, allocations: 97.06 kB / 0.7144 GB, free: 24.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.886, allocations: 47.31 kB / 0.7144 GB, free: 24.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001201/1.887, allocations: 0.7503 MB / 0.7152 GB, free: 24.63 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.887, allocations: 0 / 0.7152 GB, free: 24.63 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003403/1.891, allocations: 0.7805 MB / 0.7159 GB, free: 24.63 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 () * 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.002498/1.893, allocations: 0.861 MB / 0.7168 GB, free: 24.53 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003801/1.897, allocations: 1.567 MB / 0.7183 GB, free: 24.51 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.897, allocations: 0 / 0.7183 GB, free: 24.51 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.899, allocations: 0.8678 MB / 0.7192 GB, free: 24.49 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004004/1.903, allocations: 0.6364 MB / 0.7198 GB, free: 24.47 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/1.909, allocations: 2.362 MB / 0.7221 GB, free: 24 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/1.91, allocations: 1.284 MB / 0.7233 GB, free: 23.28 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001621/1.911, allocations: 371.9 kB / 0.7237 GB, free: 23.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/1.912, allocations: 109 kB / 0.7238 GB, free: 23.26 MB / 250.7 MB Notification: Performance of SimCode: time 3.537e-06/1.912, allocations: 0 / 0.7238 GB, free: 23.26 MB / 250.7 MB Notification: Performance of Templates: time 0.05974/1.971, allocations: 34.74 MB / 0.7577 GB, free: 19.86 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)