Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 123.4 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 366.8 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1055, allocations: 52.14 MB / 418.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03467/0.1401, allocations: 27.98 MB / 446.9 MB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.228/0.3682, allocations: 7.485 MB / 454.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3699, allocations: 49.47 kB / 454.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3727, allocations: 1.022 MB / 455.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.3768, allocations: 1.585 MB / 457.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005737/0.3825, allocations: 2.248 MB / 459.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007455/0.3899, allocations: 5.005 MB / 464.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.3933, allocations: 1.781 MB / 466.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.3971, allocations: 1.777 MB / 467.9 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.4004, allocations: 1.723 MB / 469.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.4013, allocations: 309.2 kB / 469.9 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.4043, allocations: 0.9446 MB / 470.8 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008847/0.4052, allocations: 0.8797 MB / 471.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.4071, allocations: 1.382 MB / 473.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006263/0.4133, allocations: 4.206 MB / 477.3 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4134, allocations: 0 / 477.3 MB, free: 184 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4134, allocations: 0 / 477.3 MB, free: 184 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001233/0.4135, allocations: 0 / 477.3 MB, free: 184 kB / 366.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.008256/0.4217, allocations: 3.182 MB / 480.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4218, allocations: 10.59 kB / 480.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4229, allocations: 301.6 kB / 480.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.4267, allocations: 1.478 MB / 482.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.427, allocations: 307.8 kB / 482.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.4274, allocations: 221.9 kB / 482.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.4327, allocations: 2.765 MB / 485.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.4327, allocations: 10.59 kB / 485.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.433, allocations: 94.86 kB / 485.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.4331, allocations: 99.56 kB / 485.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004022/0.4371, allocations: 2.197 MB / 487.9 MB, free: 9.211 MB / 382.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.01612/0.4532, allocations: 10.29 MB / 498.2 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.4564, allocations: 1.942 MB / 0.4885 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.4582, allocations: 0.9968 MB / 0.4894 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009947/0.4682, allocations: 5.488 MB / 0.4948 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00253/0.4707, allocations: 1.53 MB / 0.4963 GB, free: 6.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=207): time 4.308e-06/0.4707, allocations: 0 / 0.4963 GB, free: 6.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01801/0.4887, allocations: 8.686 MB / 0.5048 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005214/0.4892, allocations: 0.7616 MB / 0.5055 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/0.4918, allocations: 1.642 MB / 0.5071 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.4922, allocations: 129.7 kB / 0.5072 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008828/0.4931, allocations: 0.899 MB / 0.5081 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/0.4939, allocations: 0.6397 MB / 0.5087 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009152/0.4948, allocations: 0.5642 MB / 0.5093 GB, free: 8.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4949, allocations: 301.1 kB / 0.5096 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4968, allocations: 0.9657 MB / 0.5105 GB, free: 7.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.4995, allocations: 1.689 MB / 0.5122 GB, free: 5.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.5039, allocations: 2.582 MB / 0.5147 GB, free: 2.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.5039, allocations: 4 kB / 0.5147 GB, free: 2.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006921/0.5108, allocations: 3.191 MB / 0.5178 GB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5109, allocations: 109.7 kB / 0.5179 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.511, allocations: 20.06 kB / 0.5179 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.5124, allocations: 0.5745 MB / 0.5185 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.5141, allocations: 403.1 kB / 0.5189 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.5168, allocations: 2.267 MB / 0.5211 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5187, allocations: 132 kB / 0.5212 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.519, allocations: 124 kB / 0.5213 GB, free: 11.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001624/0.5207, allocations: 0.8038 MB / 0.5221 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/0.5212, allocations: 222.6 kB / 0.5223 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00617/0.5274, allocations: 3.066 MB / 0.5253 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.5274, allocations: 28 kB / 0.5254 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.5274, allocations: 8 kB / 0.5254 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.5274, allocations: 15.95 kB / 0.5254 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.5377, allocations: 5.474 MB / 0.5307 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.5377, allocations: 4 kB / 0.5307 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5388, allocations: 259.5 kB / 0.531 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.54, allocations: 0.5495 MB / 0.5315 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.5402, allocations: 75.94 kB / 0.5316 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.5428, allocations: 2.234 MB / 0.5338 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5428, allocations: 3.938 kB / 0.5338 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007885/0.5507, allocations: 4.274 MB / 0.538 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.5521, allocations: 0.5424 MB / 0.5385 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.5525, allocations: 84.22 kB / 0.5386 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.5537, allocations: 107.8 kB / 0.5387 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/0.5542, allocations: 253.6 kB / 0.5389 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/0.5544, allocations: 103.9 kB / 0.539 GB, free: 9.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001566/0.556, allocations: 1.035 MB / 0.54 GB, free: 8.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.556, allocations: 0 / 0.54 GB, free: 8.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002411/0.5584, allocations: 0.6947 MB / 0.5407 GB, free: 7.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002461/0.5609, allocations: 0.8707 MB / 0.5415 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005499/0.5664, allocations: 2.661 MB / 0.5441 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5664, allocations: 4 kB / 0.5441 GB, free: 4.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/0.5695, allocations: 1.468 MB / 0.5456 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/0.5729, allocations: 0.7757 MB / 0.5463 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.5822, allocations: 4.585 MB / 0.5508 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.5836, allocations: 1.576 MB / 0.5524 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009197/0.5846, allocations: 247.3 kB / 0.5526 GB, free: 11.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5846, allocations: 0 / 0.5526 GB, free: 11.68 MB / 462.1 MB Notification: Performance of Templates: time 0.08862/0.6732, allocations: 68.42 MB / 0.6194 GB, free: 7.309 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.693773075006902]