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.001393/0.001393, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.001406/0.001406, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.339/1.339, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 50.14 kB / 300.6 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1049, allocations: 49.45 MB / 350.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2316/0.3366, allocations: 28.75 MB / 378.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3485, allocations: 7.761 MB / 386.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.3516, allocations: 62.97 kB / 386.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.355, allocations: 0.8849 MB / 387.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00486/0.3599, allocations: 1.43 MB / 388.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006248/0.3661, allocations: 2.057 MB / 391 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008671/0.3748, allocations: 5.985 MB / 397 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.3782, allocations: 1.831 MB / 398.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.3816, allocations: 1.516 MB / 400.3 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.3846, allocations: 1.612 MB / 401.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008235/0.3855, allocations: 156.8 kB / 402.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003085/0.3886, allocations: 0.7884 MB / 402.9 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3897, allocations: 0.7082 MB / 403.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.3919, allocations: 1.253 MB / 404.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.3962, allocations: 3.136 MB / 408 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3963, allocations: 0 / 408 MB, free: 11.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3963, allocations: 0 / 408 MB, free: 11.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.3964, allocations: 0 / 408 MB, free: 11.41 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.007951/0.4043, allocations: 3.103 MB / 411.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4044, allocations: 11.97 kB / 411.1 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4054, allocations: 293.8 kB / 411.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.4081, allocations: 1.421 MB / 412.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.4084, allocations: 319.6 kB / 413.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.4089, allocations: 223.9 kB / 413.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/0.4142, allocations: 2.765 MB / 416.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.4143, allocations: 11.94 kB / 416.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/0.4146, allocations: 91.97 kB / 416.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/0.4147, allocations: 99.69 kB / 416.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.4189, allocations: 2.2 MB / 418.5 MB, free: 0.5039 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.01553/0.4345, allocations: 10.31 MB / 428.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.4379, allocations: 2.065 MB / 430.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.4397, allocations: 1.098 MB / 432 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009537/0.4493, allocations: 5.499 MB / 437.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002451/0.4518, allocations: 1.527 MB / 439 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 4.629e-06/0.4518, allocations: 0 / 439 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01692/0.4688, allocations: 8.505 MB / 447.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004059/0.4692, allocations: 0.7713 MB / 448.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.4716, allocations: 1.626 MB / 449.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004677/0.4721, allocations: 129.7 kB / 450 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009179/0.473, allocations: 0.8888 MB / 450.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.4739, allocations: 0.6013 MB / 451.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.475, allocations: 0.564 MB / 452.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4752, allocations: 301.1 kB / 452.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.4771, allocations: 0.9696 MB / 453.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.4799, allocations: 1.689 MB / 455 MB, free: 10.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/0.4845, allocations: 2.579 MB / 457.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/0.4845, allocations: 4 kB / 457.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.00702/0.4915, allocations: 3.185 MB / 460.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.4917, allocations: 113.1 kB / 460.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.4918, allocations: 19.98 kB / 460.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4931, allocations: 0.5762 MB / 461.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.4949, allocations: 407.1 kB / 461.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.4975, allocations: 2.258 MB / 464.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.4997, allocations: 147.8 kB / 464.3 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005188/0.5003, allocations: 128 kB / 464.4 MB, free: 448 kB / 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.001971/0.5022, allocations: 0.8094 MB / 465.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/0.503, allocations: 213.5 kB / 465.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006593/0.5096, allocations: 3.086 MB / 468.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.5097, allocations: 24 kB / 468.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.5097, allocations: 0 / 468.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.029e-05/0.5098, allocations: 15.95 kB / 468.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5203, allocations: 5.518 MB / 474.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5203, allocations: 0 / 474.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.5214, allocations: 247.5 kB / 474.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.5226, allocations: 0.5645 MB / 474.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/0.5229, allocations: 75.95 kB / 475 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.5252, allocations: 2.231 MB / 477.2 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5252, allocations: 128 / 477.2 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007875/0.5331, allocations: 4.282 MB / 481.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.5344, allocations: 0.5294 MB / 482 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007261/0.5351, allocations: 75.98 kB / 482.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.5367, allocations: 115.8 kB / 482.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/0.5373, allocations: 253.7 kB / 482.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/0.5376, allocations: 99.94 kB / 482.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001722/0.5393, allocations: 1.035 MB / 483.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5393, allocations: 0 / 483.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002677/0.542, allocations: 0.6991 MB / 484.3 MB, free: 12.2 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.002204/0.5442, allocations: 0.856 MB / 485.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005978/0.5502, allocations: 2.833 MB / 488 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.5502, allocations: 1.688 kB / 488 MB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/0.5538, allocations: 1.646 MB / 489.6 MB, free: 6.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/0.558, allocations: 0.727 MB / 490.3 MB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.5681, allocations: 5.342 MB / 495.7 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.5697, allocations: 1.584 MB / 497.3 MB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.5709, allocations: 247.2 kB / 497.5 MB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 1.844e-06/0.5709, allocations: 0 / 497.5 MB, free: 14.96 MB / 414.1 MB Notification: Performance of Templates: time 0.2629/0.8339, allocations: 68.01 MB / 0.5523 GB, free: 149.1 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