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.001222/0.001222, allocations: 112.8 kB / 17.68 MB, free: 5.355 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.001066/0.001066, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 55.42 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08712, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1958/0.2829, allocations: 27.75 MB / 379.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2935, allocations: 7.492 MB / 386.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2955, allocations: 52.88 kB / 386.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.2981, allocations: 1.003 MB / 387.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.3022, allocations: 1.546 MB / 389.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005483/0.3077, allocations: 2.253 MB / 391.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006437/0.3141, allocations: 5.021 MB / 396.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.3172, allocations: 2.07 MB / 398.7 MB, free: 1.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.3201, allocations: 1.759 MB / 400.4 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.3226, allocations: 1.657 MB / 402.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005912/0.3232, allocations: 309.2 kB / 402.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.3257, allocations: 0.9336 MB / 403.3 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008195/0.3266, allocations: 0.8536 MB / 404.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.3283, allocations: 1.4 MB / 405.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.3333, allocations: 4.15 MB / 409.7 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3333, allocations: 7.938 kB / 409.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3333, allocations: 4 kB / 409.7 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.538e-05/0.3334, allocations: 0 / 409.7 MB, free: 10.16 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.006551/0.34, allocations: 3.102 MB / 412.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.34, allocations: 8.031 kB / 412.9 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.3408, allocations: 293.7 kB / 413.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.3434, allocations: 1.472 MB / 414.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.3437, allocations: 307.6 kB / 414.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.344, allocations: 224 kB / 415.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.3483, allocations: 2.769 MB / 417.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.3484, allocations: 7.938 kB / 417.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.3486, allocations: 91.98 kB / 418 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.3488, allocations: 111.6 kB / 418.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.3526, allocations: 2.193 MB / 420.3 MB, free: 15.21 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.014/0.3666, allocations: 10.25 MB / 430.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3697, allocations: 2.073 MB / 432.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.3716, allocations: 1.106 MB / 433.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008744/0.3803, allocations: 5.475 MB / 439.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002443/0.3828, allocations: 1.539 MB / 440.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 3.737e-06/0.3828, allocations: 0 / 440.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01561/0.3984, allocations: 8.497 MB / 449.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003892/0.3988, allocations: 0.7596 MB / 450 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.401, allocations: 1.641 MB / 451.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.4013, allocations: 129.7 kB / 451.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4021, allocations: 0.881 MB / 452.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/0.4026, allocations: 0.609 MB / 453.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008087/0.4034, allocations: 0.568 MB / 453.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.4035, allocations: 301.1 kB / 454.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4053, allocations: 0.9618 MB / 455.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/0.4075, allocations: 1.682 MB / 456.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.4111, allocations: 2.585 MB / 459.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.4112, allocations: 8 kB / 459.4 MB, free: 6.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005565/0.4167, allocations: 3.185 MB / 462.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.698e-05/0.4168, allocations: 109.2 kB / 462.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.4169, allocations: 24 kB / 462.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4181, allocations: 0.5762 MB / 463.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4195, allocations: 407.1 kB / 463.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4216, allocations: 2.266 MB / 465.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4231, allocations: 131.9 kB / 466 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/0.4233, allocations: 124 kB / 466.2 MB, free: 15.23 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.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.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.001191/0.4245, allocations: 0.806 MB / 467 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.4249, allocations: 213.5 kB / 467.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.4304, allocations: 3.074 MB / 470.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.4304, allocations: 27.98 kB / 470.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4304, allocations: 8 kB / 470.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.4304, allocations: 11.97 kB / 470.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008848/0.4393, allocations: 5.48 MB / 475.8 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.4393, allocations: 7.938 kB / 475.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.4404, allocations: 251.5 kB / 476 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.4415, allocations: 0.5606 MB / 476.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.4417, allocations: 71.95 kB / 476.7 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.4437, allocations: 2.227 MB / 478.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4437, allocations: 0 / 478.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006749/0.4505, allocations: 4.281 MB / 483.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.4516, allocations: 0.5334 MB / 483.7 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.4521, allocations: 75.97 kB / 483.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.4532, allocations: 107.9 kB / 483.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/0.4537, allocations: 253.7 kB / 484.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.4539, allocations: 95.94 kB / 484.2 MB, free: 12.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001341/0.4553, allocations: 1.035 MB / 485.3 MB, free: 11.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4553, allocations: 4 kB / 485.3 MB, free: 11.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001937/0.4572, allocations: 0.6835 MB / 485.9 MB, free: 11.05 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.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,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.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,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.001973/0.4592, allocations: 0.8658 MB / 486.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005219/0.4644, allocations: 2.862 MB / 489.7 MB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4645, allocations: 0 / 489.7 MB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.4675, allocations: 1.724 MB / 491.4 MB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/0.4706, allocations: 0.7648 MB / 492.2 MB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.4788, allocations: 4.463 MB / 496.6 MB, free: 428 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.48, allocations: 1.583 MB / 498.2 MB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001912/0.4819, allocations: 0.5609 MB / 498.8 MB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/0.4825, allocations: 235.3 kB / 499 MB, free: 14.01 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4826, allocations: 0 / 499 MB, free: 14.01 MB / 414.1 MB Notification: Performance of Templates: time 0.06662/0.5492, allocations: 43.57 MB / 0.5299 GB, free: 2.742 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 -s gbode -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