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.8275/0.8275, allocations: 110.8 MB / 118.3 MB, free: 10.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001623/0.001622, allocations: 159.3 kB / 144 MB, free: 9.801 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.064e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06232/0.06236, allocations: 25.16 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6262/0.6886, allocations: 235.9 MB / 434.9 MB, free: 47.27 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.6889, allocations: 63.97 kB / 435 MB, free: 47.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9644/1.653, allocations: 245.4 MB / 0.6645 GB, free: 31.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.653, allocations: 1.219 kB / 0.6645 GB, free: 31.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001242/1.654, allocations: 37.48 kB / 0.6645 GB, free: 31.41 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.004807/1.658, allocations: 1.669 MB / 0.6662 GB, free: 30.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.658, allocations: 9.469 kB / 0.6662 GB, free: 30.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/1.659, allocations: 155.8 kB / 0.6663 GB, free: 30.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/1.661, allocations: 1.007 MB / 0.6673 GB, free: 30.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/1.661, allocations: 147.3 kB / 0.6674 GB, free: 30.13 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.661, allocations: 56.36 kB / 0.6675 GB, free: 30.13 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00189/1.663, allocations: 1.374 MB / 0.6688 GB, free: 30.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.665, allocations: 1.476 MB / 0.6703 GB, free: 29.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.665, allocations: 2.438 kB / 0.6703 GB, free: 29.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/1.665, allocations: 5.375 kB / 0.6703 GB, free: 29.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/1.665, allocations: 108.2 kB / 0.6704 GB, free: 29.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009046/1.674, allocations: 5.552 MB / 0.6758 GB, free: 28.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.676, allocations: 1.058 MB / 0.6768 GB, free: 28.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008924/1.677, allocations: 0.6388 MB / 0.6775 GB, free: 28.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004576/1.682, allocations: 3.903 MB / 0.6813 GB, free: 25.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/1.682, allocations: 43.12 kB / 0.6813 GB, free: 25.82 MB / 250.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008277/1.683, allocations: 160 kB / 0.6815 GB, free: 25.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 3.056e-06/1.683, allocations: 4.656 kB / 0.6815 GB, free: 25.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.01069/1.693, allocations: 3.934 MB / 0.6853 GB, free: 25.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.693, allocations: 140.3 kB / 0.6855 GB, free: 25.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009765/1.694, allocations: 0.7329 MB / 0.6862 GB, free: 24.93 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/1.694, allocations: 25.7 kB / 0.6862 GB, free: 24.9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/1.695, allocations: 0.5882 MB / 0.6868 GB, free: 24.62 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/1.695, allocations: 352 kB / 0.6871 GB, free: 24.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/1.695, allocations: 4.5 kB / 0.6871 GB, free: 24.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/1.695, allocations: 353.8 kB / 0.6874 GB, free: 24.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007735/1.696, allocations: 0.5356 MB / 0.688 GB, free: 24.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/1.697, allocations: 0.8488 MB / 0.6888 GB, free: 23.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/1.7, allocations: 0.9427 MB / 0.6897 GB, free: 23.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.7, allocations: 3.938 kB / 0.6897 GB, free: 23.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004562/1.704, allocations: 2.066 MB / 0.6917 GB, free: 23.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.704, allocations: 10.69 kB / 0.6917 GB, free: 23.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.704, allocations: 14.95 kB / 0.6918 GB, free: 23.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/1.71, allocations: 1.033 MB / 0.6928 GB, free: 23.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.711, allocations: 270.8 kB / 0.693 GB, free: 23.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/1.714, allocations: 1.807 MB / 0.6948 GB, free: 23.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.716, allocations: 73.83 kB / 0.6949 GB, free: 23.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.716, allocations: 64.75 kB / 0.6949 GB, free: 23.04 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 {9 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002988/1.716, allocations: 137.7 kB / 0.6951 GB, free: 22.92 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/1.716, allocations: 119 kB / 0.6952 GB, free: 22.86 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/1.721, allocations: 2.083 MB / 0.6972 GB, free: 22.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.721, allocations: 17.75 kB / 0.6972 GB, free: 22.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.721, allocations: 0 / 0.6972 GB, free: 22.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.721, allocations: 3.609 kB / 0.6972 GB, free: 22.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.728, allocations: 3.302 MB / 0.7005 GB, free: 22.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.728, allocations: 0 / 0.7005 GB, free: 22.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/1.729, allocations: 184 kB / 0.7006 GB, free: 22.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/1.731, allocations: 0.7855 MB / 0.7014 GB, free: 22.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/1.731, allocations: 15.2 kB / 0.7014 GB, free: 22.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/1.735, allocations: 1.878 MB / 0.7032 GB, free: 21.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.735, allocations: 3.906 kB / 0.7032 GB, free: 21.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/1.74, allocations: 2.744 MB / 0.7059 GB, free: 21.6 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/1.74, allocations: 194.7 kB / 0.7061 GB, free: 21.44 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.741, allocations: 2.75 kB / 0.7061 GB, free: 21.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.742, allocations: 75.31 kB / 0.7062 GB, free: 21.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/1.742, allocations: 105 kB / 0.7063 GB, free: 21.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.742, allocations: 43.17 kB / 0.7063 GB, free: 21.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007545/1.743, allocations: 0.5463 MB / 0.7069 GB, free: 21.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.743, allocations: 0 / 0.7069 GB, free: 21.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002613/1.745, allocations: 0.7295 MB / 0.7076 GB, free: 21.19 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.001838/1.747, allocations: 0.8532 MB / 0.7084 GB, free: 20.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/1.75, allocations: 1.482 MB / 0.7099 GB, free: 20.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.75, allocations: 2.5 kB / 0.7099 GB, free: 20.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.752, allocations: 0.8294 MB / 0.7107 GB, free: 20.89 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/1.755, allocations: 0.5738 MB / 0.7112 GB, free: 20.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/1.761, allocations: 2.28 MB / 0.7135 GB, free: 20.22 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008385/1.762, allocations: 1.285 MB / 0.7147 GB, free: 19.49 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.001609/1.763, allocations: 342.7 kB / 0.715 GB, free: 19.45 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/1.763, allocations: 108.4 kB / 0.7151 GB, free: 19.43 MB / 250.7 MB Notification: Performance of SimCode: time 1.704e-06/1.763, allocations: 0 / 0.7151 GB, free: 19.43 MB / 250.7 MB Notification: Performance of Templates: time 0.04847/1.812, allocations: 30.44 MB / 0.7449 GB, free: 2.762 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)