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.001344/0.001344, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.00144/0.00144, allocations: 153.6 kB / 24.49 MB, free: 3.852 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.44/1.44, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.00261/0.00261, allocations: 46.73 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1214, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03274/0.1541, allocations: 25.39 MB / 397 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.1665, allocations: 7.087 MB / 404 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.1681, allocations: 67.44 kB / 404.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.1707, allocations: 1.01 MB / 405.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.1746, allocations: 1.597 MB / 406.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.1802, allocations: 2.311 MB / 409 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006839/0.1871, allocations: 5.055 MB / 414.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.19, allocations: 1.698 MB / 415.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.1932, allocations: 1.811 MB / 417.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.1961, allocations: 1.614 MB / 419.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000828/0.197, allocations: 308 kB / 419.5 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.1995, allocations: 0.8779 MB / 420.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.2006, allocations: 0.8725 MB / 421.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.2021, allocations: 1.136 MB / 422.4 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.2074, allocations: 4.216 MB / 426.6 MB, free: 100 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2074, allocations: 4 kB / 426.6 MB, free: 96 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2074, allocations: 3.938 kB / 426.6 MB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.485e-05/0.2075, allocations: 0 / 426.6 MB, free: 92 kB / 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.00671/0.2142, allocations: 3.086 MB / 429.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2143, allocations: 12.92 kB / 429.7 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009677/0.2152, allocations: 315.2 kB / 430 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.2179, allocations: 1.366 MB / 431.4 MB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.2183, allocations: 414.5 kB / 431.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.2187, allocations: 224 kB / 432 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005312/0.224, allocations: 3.303 MB / 435.3 MB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.354e-05/0.224, allocations: 7.938 kB / 435.3 MB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.2243, allocations: 95.97 kB / 435.4 MB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.2244, allocations: 99.69 kB / 435.5 MB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.2288, allocations: 2.299 MB / 437.8 MB, free: 4.371 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.01429/0.2431, allocations: 8.525 MB / 446.3 MB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.2463, allocations: 1.802 MB / 448.1 MB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.2481, allocations: 1.084 MB / 449.2 MB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007701/0.2558, allocations: 3.813 MB / 453 MB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002715/0.2585, allocations: 1.943 MB / 455 MB, free: 2.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 4.849e-06/0.2585, allocations: 0 / 455 MB, free: 2.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01752/0.276, allocations: 8.606 MB / 463.6 MB, free: 9.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006865/0.2767, allocations: 0.6919 MB / 464.3 MB, free: 9.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.279, allocations: 1.415 MB / 465.7 MB, free: 7.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00038/0.2793, allocations: 125.7 kB / 465.8 MB, free: 7.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.2804, allocations: 0.9289 MB / 466.7 MB, free: 6.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.2812, allocations: 0.6281 MB / 467.4 MB, free: 5.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008918/0.2821, allocations: 0.572 MB / 467.9 MB, free: 5.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2822, allocations: 301.1 kB / 468.2 MB, free: 5.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.2842, allocations: 1.061 MB / 469.3 MB, free: 3.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.2871, allocations: 1.992 MB / 471.3 MB, free: 1.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2043/0.4914, allocations: 2.595 MB / 473.9 MB, free: 92.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.4914, allocations: 5.781 kB / 473.9 MB, free: 92.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005695/0.4971, allocations: 3.283 MB / 477.2 MB, free: 92.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.4972, allocations: 113.4 kB / 477.3 MB, free: 92.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.4972, allocations: 18.25 kB / 477.3 MB, free: 92.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.4987, allocations: 0.5797 MB / 477.9 MB, free: 92.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.5001, allocations: 399.1 kB / 478.3 MB, free: 91.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.5019, allocations: 2.267 MB / 480.5 MB, free: 90.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.5034, allocations: 127.1 kB / 480.7 MB, free: 90.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.5036, allocations: 128.4 kB / 480.8 MB, free: 90.09 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.001191/0.5048, allocations: 0.8006 MB / 481.6 MB, free: 89.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.5052, allocations: 205.6 kB / 481.8 MB, free: 89.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.5107, allocations: 3.197 MB / 485 MB, free: 88.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.5108, allocations: 26.62 kB / 485 MB, free: 88.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5108, allocations: 2.781 kB / 485 MB, free: 88.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-05/0.5108, allocations: 14.62 kB / 485 MB, free: 88.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/0.5183, allocations: 5.048 MB / 490.1 MB, free: 86.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5183, allocations: 0 / 490.1 MB, free: 86.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/0.5193, allocations: 254.3 kB / 490.3 MB, free: 86.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009416/0.5203, allocations: 0.5648 MB / 490.9 MB, free: 86.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5204, allocations: 72.72 kB / 491 MB, free: 85.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.5219, allocations: 2.222 MB / 493.2 MB, free: 84.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5219, allocations: 7.75 kB / 493.2 MB, free: 84.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.5275, allocations: 4.541 MB / 497.7 MB, free: 80.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/0.5283, allocations: 454.1 kB / 498.2 MB, free: 80.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.5286, allocations: 73.83 kB / 498.3 MB, free: 80.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.5296, allocations: 103.3 kB / 498.4 MB, free: 80.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004448/0.5301, allocations: 269.5 kB / 498.6 MB, free: 79.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.5303, allocations: 95.94 kB / 498.7 MB, free: 79.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008995/0.5312, allocations: 0.8574 MB / 499.6 MB, free: 78.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5312, allocations: 0 / 499.6 MB, free: 78.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001951/0.5331, allocations: 0.6998 MB / 0.4885 GB, free: 78.24 MB / 430.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 (222): * Single equations (assignments): 186 * 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.002332/0.5354, allocations: 0.8959 MB / 0.4894 GB, free: 77.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.5399, allocations: 2.885 MB / 0.4922 GB, free: 74.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5399, allocations: 0 / 0.4922 GB, free: 74.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.5424, allocations: 1.665 MB / 0.4939 GB, free: 72.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.5452, allocations: 0.6953 MB / 0.4945 GB, free: 72.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/0.5522, allocations: 4.621 MB / 0.4991 GB, free: 67.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.5529, allocations: 1.023 MB / 0.5001 GB, free: 66.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001598/0.5545, allocations: 0.5361 MB / 0.5006 GB, free: 66.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.555, allocations: 216.4 kB / 0.5008 GB, free: 65.82 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.555, allocations: 0 / 0.5008 GB, free: 65.82 MB / 430.1 MB Notification: Performance of Templates: time 0.05501/0.6101, allocations: 42.84 MB / 0.5426 GB, free: 23.51 MB / 430.1 MB " [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 -s ida -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/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_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: 6.4954923710320145]