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.001879/0.001879, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.00188, allocations: 64.75 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1908/0.2945, allocations: 27.94 MB / 385.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3053, allocations: 7.584 MB / 393.1 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.3086, allocations: 52.25 kB / 393.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.3118, allocations: 1.01 MB / 394.1 MB, free: 80 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.317, allocations: 1.606 MB / 395.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006541/0.3235, allocations: 2.156 MB / 397.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009171/0.3327, allocations: 5.027 MB / 402.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004795/0.3375, allocations: 2.105 MB / 405 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.3428, allocations: 1.764 MB / 406.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.3466, allocations: 1.67 MB / 408.4 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.3477, allocations: 309.3 kB / 408.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.3509, allocations: 0.9439 MB / 409.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.3524, allocations: 0.8624 MB / 410.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.3553, allocations: 1.404 MB / 412 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.3636, allocations: 4.141 MB / 416.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3637, allocations: 0 / 416.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3637, allocations: 0 / 416.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.3638, allocations: 4 kB / 416.1 MB, free: 0.9219 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.00785/0.3717, allocations: 3.121 MB / 419.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3717, allocations: 8.031 kB / 419.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.3733, allocations: 337.7 kB / 419.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.3772, allocations: 1.433 MB / 421 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004972/0.3778, allocations: 307.6 kB / 421.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/0.3784, allocations: 224 kB / 421.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008366/0.3868, allocations: 2.746 MB / 424.3 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.372e-05/0.3869, allocations: 7.938 kB / 424.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004077/0.3873, allocations: 91.98 kB / 424.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.3875, allocations: 99.69 kB / 424.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007151/0.3947, allocations: 2.2 MB / 426.7 MB, free: 5.977 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.02697/0.4217, allocations: 11.26 MB / 437.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005278/0.427, allocations: 2.016 MB / 439.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/0.4301, allocations: 1.087 MB / 441 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.4403, allocations: 5.331 MB / 446.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/0.4433, allocations: 1.519 MB / 447.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 5.62e-06/0.4433, allocations: 4 kB / 447.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=215): time 0.01988/0.4632, allocations: 8.504 MB / 456.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004812/0.4637, allocations: 0.7672 MB / 457.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.4664, allocations: 1.663 MB / 458.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004503/0.4669, allocations: 129.7 kB / 458.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009477/0.4679, allocations: 0.8969 MB / 459.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/0.4686, allocations: 0.6052 MB / 460.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009191/0.4695, allocations: 0.5562 MB / 461 MB, free: 2.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4697, allocations: 309.1 kB / 461.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.4715, allocations: 0.9501 MB / 462.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.4743, allocations: 1.678 MB / 463.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00426/0.4785, allocations: 2.574 MB / 466.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.4786, allocations: 4 kB / 466.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006356/0.4849, allocations: 3.134 MB / 469.6 MB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4851, allocations: 109.1 kB / 469.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.4851, allocations: 20.86 kB / 469.8 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.4864, allocations: 0.5801 MB / 470.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.4879, allocations: 395.2 kB / 470.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.4904, allocations: 2.266 MB / 473 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.4921, allocations: 127.9 kB / 473.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/0.4923, allocations: 120 kB / 473.2 MB, free: 5.273 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.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.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.001453/0.4938, allocations: 0.7974 MB / 474 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005156/0.4943, allocations: 217.5 kB / 474.2 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.5004, allocations: 3.02 MB / 477.3 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.5005, allocations: 27.98 kB / 477.3 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5005, allocations: 4 kB / 477.3 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.5005, allocations: 15.97 kB / 477.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009797/0.5103, allocations: 5.441 MB / 482.7 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5104, allocations: 0 / 482.7 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.5114, allocations: 251.6 kB / 483 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.5126, allocations: 0.5567 MB / 483.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.5128, allocations: 63.95 kB / 483.6 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.5152, allocations: 2.239 MB / 485.8 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5152, allocations: 0 / 485.8 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007375/0.5226, allocations: 4.188 MB / 490 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.5236, allocations: 0.5101 MB / 490.5 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.524, allocations: 79.88 kB / 490.6 MB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.5251, allocations: 100 kB / 490.7 MB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/0.5257, allocations: 261.6 kB / 491 MB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.5259, allocations: 91.95 kB / 491.1 MB, free: 3.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.5275, allocations: 1.051 MB / 492.1 MB, free: 2.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5275, allocations: 0 / 492.1 MB, free: 2.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002007/0.5295, allocations: 0.6912 MB / 492.8 MB, free: 1.344 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.active,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.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,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.localCondition,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.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,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.002312/0.5318, allocations: 0.8421 MB / 493.7 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009329/0.5411, allocations: 3.639 MB / 497.3 MB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.5412, allocations: 4 kB / 497.3 MB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.5444, allocations: 1.7 MB / 499 MB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.5478, allocations: 0.7717 MB / 499.8 MB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.556, allocations: 4.519 MB / 0.4925 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.5574, allocations: 1.595 MB / 0.494 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001813/0.5592, allocations: 0.5363 MB / 0.4945 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.5597, allocations: 215.3 kB / 0.4948 GB, free: 3.527 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5598, allocations: 0 / 0.4948 GB, free: 3.527 MB / 414.1 MB Notification: Performance of Templates: time 0.2235/0.7833, allocations: 43.2 MB / 0.5369 GB, free: 146.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches