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.001635/0.001635, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.002219, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009831/0.0009831, allocations: 63.77 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09083, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2096/0.3004, allocations: 27.96 MB / 386.9 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.3119, allocations: 7.581 MB / 394.4 MB, free: 384 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3141, allocations: 48.03 kB / 394.5 MB, free: 368 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.3173, allocations: 1.019 MB / 395.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.3228, allocations: 1.604 MB / 397.1 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00727/0.3301, allocations: 2.159 MB / 399.3 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009379/0.3395, allocations: 5.042 MB / 404.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004841/0.3444, allocations: 2.104 MB / 406.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004363/0.3488, allocations: 1.773 MB / 408.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.3519, allocations: 1.668 MB / 409.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.3524, allocations: 310.3 kB / 410.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3549, allocations: 0.9299 MB / 411.1 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009822/0.3559, allocations: 0.8586 MB / 411.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.3578, allocations: 1.4 MB / 413.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00586/0.3637, allocations: 4.179 MB / 417.5 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3637, allocations: 0 / 417.5 MB, free: 368 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3638, allocations: 11.94 kB / 417.5 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.3639, allocations: 0 / 417.5 MB, free: 356 kB / 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.006852/0.3707, allocations: 3.118 MB / 420.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3708, allocations: 12.03 kB / 420.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.3723, allocations: 333.7 kB / 421 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.375, allocations: 1.468 MB / 422.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.3753, allocations: 311.6 kB / 422.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/0.3757, allocations: 224 kB / 423 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00438/0.3801, allocations: 2.75 MB / 425.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.3801, allocations: 7.938 kB / 425.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.3803, allocations: 91.97 kB / 425.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.3804, allocations: 103.7 kB / 425.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.3842, allocations: 2.189 MB / 428.1 MB, free: 5.371 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.01518/0.3994, allocations: 11.19 MB / 439.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.4023, allocations: 2.016 MB / 441.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.4039, allocations: 1.083 MB / 442.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007813/0.4117, allocations: 5.331 MB / 447.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/0.414, allocations: 1.527 MB / 449.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.847e-06/0.414, allocations: 3.938 kB / 449.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=215): time 0.01495/0.429, allocations: 8.496 MB / 457.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004617/0.4295, allocations: 0.7674 MB / 458.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.4321, allocations: 1.663 MB / 460.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003179/0.4324, allocations: 133.7 kB / 460.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.4333, allocations: 0.893 MB / 461.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/0.434, allocations: 0.6052 MB / 461.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/0.4349, allocations: 0.5562 MB / 462.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.435, allocations: 309.1 kB / 462.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.4366, allocations: 0.9579 MB / 463.6 MB, free: 460 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.4388, allocations: 1.678 MB / 465.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.4423, allocations: 2.563 MB / 467.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4424, allocations: 11.94 kB / 467.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005576/0.4479, allocations: 3.137 MB / 471 MB, free: 8.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4481, allocations: 109.1 kB / 471.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.4481, allocations: 16 kB / 471.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.4494, allocations: 0.5809 MB / 471.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.4508, allocations: 395.2 kB / 472.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.4531, allocations: 2.262 MB / 474.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4549, allocations: 127.8 kB / 474.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.4552, allocations: 116 kB / 474.6 MB, free: 4.742 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.localCondition,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.localCondition,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.localCondition,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.localCondition,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.001254/0.4565, allocations: 0.8053 MB / 475.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.4569, allocations: 213.6 kB / 475.6 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/0.4626, allocations: 3.019 MB / 478.7 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.4626, allocations: 28 kB / 478.7 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4626, allocations: 4 kB / 478.7 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.4627, allocations: 15.95 kB / 478.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00887/0.4716, allocations: 5.406 MB / 484.1 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4716, allocations: 4 kB / 484.1 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4726, allocations: 243.6 kB / 484.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.4737, allocations: 0.5567 MB / 484.9 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.4739, allocations: 67.95 kB / 485 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.4764, allocations: 2.227 MB / 487.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4764, allocations: 0 / 487.2 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/0.4832, allocations: 4.202 MB / 491.4 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.4847, allocations: 0.5101 MB / 491.9 MB, free: 3.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/0.4851, allocations: 75.89 kB / 492 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4863, allocations: 104.1 kB / 492.1 MB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/0.4868, allocations: 253.6 kB / 492.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.487, allocations: 87.95 kB / 492.4 MB, free: 2.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.4886, allocations: 1.067 MB / 493.5 MB, free: 1.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4886, allocations: 0 / 493.5 MB, free: 1.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002364/0.491, allocations: 0.6834 MB / 494.2 MB, free: 0.8438 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.active,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.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,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.localCondition,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.localCondition,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.001856/0.4929, allocations: 0.8461 MB / 495 MB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.4983, allocations: 2.822 MB / 497.8 MB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4983, allocations: 4 kB / 497.8 MB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002966/0.5013, allocations: 1.705 MB / 499.5 MB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.5046, allocations: 0.7731 MB / 0.4886 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/0.5129, allocations: 4.447 MB / 0.4929 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.5141, allocations: 1.595 MB / 0.4945 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001776/0.5159, allocations: 0.5446 MB / 0.495 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.5164, allocations: 219.4 kB / 0.4952 GB, free: 3.875 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5164, allocations: 0 / 0.4952 GB, free: 3.875 MB / 414.1 MB Notification: Performance of Templates: time 0.2266/0.743, allocations: 43.19 MB / 0.5374 GB, free: 145.9 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 -s cvode -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