Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00634/0.00634, allocations: 164.3 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001913/0.001913, allocations: 114.6 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003655, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 38.76 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/1.066, allocations: 311.2 MB / 0.6095 GB, free: 74.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.067, allocations: 79.89 kB / 0.6095 GB, free: 74.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5774/1.644, allocations: 130.7 MB / 0.7371 GB, free: 91.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.644, allocations: 0 / 0.7371 GB, free: 91.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001424/1.644, allocations: 26.66 kB / 0.7372 GB, free: 91.44 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00547/1.65, allocations: 1.175 MB / 0.7383 GB, free: 90.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.65, allocations: 10.94 kB / 0.7383 GB, free: 90.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/1.651, allocations: 96.89 kB / 0.7384 GB, free: 90.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.654, allocations: 0.6567 MB / 0.7391 GB, free: 90.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/1.654, allocations: 110 kB / 0.7392 GB, free: 90.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/1.654, allocations: 53.06 kB / 0.7392 GB, free: 90.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/1.658, allocations: 0.8919 MB / 0.7401 GB, free: 89.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/1.658, allocations: 3.562 kB / 0.7401 GB, free: 89.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/1.658, allocations: 27.5 kB / 0.7401 GB, free: 89.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/1.658, allocations: 59.05 kB / 0.7402 GB, free: 89.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/1.661, allocations: 0.831 MB / 0.741 GB, free: 89.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/1.672, allocations: 3.31 MB / 0.7442 GB, free: 86.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/1.674, allocations: 0.6474 MB / 0.7449 GB, free: 86.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004576/1.678, allocations: 2.066 MB / 0.7469 GB, free: 84.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/1.678, allocations: 38.94 kB / 0.7469 GB, free: 84.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 4.909e-06/1.678, allocations: 0 / 0.7469 GB, free: 84.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.009581/1.688, allocations: 2.832 MB / 0.7497 GB, free: 82.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.688, allocations: 85.52 kB / 0.7498 GB, free: 82.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/1.689, allocations: 0.6024 MB / 0.7503 GB, free: 82.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/1.689, allocations: 41.55 kB / 0.7504 GB, free: 82.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.689, allocations: 343.3 kB / 0.7507 GB, free: 81.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/1.689, allocations: 223.5 kB / 0.7509 GB, free: 81.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/1.689, allocations: 15.94 kB / 0.7509 GB, free: 81.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/1.69, allocations: 389.9 kB / 0.7513 GB, free: 81.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/1.69, allocations: 362.8 kB / 0.7517 GB, free: 81.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/1.691, allocations: 0.4962 MB / 0.7521 GB, free: 80.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/1.691, allocations: 411 kB / 0.7525 GB, free: 80.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.691, allocations: 8 kB / 0.7525 GB, free: 80.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001806/1.693, allocations: 1.138 MB / 0.7536 GB, free: 79.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004246/1.694, allocations: 1.575 MB / 0.7552 GB, free: 77.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.694, allocations: 4 kB / 0.7552 GB, free: 77.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/1.695, allocations: 451.6 kB / 0.7556 GB, free: 76.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/1.696, allocations: 155.7 kB / 0.7558 GB, free: 76.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.697, allocations: 1.025 MB / 0.7568 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/1.698, allocations: 44.02 kB / 0.7568 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.698, allocations: 39.97 kB / 0.7569 GB, free: 75.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.698, allocations: 4.625 kB / 0.7569 GB, free: 75.69 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/1.699, allocations: 0.9297 MB / 0.7578 GB, free: 74.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.699, allocations: 4 kB / 0.7578 GB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/1.7, allocations: 243.6 kB / 0.758 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/1.7, allocations: 171.2 kB / 0.7582 GB, free: 74.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006096/1.701, allocations: 0.8098 MB / 0.759 GB, free: 73.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/1.702, allocations: 43.92 kB / 0.759 GB, free: 73.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/1.702, allocations: 31.98 kB / 0.759 GB, free: 73.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005055/1.702, allocations: 338.6 kB / 0.7593 GB, free: 73.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.703, allocations: 79.06 kB / 0.7594 GB, free: 73.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/1.705, allocations: 1.095 MB / 0.7605 GB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.705, allocations: 11.42 kB / 0.7605 GB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.705, allocations: 0 / 0.7605 GB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.705, allocations: 3.984 kB / 0.7605 GB, free: 71.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/1.708, allocations: 2.001 MB / 0.7625 GB, free: 69.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.708, allocations: 4 kB / 0.7625 GB, free: 69.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/1.708, allocations: 119.9 kB / 0.7626 GB, free: 69.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/1.709, allocations: 448.2 kB / 0.763 GB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/1.709, allocations: 19.98 kB / 0.763 GB, free: 69.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/1.71, allocations: 1.028 MB / 0.764 GB, free: 68.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.71, allocations: 8.031 kB / 0.764 GB, free: 68.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/1.712, allocations: 1.591 MB / 0.7656 GB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/1.713, allocations: 248.1 kB / 0.7658 GB, free: 66.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.713, allocations: 12 kB / 0.7658 GB, free: 66.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/1.714, allocations: 55.89 kB / 0.7659 GB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.714, allocations: 48.58 kB / 0.7659 GB, free: 66.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/1.714, allocations: 39.91 kB / 0.766 GB, free: 66.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006563/1.715, allocations: 475 kB / 0.7664 GB, free: 65.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.715, allocations: 0 / 0.7664 GB, free: 65.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002409/1.717, allocations: 0.6323 MB / 0.767 GB, free: 65.11 MB / 362.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: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/1.719, allocations: 0.5898 MB / 0.7676 GB, free: 64.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002762/1.722, allocations: 1.349 MB / 0.7689 GB, free: 63.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.722, allocations: 0 / 0.7689 GB, free: 63.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/1.723, allocations: 483.4 kB / 0.7694 GB, free: 62.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.725, allocations: 352.3 kB / 0.7697 GB, free: 62.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/1.729, allocations: 2.025 MB / 0.7717 GB, free: 60.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/1.73, allocations: 1.015 MB / 0.7727 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001198/1.731, allocations: 297 kB / 0.773 GB, free: 59.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/1.731, allocations: 71.41 kB / 0.7731 GB, free: 58.96 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/1.731, allocations: 0 / 0.7731 GB, free: 58.96 MB / 362.7 MB Notification: Performance of Templates: time 0.03855/1.77, allocations: 21.41 MB / 0.794 GB, free: 37.56 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)