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.001456/0.001456, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 56.14 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2856, allocations: 50.55 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02845/0.3141, allocations: 27.94 MB / 437.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.3275, allocations: 7.58 MB / 445.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.33, allocations: 47.75 kB / 445.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.3335, allocations: 1.025 MB / 446.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.3385, allocations: 1.605 MB / 448.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.3448, allocations: 2.15 MB / 450.3 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007725/0.3525, allocations: 5.047 MB / 455.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.3565, allocations: 2.099 MB / 457.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.3601, allocations: 1.791 MB / 459.2 MB, free: 96 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.3634, allocations: 1.654 MB / 460.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.3645, allocations: 312 kB / 461.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.3673, allocations: 0.9362 MB / 462.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.3686, allocations: 0.8571 MB / 463 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.3711, allocations: 1.408 MB / 464.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006432/0.3775, allocations: 4.196 MB / 468.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3776, allocations: 4 kB / 468.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3776, allocations: 4 kB / 468.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.3777, allocations: 0 / 468.6 MB, free: 6.703 MB / 382.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.007801/0.3855, allocations: 3.125 MB / 471.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3856, allocations: 12.03 kB / 471.7 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.3874, allocations: 325.8 kB / 472 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.3902, allocations: 1.48 MB / 473.5 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.3905, allocations: 307.5 kB / 473.8 MB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/0.391, allocations: 224 kB / 474 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/0.3963, allocations: 2.754 MB / 476.8 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.3963, allocations: 7.938 kB / 476.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.3966, allocations: 87.98 kB / 476.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.3967, allocations: 99.69 kB / 477 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/0.4009, allocations: 2.193 MB / 479.2 MB, free: 11.72 MB / 398.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.01629/0.4172, allocations: 11.19 MB / 490.4 MB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.4204, allocations: 2.024 MB / 492.4 MB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.4222, allocations: 1.087 MB / 493.5 MB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008591/0.4308, allocations: 5.323 MB / 498.8 MB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002452/0.4332, allocations: 1.519 MB / 0.4886 GB, free: 5.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.811e-06/0.4333, allocations: 0 / 0.4886 GB, free: 5.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01665/0.4499, allocations: 8.516 MB / 0.4969 GB, free: 12.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003847/0.4504, allocations: 0.7713 MB / 0.4976 GB, free: 11.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.4529, allocations: 1.663 MB / 0.4993 GB, free: 10.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.4533, allocations: 125.7 kB / 0.4994 GB, free: 10.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.4542, allocations: 0.9007 MB / 0.5003 GB, free: 9.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/0.455, allocations: 0.6013 MB / 0.5009 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.456, allocations: 0.5563 MB / 0.5014 GB, free: 8.051 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4562, allocations: 301.1 kB / 0.5017 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.458, allocations: 0.9579 MB / 0.5026 GB, free: 6.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.4604, allocations: 1.674 MB / 0.5043 GB, free: 4.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.4643, allocations: 2.574 MB / 0.5068 GB, free: 1.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/0.4644, allocations: 8 kB / 0.5068 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.0059/0.4703, allocations: 3.134 MB / 0.5098 GB, free: 14.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.4704, allocations: 112 kB / 0.5099 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.4704, allocations: 27.92 kB / 0.51 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.4717, allocations: 0.5809 MB / 0.5105 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4732, allocations: 387.2 kB / 0.5109 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.4755, allocations: 2.266 MB / 0.5131 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.4774, allocations: 119.8 kB / 0.5132 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/0.4778, allocations: 120 kB / 0.5134 GB, free: 11.08 MB / 446.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.00163/0.4794, allocations: 0.8053 MB / 0.5141 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/0.4801, allocations: 213.5 kB / 0.5143 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006222/0.4863, allocations: 3.015 MB / 0.5173 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/0.4864, allocations: 31.92 kB / 0.5173 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.4864, allocations: 4 kB / 0.5173 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.4865, allocations: 11.97 kB / 0.5173 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.4967, allocations: 5.399 MB / 0.5226 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.4967, allocations: 7.984 kB / 0.5226 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4979, allocations: 243.6 kB / 0.5228 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.499, allocations: 0.5567 MB / 0.5234 GB, free: 0.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/0.4993, allocations: 63.95 kB / 0.5234 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.5017, allocations: 2.235 MB / 0.5256 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5017, allocations: 4 kB / 0.5256 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007834/0.5096, allocations: 4.183 MB / 0.5297 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.5109, allocations: 0.5217 MB / 0.5302 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006365/0.5115, allocations: 75.97 kB / 0.5303 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.513, allocations: 99.92 kB / 0.5304 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/0.5137, allocations: 253.9 kB / 0.5306 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/0.5139, allocations: 91.95 kB / 0.5307 GB, free: 8.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.5158, allocations: 1.051 MB / 0.5318 GB, free: 7.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5158, allocations: 3.938 kB / 0.5318 GB, free: 7.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002674/0.5185, allocations: 0.6912 MB / 0.5324 GB, free: 7.199 MB / 462.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.002171/0.5207, allocations: 0.8575 MB / 0.5333 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005974/0.5267, allocations: 2.818 MB / 0.536 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.5267, allocations: 7.766 kB / 0.536 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.53, allocations: 1.631 MB / 0.5376 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004332/0.5344, allocations: 0.764 MB / 0.5384 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2436/0.778, allocations: 4.495 MB / 0.5428 GB, free: 128.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.7793, allocations: 1.574 MB / 0.5443 GB, free: 127.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009039/0.7802, allocations: 240.1 kB / 0.5445 GB, free: 127.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7802, allocations: 0 / 0.5445 GB, free: 127.9 MB / 462.1 MB Notification: Performance of Templates: time 0.05977/0.84, allocations: 68.05 MB / 0.611 GB, free: 66.75 MB / 462.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