Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 112.8 kB / 17.98 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 205.8 kB / 18.92 MB, free: 4.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 61.77 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2/0.3028, allocations: 28.9 MB / 386.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3145, allocations: 7.797 MB / 394.3 MB, free: 4 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.3174, allocations: 64.42 kB / 394.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.3208, allocations: 0.9001 MB / 395.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.326, allocations: 1.459 MB / 396.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006333/0.3323, allocations: 1.994 MB / 398.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007912/0.3402, allocations: 5.051 MB / 403.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.3446, allocations: 2.094 MB / 405.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.349, allocations: 1.797 MB / 407.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.3523, allocations: 1.704 MB / 409.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.3534, allocations: 310.2 kB / 409.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/0.3564, allocations: 0.9213 MB / 410.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3579, allocations: 0.8712 MB / 411.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.3608, allocations: 1.415 MB / 412.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.3658, allocations: 3.255 MB / 416.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.3658, allocations: 3.984 kB / 416.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3658, allocations: 0 / 416.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.366, allocations: 0 / 416.2 MB, free: 1.379 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.008055/0.3741, allocations: 3.122 MB / 419.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3741, allocations: 8.031 kB / 419.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.3759, allocations: 337.7 kB / 419.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.3785, allocations: 1.429 MB / 421 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.3788, allocations: 311.6 kB / 421.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.3792, allocations: 220 kB / 421.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.3844, allocations: 2.758 MB / 424.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.3844, allocations: 7.938 kB / 424.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.3847, allocations: 88 kB / 424.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.3848, allocations: 103.7 kB / 424.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004104/0.389, allocations: 2.185 MB / 426.7 MB, free: 6.441 MB / 334.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.0166/0.4056, allocations: 11.26 MB / 438 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.4086, allocations: 2.019 MB / 440 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.4104, allocations: 1.083 MB / 441.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008429/0.4188, allocations: 5.35 MB / 446.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/0.4213, allocations: 1.512 MB / 447.9 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 5.751e-06/0.4213, allocations: 8 kB / 447.9 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=215): time 0.01638/0.4377, allocations: 8.504 MB / 456.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003575/0.4381, allocations: 0.7713 MB / 457.2 MB, free: 6.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.4404, allocations: 1.663 MB / 458.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003361/0.4408, allocations: 129.7 kB / 459 MB, free: 4.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/0.4415, allocations: 0.893 MB / 459.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/0.4422, allocations: 0.6052 MB / 460.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000938/0.4432, allocations: 0.5524 MB / 461 MB, free: 2.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4433, allocations: 313.1 kB / 461.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.445, allocations: 0.9579 MB / 462.3 MB, free: 1.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.4473, allocations: 1.666 MB / 464 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.451, allocations: 2.578 MB / 466.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.451, allocations: 4 kB / 466.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00565/0.4567, allocations: 3.13 MB / 469.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.4568, allocations: 109.1 kB / 469.8 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.4569, allocations: 20.88 kB / 469.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.4581, allocations: 0.588 MB / 470.4 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4596, allocations: 387.2 kB / 470.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.4619, allocations: 2.262 MB / 473 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.4637, allocations: 151.9 kB / 473.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.4641, allocations: 124 kB / 473.3 MB, free: 5.711 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.condition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00144/0.4655, allocations: 0.805 MB / 474.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.4661, allocations: 209.6 kB / 474.3 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/0.4717, allocations: 3.035 MB / 477.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.4718, allocations: 24 kB / 477.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4718, allocations: 4 kB / 477.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.4718, allocations: 15.89 kB / 477.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009555/0.4814, allocations: 5.437 MB / 482.8 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.4815, allocations: 4 kB / 482.8 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4826, allocations: 243.5 kB / 483.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.4837, allocations: 0.5568 MB / 483.6 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/0.484, allocations: 67.95 kB / 483.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.4863, allocations: 2.231 MB / 485.9 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.4863, allocations: 7.938 kB / 485.9 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/0.4935, allocations: 4.188 MB / 490.1 MB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.4948, allocations: 0.5217 MB / 490.6 MB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006372/0.4954, allocations: 75.98 kB / 490.7 MB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.497, allocations: 111.9 kB / 490.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005791/0.4976, allocations: 253.6 kB / 491.1 MB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/0.4978, allocations: 87.95 kB / 491.2 MB, free: 3.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001891/0.4997, allocations: 1.059 MB / 492.2 MB, free: 2.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4997, allocations: 0 / 492.2 MB, free: 2.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002641/0.5024, allocations: 0.6873 MB / 492.9 MB, free: 1.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.localActive,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002177/0.5046, allocations: 0.8492 MB / 493.8 MB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.5147, allocations: 3.649 MB / 497.4 MB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.5147, allocations: 1.75 kB / 497.4 MB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.5181, allocations: 1.626 MB / 499 MB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/0.5226, allocations: 0.7603 MB / 499.8 MB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5332, allocations: 5.354 MB / 0.4933 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.5347, allocations: 1.575 MB / 0.4948 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.5358, allocations: 235.4 kB / 0.4951 GB, free: 3.707 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5359, allocations: 7.938 kB / 0.4951 GB, free: 3.699 MB / 414.1 MB Notification: Performance of Templates: time 0.27/0.8059, allocations: 67.71 MB / 0.5612 GB, free: 135.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches