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.001404/0.001404, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001669/0.001669, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.454/1.454, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 49.89 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 49.44 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2274/0.3412, allocations: 27.75 MB / 378.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3536, allocations: 7.495 MB / 386 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.3563, allocations: 48.25 kB / 386 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.3598, allocations: 1.019 MB / 387 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.3653, allocations: 1.538 MB / 388.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007341/0.3727, allocations: 2.251 MB / 390.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009052/0.3817, allocations: 4.994 MB / 395.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.3857, allocations: 2.086 MB / 397.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.3897, allocations: 1.752 MB / 399.7 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.3928, allocations: 1.661 MB / 401.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.3938, allocations: 309.2 kB / 401.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.3971, allocations: 0.9193 MB / 402.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.3982, allocations: 0.852 MB / 403.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.4009, allocations: 1.397 MB / 404.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006369/0.4073, allocations: 4.075 MB / 408.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4073, allocations: 0 / 408.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4073, allocations: 0 / 408.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.744e-05/0.4074, allocations: 3.938 kB / 408.9 MB, free: 10.79 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.006435/0.4139, allocations: 3.102 MB / 412 MB, free: 7.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4139, allocations: 8.031 kB / 412 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.4148, allocations: 297.7 kB / 412.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.4172, allocations: 1.425 MB / 413.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002677/0.4175, allocations: 311.6 kB / 414 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.4178, allocations: 224 kB / 414.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005112/0.4229, allocations: 2.769 MB / 417 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.423, allocations: 3.938 kB / 417 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.4233, allocations: 91.98 kB / 417.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.4234, allocations: 99.69 kB / 417.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.4275, allocations: 2.204 MB / 419.4 MB, free: 15.89 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.01514/0.4426, allocations: 10.33 MB / 429.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.4461, allocations: 2.057 MB / 431.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/0.4479, allocations: 1.11 MB / 432.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008725/0.4567, allocations: 5.495 MB / 438.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/0.4591, allocations: 1.535 MB / 439.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 4.659e-06/0.4591, allocations: 0 / 439.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01665/0.4758, allocations: 8.504 MB / 448.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004061/0.4762, allocations: 0.7636 MB / 449.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.4786, allocations: 1.638 MB / 450.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000501/0.4791, allocations: 121.7 kB / 450.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4801, allocations: 0.885 MB / 451.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009273/0.4811, allocations: 0.609 MB / 452.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000952/0.482, allocations: 0.5641 MB / 453 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4822, allocations: 305.1 kB / 453.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.4841, allocations: 0.9656 MB / 454.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.4866, allocations: 1.686 MB / 455.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.4906, allocations: 2.579 MB / 458.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.4906, allocations: 8 kB / 458.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006235/0.4968, allocations: 3.182 MB / 461.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.497, allocations: 109.2 kB / 461.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.497, allocations: 20.09 kB / 461.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.4983, allocations: 0.5878 MB / 462.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.4998, allocations: 399.2 kB / 462.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.5022, allocations: 2.262 MB / 465.1 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.5041, allocations: 123.9 kB / 465.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.5044, allocations: 132 kB / 465.3 MB, free: 15.82 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.001629/0.506, allocations: 0.8052 MB / 466.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/0.5067, allocations: 209.5 kB / 466.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/0.5126, allocations: 3.081 MB / 469.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.522e-05/0.5127, allocations: 28 kB / 469.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.5127, allocations: 8 kB / 469.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.5128, allocations: 11.95 kB / 469.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.5243, allocations: 5.522 MB / 475 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.5244, allocations: 0 / 475 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5255, allocations: 251.5 kB / 475.2 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.5268, allocations: 0.5606 MB / 475.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.5271, allocations: 67.94 kB / 475.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.5296, allocations: 2.235 MB / 478.1 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.5296, allocations: 7.938 kB / 478.1 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/0.538, allocations: 4.271 MB / 482.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/0.5394, allocations: 0.5255 MB / 482.9 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/0.5401, allocations: 75.98 kB / 483 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.5417, allocations: 107.8 kB / 483.1 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/0.5423, allocations: 253.6 kB / 483.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/0.5426, allocations: 103.9 kB / 483.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.5445, allocations: 1.035 MB / 484.4 MB, free: 12.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5445, allocations: 4 kB / 484.5 MB, free: 12.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002842/0.5474, allocations: 0.6913 MB / 485.1 MB, free: 11.6 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.002318/0.5497, allocations: 0.8609 MB / 486 MB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/0.5601, allocations: 3.697 MB / 489.7 MB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.5601, allocations: 4 kB / 489.7 MB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.5636, allocations: 1.662 MB / 491.4 MB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/0.5681, allocations: 0.7582 MB / 492.1 MB, free: 4.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5785, allocations: 4.582 MB / 496.7 MB, free: 88 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.5802, allocations: 1.579 MB / 498.3 MB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.5813, allocations: 239.3 kB / 498.5 MB, free: 14.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.635e-06/0.5814, allocations: 4 kB / 498.5 MB, free: 14.23 MB / 414.1 MB Notification: Performance of Templates: time 0.2701/0.8514, allocations: 68 MB / 0.5532 GB, free: 147.9 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