Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8411/0.8411, 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.001874/0.001874, allocations: 151.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.375e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05787/0.05791, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7629/0.8208, allocations: 236.4 MB / 441.8 MB, free: 82.33 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.8211, allocations: 62.72 kB / 441.8 MB, free: 82.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4281/1.249, allocations: 122.3 MB / 0.5509 GB, free: 41.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.794e-06/1.249, allocations: 0 / 0.5509 GB, free: 41.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.609e-05/1.249, allocations: 14.72 kB / 0.5509 GB, free: 41.82 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00227/1.252, allocations: 1.024 MB / 0.5519 GB, free: 41.19 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.252, allocations: 11.62 kB / 0.5519 GB, free: 41.19 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/1.252, allocations: 82.34 kB / 0.552 GB, free: 41.15 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.253, allocations: 0.5797 MB / 0.5526 GB, free: 40.79 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.253, allocations: 119.6 kB / 0.5527 GB, free: 40.71 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.253, allocations: 55.03 kB / 0.5527 GB, free: 40.7 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/1.254, allocations: 0.8134 MB / 0.5535 GB, free: 40.36 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/1.255, allocations: 3.656 kB / 0.5535 GB, free: 40.36 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/1.255, allocations: 30.12 kB / 0.5535 GB, free: 40.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.836e-05/1.255, allocations: 45.89 kB / 0.5536 GB, free: 40.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/1.256, allocations: 0.7271 MB / 0.5543 GB, free: 40.1 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/1.26, allocations: 3.127 MB / 0.5574 GB, free: 38.17 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.261, allocations: 0.6088 MB / 0.5579 GB, free: 37.93 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/1.261, allocations: 343 kB / 0.5583 GB, free: 37.8 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/1.264, allocations: 1.898 MB / 0.5601 GB, free: 36.41 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/1.264, allocations: 42.12 kB / 0.5602 GB, free: 36.37 MB / 234.7 MB Notification: Performance of pre-optimization done (n=52): time 1.964e-06/1.264, allocations: 0 / 0.5602 GB, free: 36.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=60): time 0.003982/1.268, allocations: 2.06 MB / 0.5622 GB, free: 35.45 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/1.268, allocations: 84.45 kB / 0.5623 GB, free: 35.36 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/1.269, allocations: 0.5463 MB / 0.5628 GB, free: 35.11 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/1.269, allocations: 37.58 kB / 0.5628 GB, free: 35.07 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/1.269, allocations: 320.5 kB / 0.5631 GB, free: 34.81 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/1.269, allocations: 209 kB / 0.5633 GB, free: 34.65 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/1.269, allocations: 11.75 kB / 0.5633 GB, free: 34.64 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/1.269, allocations: 381.9 kB / 0.5637 GB, free: 34.3 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/1.27, allocations: 311.9 kB / 0.564 GB, free: 34.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/1.27, allocations: 472.3 kB / 0.5645 GB, free: 33.89 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/1.271, allocations: 362.7 kB / 0.5648 GB, free: 33.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.271, allocations: 0 / 0.5648 GB, free: 33.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001529/1.272, allocations: 1.055 MB / 0.5658 GB, free: 33.36 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.272, allocations: 7.219 kB / 0.5658 GB, free: 33.36 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/1.272, allocations: 3.688 kB / 0.5658 GB, free: 33.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.273, allocations: 424.7 kB / 0.5662 GB, free: 33.08 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/1.274, allocations: 150.5 kB / 0.5664 GB, free: 32.95 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/1.275, allocations: 1.009 MB / 0.5674 GB, free: 31.95 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006058/1.276, allocations: 58.58 kB / 0.5674 GB, free: 31.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/1.276, allocations: 28 kB / 0.5675 GB, free: 31.86 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: tank2.level:VARIABLE(min = max(0.0, 0.0) start = max(tank2.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of tank" type: Real tank2.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank2.T_start unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank1.level:VARIABLE(min = max(0.0, 0.0) start = max(tank1.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of tank" type: Real tank1.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank1.T_start unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002822/1.276, allocations: 176.4 kB / 0.5676 GB, free: 31.69 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/1.276, allocations: 71.16 kB / 0.5677 GB, free: 31.62 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.278, allocations: 1.024 MB / 0.5687 GB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.278, allocations: 7.984 kB / 0.5687 GB, free: 30.59 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.278, allocations: 9.906 kB / 0.5687 GB, free: 30.58 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.278, allocations: 0 / 0.5687 GB, free: 30.58 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/1.28, allocations: 1.88 MB / 0.5705 GB, free: 28.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.28, allocations: 11.06 kB / 0.5706 GB, free: 28.65 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/1.281, allocations: 115.8 kB / 0.5707 GB, free: 28.54 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009988/1.282, allocations: 423.1 kB / 0.5711 GB, free: 28.13 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/1.282, allocations: 19.98 kB / 0.5711 GB, free: 28.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/1.283, allocations: 1.024 MB / 0.5721 GB, free: 27.06 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.283, allocations: 4 kB / 0.5721 GB, free: 27.06 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/1.285, allocations: 1.487 MB / 0.5735 GB, free: 25.55 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/1.285, allocations: 152.2 kB / 0.5737 GB, free: 25.39 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.766e-05/1.285, allocations: 12 kB / 0.5737 GB, free: 25.38 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/1.286, allocations: 59.86 kB / 0.5738 GB, free: 25.32 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.286, allocations: 64.41 kB / 0.5738 GB, free: 25.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.286, allocations: 23.98 kB / 0.5738 GB, free: 25.23 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0004964/1.286, allocations: 431.1 kB / 0.5743 GB, free: 24.81 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.286, allocations: 0 / 0.5743 GB, free: 24.81 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001424/1.288, allocations: 431.6 kB / 0.5747 GB, free: 24.39 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {4 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009499/1.289, allocations: 0.5042 MB / 0.5752 GB, free: 23.92 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/1.29, allocations: 0.851 MB / 0.576 GB, free: 23.07 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.29, allocations: 4 kB / 0.576 GB, free: 23.06 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009724/1.291, allocations: 487.7 kB / 0.5765 GB, free: 22.59 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.293, allocations: 375 kB / 0.5768 GB, free: 22.23 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/1.296, allocations: 1.315 MB / 0.5781 GB, free: 20.92 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/1.297, allocations: 0.9825 MB / 0.5791 GB, free: 19.91 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0007261/1.297, allocations: 205.1 kB / 0.5793 GB, free: 19.71 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/1.297, allocations: 67.42 kB / 0.5793 GB, free: 19.65 MB / 234.7 MB Notification: Performance of SimCode: time 1.483e-06/1.297, allocations: 0 / 0.5793 GB, free: 19.65 MB / 234.7 MB Notification: Performance of Templates: time 0.02763/1.325, allocations: 18.89 MB / 0.5978 GB, free: 0.8555 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)