Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 211.2 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2704, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.03405/0.3044, allocations: 30.79 MB / 460.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3208, allocations: 10.37 MB / 471 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.3222, allocations: 39.75 kB / 471 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.3238, allocations: 489 kB / 471.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.3294, allocations: 1.905 MB / 473.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008242/0.3376, allocations: 2.753 MB / 476.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005791/0.3434, allocations: 3.705 MB / 479.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.3457, allocations: 0.9859 MB / 480.8 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.3503, allocations: 1.534 MB / 482.4 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.3536, allocations: 1.519 MB / 483.9 MB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007538/0.3544, allocations: 159.9 kB / 484 MB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005572/0.3599, allocations: 2.126 MB / 486.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.3612, allocations: 0.5842 MB / 486.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.3633, allocations: 0.8128 MB / 487.5 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00819/0.3715, allocations: 3.372 MB / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3715, allocations: 0 / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3715, allocations: 0 / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.118e-05/0.3716, allocations: 0 / 490.9 MB, free: 10.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.007221/0.3788, allocations: 2.096 MB / 493 MB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3789, allocations: 8.031 kB / 493 MB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008829/0.3797, allocations: 175 kB / 493.2 MB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.3819, allocations: 0.9571 MB / 494.2 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.3822, allocations: 234.5 kB / 494.4 MB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.3825, allocations: 99.94 kB / 494.5 MB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/0.3865, allocations: 1.797 MB / 496.3 MB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.3866, allocations: 4 kB / 496.3 MB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.3867, allocations: 43.92 kB / 496.3 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.3869, allocations: 102 kB / 496.4 MB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.3905, allocations: 1.78 MB / 498.2 MB, free: 2.754 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.4039, allocations: 6.926 MB / 0.4933 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.4068, allocations: 1.4 MB / 0.4947 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4083, allocations: 0.8271 MB / 0.4955 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.4093, allocations: 0.6451 MB / 0.4961 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.4094, allocations: 47.5 kB / 0.4961 GB, free: 8.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 2.926e-06/0.4094, allocations: 0 / 0.4961 GB, free: 8.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=128): time 0.01855/0.4279, allocations: 6.623 MB / 0.5026 GB, free: 1.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.4281, allocations: 167.5 kB / 0.5028 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.43, allocations: 1.103 MB / 0.5038 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.4302, allocations: 53.7 kB / 0.5039 GB, free: 364 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/0.4308, allocations: 0.4975 MB / 0.5044 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005687/0.4314, allocations: 456 kB / 0.5048 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.432, allocations: 263.5 kB / 0.5051 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.4322, allocations: 365.9 kB / 0.5054 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.4338, allocations: 0.8479 MB / 0.5062 GB, free: 13.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.4357, allocations: 1.08 MB / 0.5073 GB, free: 12.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.439, allocations: 1.804 MB / 0.5091 GB, free: 10.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.439, allocations: 0 / 0.5091 GB, free: 10.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005627/0.4447, allocations: 2.616 MB / 0.5116 GB, free: 8.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.4447, allocations: 11.94 kB / 0.5116 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4447, allocations: 4 kB / 0.5116 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/0.4486, allocations: 1.291 MB / 0.5129 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4497, allocations: 215.7 kB / 0.5131 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007995/0.4577, allocations: 6.726 MB / 0.5197 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4593, allocations: 71.94 kB / 0.5197 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/0.4597, allocations: 55.92 kB / 0.5198 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002453/0.4622, allocations: 1.105 MB / 0.5209 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001998/0.4642, allocations: 1.066 MB / 0.5219 GB, free: 13.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003354/0.4675, allocations: 1.774 MB / 0.5236 GB, free: 11.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.42e-05/0.4675, allocations: 4 kB / 0.5236 GB, free: 11.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=170) (initialization_lambda0): time 0.005359/0.4729, allocations: 2.483 MB / 0.5261 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4729, allocations: 8 kB / 0.5261 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4729, allocations: 11.94 kB / 0.5261 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.4756, allocations: 1.02 MB / 0.5271 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4768, allocations: 231.6 kB / 0.5273 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007433/0.4843, allocations: 6.463 MB / 0.5336 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4858, allocations: 71.95 kB / 0.5337 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.4861, allocations: 59.97 kB / 0.5337 GB, free: 0.6797 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 12 (hysteresis.y,$PRE.hysteresis.y,lowerTank.inFlow[2],lowerTank.inFlow[1],lowerTank.regularFlow[2],lowerTank.regularFlow[1],upperTank.inFlow[3],upperTank.inFlow[2],upperTank.inFlow[1],upperTank.regularFlow[3],upperTank.regularFlow[2],upperTank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.00066/0.4867, allocations: 269 kB / 0.534 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.4872, allocations: 151 kB / 0.5341 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2205/0.7077, allocations: 2.766 MB / 0.5368 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.7077, allocations: 15.06 kB / 0.5369 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.7077, allocations: 6.938 kB / 0.5369 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.7078, allocations: 10.78 kB / 0.5369 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/0.715, allocations: 4.505 MB / 0.5413 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.715, allocations: 3.75 kB / 0.5413 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/0.7157, allocations: 154.5 kB / 0.5414 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.7185, allocations: 1.28 MB / 0.5427 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.7186, allocations: 39.94 kB / 0.5427 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.7238, allocations: 6.745 MB / 0.5493 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7238, allocations: 2.281 kB / 0.5493 GB, free: 99.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.7292, allocations: 3.942 MB / 0.5532 GB, free: 96.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.7298, allocations: 436.2 kB / 0.5536 GB, free: 96.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.73, allocations: 24 kB / 0.5536 GB, free: 96.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.731, allocations: 63.94 kB / 0.5537 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.7313, allocations: 141.1 kB / 0.5538 GB, free: 96.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7314, allocations: 51.97 kB / 0.5538 GB, free: 96.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007788/0.7322, allocations: 0.7565 MB / 0.5546 GB, free: 95.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7322, allocations: 3.938 kB / 0.5546 GB, free: 95.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002312/0.7345, allocations: 1.072 MB / 0.5556 GB, free: 94.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.level,upperTank.medium.T,lowerTank.level,lowerTank.medium.T) * Number of discrete variables: 11 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (4,14), (4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.7359, allocations: 0.7268 MB / 0.5563 GB, free: 94.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006278/0.7422, allocations: 3.657 MB / 0.5599 GB, free: 90.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7422, allocations: 1.406 kB / 0.5599 GB, free: 90.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.7447, allocations: 1.366 MB / 0.5612 GB, free: 89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7473, allocations: 0.6263 MB / 0.5619 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/0.7523, allocations: 3.165 MB / 0.5649 GB, free: 85.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.7528, allocations: 1.268 MB / 0.5662 GB, free: 84.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001413/0.7542, allocations: 0.5684 MB / 0.5667 GB, free: 83.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.7546, allocations: 127.4 kB / 0.5669 GB, free: 83.35 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7546, allocations: 1.641 kB / 0.5669 GB, free: 83.35 MB / 446.1 MB Notification: Performance of Templates: time 0.05434/0.8089, allocations: 48.1 MB / 0.6138 GB, free: 35.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.sim & ./Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.564304917119443]