Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 107.2 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009826/0.0009826, allocations: 42.52 kB / 299.9 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08428, allocations: 49.45 MB / 349.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1692/0.2535, allocations: 28.75 MB / 378.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009585/0.2631, allocations: 7.76 MB / 385.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.2649, allocations: 71.53 kB / 386 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.2671, allocations: 0.8783 MB / 386.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.27, allocations: 1.437 MB / 388.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.2747, allocations: 2.054 MB / 390.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.2803, allocations: 5.991 MB / 396.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.2826, allocations: 1.824 MB / 398.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.2847, allocations: 1.51 MB / 399.7 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.2867, allocations: 1.621 MB / 401.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003671/0.2871, allocations: 152.3 kB / 401.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.2892, allocations: 0.7893 MB / 402.2 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.2899, allocations: 0.7131 MB / 402.9 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.2912, allocations: 1.242 MB / 404.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.2951, allocations: 3.906 MB / 408.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2951, allocations: 0 / 408.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2951, allocations: 0 / 408.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.252e-05/0.2952, allocations: 0 / 408.1 MB, free: 10.67 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.00593/0.3011, allocations: 3.106 MB / 411.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3012, allocations: 8.031 kB / 411.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008094/0.302, allocations: 293.8 kB / 411.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.3042, allocations: 1.421 MB / 412.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3044, allocations: 311.6 kB / 413.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.3047, allocations: 224 kB / 413.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004654/0.3094, allocations: 2.768 MB / 416.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.3095, allocations: 3.938 kB / 416.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.3097, allocations: 104 kB / 416.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.3098, allocations: 99.69 kB / 416.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.3138, allocations: 2.197 MB / 418.6 MB, free: 15.77 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.01321/0.327, allocations: 10.32 MB / 428.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.33, allocations: 2.061 MB / 431 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.3317, allocations: 1.11 MB / 432.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007909/0.3396, allocations: 5.487 MB / 437.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.3419, allocations: 1.527 MB / 439.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 3.787e-06/0.342, allocations: 0 / 439.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.0156/0.3576, allocations: 8.505 MB / 447.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003243/0.3579, allocations: 0.7672 MB / 448.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.36, allocations: 1.626 MB / 450 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.3602, allocations: 133.7 kB / 450.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/0.3609, allocations: 0.8888 MB / 451 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.3615, allocations: 0.6052 MB / 451.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008135/0.3623, allocations: 0.5718 MB / 452.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.3624, allocations: 305.1 kB / 452.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.3641, allocations: 0.9618 MB / 453.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.3664, allocations: 1.686 MB / 455.1 MB, free: 9.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.37, allocations: 2.582 MB / 457.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.37, allocations: 8 kB / 457.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005655/0.3757, allocations: 3.184 MB / 460.9 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.3758, allocations: 105.1 kB / 461 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.3758, allocations: 20 kB / 461 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.3771, allocations: 0.5845 MB / 461.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.3785, allocations: 407.1 kB / 462 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.3807, allocations: 2.258 MB / 464.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.3825, allocations: 151.7 kB / 464.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.3828, allocations: 124 kB / 464.5 MB, free: 15.7 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: 188 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * 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.001412/0.3842, allocations: 0.8016 MB / 465.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/0.3847, allocations: 213.6 kB / 465.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/0.3906, allocations: 3.078 MB / 468.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.3907, allocations: 36 kB / 468.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.3907, allocations: 0 / 468.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/0.3908, allocations: 15.95 kB / 468.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.4027, allocations: 5.518 MB / 474.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.4027, allocations: 0 / 474.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.4044, allocations: 251.5 kB / 474.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001627/0.406, allocations: 0.5567 MB / 475 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/0.4063, allocations: 71.94 kB / 475.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.4091, allocations: 2.231 MB / 477.3 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4092, allocations: 7.875 kB / 477.3 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.4195, allocations: 4.274 MB / 481.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.4209, allocations: 0.5294 MB / 482.1 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005322/0.4214, allocations: 75.98 kB / 482.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.4232, allocations: 119.8 kB / 482.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/0.424, allocations: 257.6 kB / 482.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/0.4243, allocations: 103.9 kB / 482.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002006/0.4263, allocations: 1.031 MB / 483.7 MB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4263, allocations: 0 / 483.7 MB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002811/0.4291, allocations: 0.699 MB / 484.4 MB, free: 11.47 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: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,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.T3.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,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.002473/0.4316, allocations: 0.8562 MB / 485.2 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007305/0.4389, allocations: 2.835 MB / 488.1 MB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.439, allocations: 4.25 kB / 488.1 MB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004433/0.4434, allocations: 1.723 MB / 489.8 MB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/0.4484, allocations: 0.7233 MB / 490.5 MB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.4608, allocations: 5.299 MB / 495.8 MB, free: 68 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.4624, allocations: 1.584 MB / 497.4 MB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003069/0.4655, allocations: 0.5608 MB / 498 MB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009061/0.4664, allocations: 227.3 kB / 498.2 MB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4664, allocations: 0 / 498.2 MB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.08752/0.5539, allocations: 41.51 MB / 0.5271 GB, free: 4.445 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches