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.001252/0.001252, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 62.98 kB / 306.9 MB, free: 1.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 50.54 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1932/0.2967, allocations: 28.95 MB / 386.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3082, allocations: 7.876 MB / 394.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002733/0.311, allocations: 64.56 kB / 394.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.3142, allocations: 0.8861 MB / 395.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005052/0.3193, allocations: 1.469 MB / 396.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.3254, allocations: 1.958 MB / 398.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.3337, allocations: 6.043 MB / 404.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/0.3373, allocations: 1.84 MB / 406.5 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.3407, allocations: 1.525 MB / 408 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.3434, allocations: 1.619 MB / 409.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005618/0.3439, allocations: 154.1 kB / 409.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.3465, allocations: 0.7882 MB / 410.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.3473, allocations: 0.7203 MB / 411.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.3491, allocations: 1.251 MB / 412.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003545/0.3526, allocations: 3.151 MB / 415.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3527, allocations: 0 / 415.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3527, allocations: 4 kB / 415.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.226e-05/0.3528, allocations: 0 / 415.7 MB, free: 1.699 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.0065/0.3593, allocations: 3.126 MB / 418.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3593, allocations: 8.031 kB / 418.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.3608, allocations: 333.8 kB / 419.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.3631, allocations: 1.433 MB / 420.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.3634, allocations: 311.6 kB / 420.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.3637, allocations: 224 kB / 421.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.3684, allocations: 2.75 MB / 423.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.3685, allocations: 3.938 kB / 423.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.3687, allocations: 95.98 kB / 424 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3689, allocations: 103.7 kB / 424.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/0.3728, allocations: 2.193 MB / 426.3 MB, free: 6.75 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.01527/0.3881, allocations: 11.24 MB / 437.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.3911, allocations: 2.036 MB / 439.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.3927, allocations: 1.075 MB / 440.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008509/0.4013, allocations: 5.339 MB / 446 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/0.4038, allocations: 1.519 MB / 447.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 5.781e-06/0.4038, allocations: 4 kB / 447.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=215): time 0.01782/0.4216, allocations: 8.508 MB / 456 MB, free: 7.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003591/0.4221, allocations: 0.7675 MB / 456.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.4247, allocations: 1.663 MB / 458.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000463/0.4252, allocations: 129.7 kB / 458.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008508/0.426, allocations: 0.8968 MB / 459.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/0.4269, allocations: 0.6052 MB / 460.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.4279, allocations: 0.5524 MB / 460.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.428, allocations: 305.1 kB / 460.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.4299, allocations: 0.9579 MB / 461.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4323, allocations: 1.67 MB / 463.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.4362, allocations: 2.578 MB / 466.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.4363, allocations: 8 kB / 466.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006093/0.4424, allocations: 3.13 MB / 469.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.4425, allocations: 113.1 kB / 469.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.4426, allocations: 16 kB / 469.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4439, allocations: 0.5848 MB / 470 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4455, allocations: 391.2 kB / 470.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.4478, allocations: 2.262 MB / 472.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.4498, allocations: 155.6 kB / 472.8 MB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.4501, allocations: 120 kB / 472.9 MB, free: 6.031 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.001617/0.4518, allocations: 0.8162 MB / 473.7 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006506/0.4524, allocations: 213.5 kB / 473.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/0.4585, allocations: 3.023 MB / 476.9 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.4586, allocations: 27.98 kB / 477 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.4586, allocations: 4 kB / 477 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.4586, allocations: 7.969 kB / 477 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009664/0.4683, allocations: 5.437 MB / 482.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.4684, allocations: 4 kB / 482.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4695, allocations: 239.6 kB / 482.6 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.4707, allocations: 0.5646 MB / 483.2 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.4709, allocations: 67.95 kB / 483.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.4731, allocations: 2.227 MB / 485.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4731, allocations: 7.938 kB / 485.5 MB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007081/0.4802, allocations: 4.184 MB / 489.7 MB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4814, allocations: 0.5139 MB / 490.2 MB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006102/0.482, allocations: 79.97 kB / 490.3 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.4836, allocations: 115.8 kB / 490.4 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/0.4841, allocations: 257.6 kB / 490.6 MB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/0.4844, allocations: 91.95 kB / 490.7 MB, free: 3.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.4862, allocations: 1.055 MB / 491.8 MB, free: 2.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4862, allocations: 0 / 491.8 MB, free: 2.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002528/0.4887, allocations: 0.6872 MB / 492.5 MB, free: 2.09 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.002098/0.4908, allocations: 0.8515 MB / 493.3 MB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00571/0.4966, allocations: 2.799 MB / 496.1 MB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4966, allocations: 0 / 496.1 MB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003433/0.5001, allocations: 1.622 MB / 497.7 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004302/0.5044, allocations: 0.7357 MB / 498.5 MB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5148, allocations: 5.343 MB / 0.492 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.5164, allocations: 1.579 MB / 0.4936 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.5175, allocations: 227.4 kB / 0.4938 GB, free: 4.914 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5175, allocations: 0 / 0.4938 GB, free: 4.914 MB / 414.1 MB Notification: Performance of Templates: time 0.2373/0.7548, allocations: 67.71 MB / 0.5599 GB, free: 136.8 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