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.0009011/0.0009011, allocations: 94.17 kB / 17.31 MB, free: 6.535 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.0009469/0.000947, allocations: 173.8 kB / 18.21 MB, free: 5.684 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.218/1.218, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002396, allocations: 11.94 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08473, allocations: 50.41 MB / 352.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2002/0.285, allocations: 27.95 MB / 380.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.2969, allocations: 7.684 MB / 388.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.3001, allocations: 60.94 kB / 388.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.3032, allocations: 0.8795 MB / 389.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.3078, allocations: 1.426 MB / 390.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005977/0.3138, allocations: 2.058 MB / 392.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007981/0.3217, allocations: 5.977 MB / 398.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.3247, allocations: 1.762 MB / 400.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.3275, allocations: 1.437 MB / 401.7 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.3295, allocations: 1.525 MB / 403.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.3298, allocations: 116.5 kB / 403.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.3319, allocations: 0.7513 MB / 404.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.3324, allocations: 0.6602 MB / 404.8 MB, free: 276 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.3337, allocations: 1.195 MB / 406 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.3368, allocations: 3.072 MB / 409 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3368, allocations: 0 / 409 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3368, allocations: 0 / 409 MB, free: 13.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.706e-05/0.3369, allocations: 0 / 409 MB, free: 13.07 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.005014/0.3419, allocations: 2.549 MB / 411.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.342, allocations: 11.97 kB / 411.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007866/0.3427, allocations: 289.8 kB / 411.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.345, allocations: 1.421 MB / 413.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.3453, allocations: 311.6 kB / 413.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003519/0.3457, allocations: 224 kB / 413.8 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/0.3505, allocations: 2.769 MB / 416.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.3506, allocations: 15.88 kB / 416.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3508, allocations: 87.98 kB / 416.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3509, allocations: 99.69 kB / 416.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.3546, allocations: 2.2 MB / 419 MB, free: 2.73 MB / 318.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.01359/0.3682, allocations: 10.35 MB / 429.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.3711, allocations: 2.065 MB / 431.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.3728, allocations: 1.102 MB / 432.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008335/0.3812, allocations: 5.514 MB / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/0.3835, allocations: 1.531 MB / 439.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 5.931e-06/0.3835, allocations: 0 / 439.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01673/0.4002, allocations: 8.547 MB / 448.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003736/0.4006, allocations: 0.7633 MB / 448.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.4032, allocations: 1.63 MB / 450.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/0.4036, allocations: 125.7 kB / 450.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000779/0.4044, allocations: 0.8888 MB / 451.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/0.4051, allocations: 0.6013 MB / 452.1 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.4056, allocations: 311.3 kB / 452.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.4057, allocations: 313.1 kB / 452.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4075, allocations: 0.9618 MB / 453.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.41, allocations: 1.678 MB / 455.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.4141, allocations: 2.586 MB / 457.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.4141, allocations: 8 kB / 458 MB, free: 9.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006163/0.4203, allocations: 3.181 MB / 461.1 MB, free: 6.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.4204, allocations: 105.1 kB / 461.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.556e-05/0.4205, allocations: 23.98 kB / 461.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4219, allocations: 0.5921 MB / 461.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.4234, allocations: 399.1 kB / 462.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.4258, allocations: 2.258 MB / 464.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.4277, allocations: 171.6 kB / 464.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/0.4281, allocations: 124 kB / 464.8 MB, free: 2.809 MB / 366.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.001656/0.4298, allocations: 0.8084 MB / 465.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/0.4303, allocations: 213.5 kB / 465.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/0.4366, allocations: 3.073 MB / 468.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.4366, allocations: 31.98 kB / 468.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.4367, allocations: 0 / 468.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/0.4367, allocations: 11.97 kB / 468.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4475, allocations: 5.522 MB / 474.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.4475, allocations: 4 kB / 474.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.4486, allocations: 259.5 kB / 474.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.4498, allocations: 0.5567 MB / 475.3 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.45, allocations: 63.95 kB / 475.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.4523, allocations: 2.231 MB / 477.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4523, allocations: 7.969 kB / 477.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/0.4598, allocations: 4.271 MB / 481.8 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.4611, allocations: 0.5528 MB / 482.4 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005985/0.4617, allocations: 79.98 kB / 482.5 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.4632, allocations: 139.8 kB / 482.6 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000541/0.4638, allocations: 257.8 kB / 482.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/0.464, allocations: 99.94 kB / 482.9 MB, free: 268 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.4658, allocations: 1.035 MB / 484 MB, free: 15.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4659, allocations: 0 / 484 MB, free: 15.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002767/0.4686, allocations: 0.6873 MB / 484.7 MB, free: 14.54 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.002167/0.4708, allocations: 0.871 MB / 485.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005647/0.4765, allocations: 2.826 MB / 488.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.4765, allocations: 8.906 kB / 488.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/0.4796, allocations: 1.641 MB / 490 MB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/0.4843, allocations: 0.7118 MB / 490.7 MB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.4952, allocations: 5.491 MB / 496.2 MB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.4969, allocations: 1.576 MB / 497.8 MB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.4981, allocations: 247.3 kB / 498 MB, free: 1.172 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4981, allocations: 0 / 498 MB, free: 1.172 MB / 398.1 MB Notification: Performance of Templates: time 0.2524/0.7505, allocations: 67.66 MB / 0.5524 GB, free: 149.7 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/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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches