Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009409/0.0009411, allocations: 98.28 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 203.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002554, allocations: 4 kB / 308.4 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09724, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2086/0.3059, allocations: 28.14 MB / 388.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3188, allocations: 7.787 MB / 395.8 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.3219, allocations: 59.72 kB / 395.9 MB, free: 368 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.3251, allocations: 0.8834 MB / 396.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.3307, allocations: 1.474 MB / 398.3 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006552/0.3373, allocations: 1.963 MB / 400.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009144/0.3464, allocations: 6.029 MB / 406.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004002/0.3505, allocations: 1.775 MB / 408 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.3542, allocations: 1.45 MB / 409.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.3572, allocations: 1.53 MB / 411 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008801/0.3581, allocations: 117.6 kB / 411.1 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.3612, allocations: 0.7501 MB / 411.9 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.3625, allocations: 0.6579 MB / 412.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.3651, allocations: 1.206 MB / 413.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004636/0.3697, allocations: 3.088 MB / 416.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3698, allocations: 4 kB / 416.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3698, allocations: 0 / 416.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.3699, allocations: 0 / 416.8 MB, free: 2.582 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.006639/0.3766, allocations: 2.561 MB / 419.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3766, allocations: 8.031 kB / 419.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.3787, allocations: 333.7 kB / 419.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.3817, allocations: 1.433 MB / 421.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.3821, allocations: 311.6 kB / 421.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006128/0.3827, allocations: 224 kB / 421.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006219/0.3889, allocations: 2.753 MB / 424.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.857e-05/0.3891, allocations: 7.938 kB / 424.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.3894, allocations: 91.97 kB / 424.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.3896, allocations: 99.69 kB / 424.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.3942, allocations: 2.196 MB / 426.8 MB, free: 8.199 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.01774/0.412, allocations: 11.28 MB / 438.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.4153, allocations: 2.024 MB / 440.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.4172, allocations: 1.079 MB / 441.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009134/0.4263, allocations: 5.354 MB / 446.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002493/0.4289, allocations: 1.523 MB / 448.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 5.651e-06/0.4289, allocations: 4 kB / 448.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=215): time 0.01784/0.4468, allocations: 8.539 MB / 456.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003793/0.4472, allocations: 0.7674 MB / 457.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/0.4496, allocations: 1.666 MB / 459.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000415/0.45, allocations: 129.7 kB / 459.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007778/0.4508, allocations: 0.9007 MB / 460.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006415/0.4514, allocations: 0.6013 MB / 460.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.4519, allocations: 311.2 kB / 461 MB, free: 4.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.452, allocations: 309.1 kB / 461.3 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.4536, allocations: 0.9579 MB / 462.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.4558, allocations: 1.678 MB / 463.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.4596, allocations: 2.563 MB / 466.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.4596, allocations: 4 kB / 466.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005525/0.4651, allocations: 3.145 MB / 469.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/0.4653, allocations: 105.1 kB / 469.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.4653, allocations: 16 kB / 469.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4666, allocations: 0.5846 MB / 470.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.468, allocations: 391.2 kB / 470.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.4702, allocations: 2.27 MB / 473 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.4721, allocations: 163.7 kB / 473.2 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.4723, allocations: 120 kB / 473.3 MB, free: 7.621 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: 186 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,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.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,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * 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.001437/0.4738, allocations: 0.809 MB / 474.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.4742, allocations: 209.6 kB / 474.3 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.4799, allocations: 3.024 MB / 477.3 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.4799, allocations: 24 kB / 477.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4799, allocations: 0 / 477.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.48, allocations: 15.95 kB / 477.3 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008935/0.4889, allocations: 5.444 MB / 482.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.489, allocations: 7.938 kB / 482.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.49, allocations: 243.5 kB / 483 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.4911, allocations: 0.5606 MB / 483.6 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.4913, allocations: 59.97 kB / 483.7 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.4933, allocations: 2.231 MB / 485.9 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.4934, allocations: 7.984 kB / 485.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/0.5, allocations: 4.184 MB / 490.1 MB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.5012, allocations: 0.5373 MB / 490.6 MB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/0.5018, allocations: 75.98 kB / 490.7 MB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.5033, allocations: 139.7 kB / 490.8 MB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.5038, allocations: 253.6 kB / 491.1 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/0.5041, allocations: 87.95 kB / 491.2 MB, free: 5.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001816/0.5059, allocations: 1.063 MB / 492.2 MB, free: 4.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5059, allocations: 0 / 492.2 MB, free: 4.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002472/0.5084, allocations: 0.6795 MB / 492.9 MB, free: 3.641 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: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.localActive,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,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.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,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (212): * Single equations (assignments): 176 * 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.002021/0.5104, allocations: 0.847 MB / 493.7 MB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.516, allocations: 2.799 MB / 496.5 MB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.516, allocations: 4 kB / 496.6 MB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003057/0.5191, allocations: 1.618 MB / 498.2 MB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004775/0.5239, allocations: 0.7332 MB / 498.9 MB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.5341, allocations: 5.461 MB / 0.4925 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.5357, allocations: 1.579 MB / 0.4941 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.5368, allocations: 227.4 kB / 0.4943 GB, free: 6.348 MB / 414.1 MB Notification: Performance of SimCode: time 3.036e-06/0.5368, allocations: 0 / 0.4943 GB, free: 6.348 MB / 414.1 MB Notification: Performance of Templates: time 0.2559/0.7927, allocations: 67.39 MB / 0.5601 GB, free: 138.3 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches