Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 53.38 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03292/0.2813, allocations: 28.39 MB / 460.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.2939, allocations: 7.621 MB / 468.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.2959, allocations: 75.31 kB / 468.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.2989, allocations: 1.041 MB / 469.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.3034, allocations: 1.66 MB / 471.2 MB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.3092, allocations: 2.211 MB / 473.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007643/0.3169, allocations: 5.121 MB / 478.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.3204, allocations: 1.714 MB / 480.2 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.3242, allocations: 1.826 MB / 482.1 MB, free: 5.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.3274, allocations: 1.735 MB / 483.8 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.3285, allocations: 312 kB / 484.1 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.3315, allocations: 1.014 MB / 485.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.3329, allocations: 0.8725 MB / 486 MB, free: 1.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.3356, allocations: 1.392 MB / 487.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.3432, allocations: 4.287 MB / 491.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3432, allocations: 0 / 491.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3432, allocations: 0 / 491.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001484/0.3433, allocations: 0 / 491.7 MB, free: 11.47 MB / 398.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.0083/0.3516, allocations: 3.117 MB / 494.8 MB, free: 8.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3517, allocations: 12.03 kB / 494.8 MB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.3537, allocations: 367.1 kB / 495.1 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.357, allocations: 1.401 MB / 496.5 MB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004147/0.3574, allocations: 414.4 kB / 497 MB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005877/0.358, allocations: 228 kB / 497.2 MB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.364, allocations: 2.754 MB / 499.9 MB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.3641, allocations: 4 kB / 499.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/0.3644, allocations: 91.98 kB / 0.4883 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.3646, allocations: 103.6 kB / 0.4884 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/0.3695, allocations: 2.196 MB / 0.4905 GB, free: 436 kB / 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.01959/0.3891, allocations: 10.94 MB / 0.5012 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.3926, allocations: 1.665 MB / 0.5029 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.3946, allocations: 0.9779 MB / 0.5038 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009272/0.4039, allocations: 4.122 MB / 0.5078 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002654/0.4065, allocations: 1.512 MB / 0.5093 GB, free: 12.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 5.049e-06/0.4065, allocations: 4 kB / 0.5093 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01861/0.4251, allocations: 8.392 MB / 0.5175 GB, free: 4.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005298/0.4257, allocations: 0.7633 MB / 0.5183 GB, free: 3.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/0.4286, allocations: 1.671 MB / 0.5199 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005167/0.4291, allocations: 133.7 kB / 0.52 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009607/0.4301, allocations: 0.9185 MB / 0.5209 GB, free: 452 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.4311, allocations: 0.628 MB / 0.5215 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.4325, allocations: 0.5602 MB / 0.5221 GB, free: 15.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4326, allocations: 301.1 kB / 0.5224 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.4347, allocations: 0.9579 MB / 0.5233 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.4375, allocations: 1.678 MB / 0.5249 GB, free: 12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/0.4418, allocations: 2.567 MB / 0.5274 GB, free: 9.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.4419, allocations: 8 kB / 0.5275 GB, free: 9.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00666/0.4485, allocations: 3.135 MB / 0.5305 GB, free: 5.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4487, allocations: 109.1 kB / 0.5306 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/0.4487, allocations: 23.94 kB / 0.5306 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.45, allocations: 0.5805 MB / 0.5312 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4518, allocations: 391.2 kB / 0.5316 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.4546, allocations: 2.27 MB / 0.5338 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.457, allocations: 123.8 kB / 0.5339 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000533/0.4576, allocations: 120 kB / 0.534 GB, free: 2.266 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.00196/0.4595, allocations: 0.8015 MB / 0.5348 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/0.4602, allocations: 218.7 kB / 0.535 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2096/0.6699, allocations: 3.026 MB / 0.538 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.6699, allocations: 28.64 kB / 0.538 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.6699, allocations: 3.141 kB / 0.538 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.67, allocations: 17.08 kB / 0.538 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.6787, allocations: 5.385 MB / 0.5433 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6787, allocations: 0 / 0.5433 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/0.6796, allocations: 243 kB / 0.5435 GB, free: 103.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009076/0.6805, allocations: 0.5532 MB / 0.5441 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.6807, allocations: 66.47 kB / 0.5441 GB, free: 103 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.6822, allocations: 2.234 MB / 0.5463 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6822, allocations: 6.781 kB / 0.5463 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/0.6877, allocations: 4.2 MB / 0.5504 GB, free: 99.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.6886, allocations: 462 kB / 0.5508 GB, free: 99.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.689, allocations: 83.97 kB / 0.5509 GB, free: 99.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.6901, allocations: 97.47 kB / 0.551 GB, free: 99.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/0.6905, allocations: 253.5 kB / 0.5513 GB, free: 99.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6907, allocations: 90.14 kB / 0.5514 GB, free: 99.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.6918, allocations: 1.057 MB / 0.5524 GB, free: 98.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6918, allocations: 0 / 0.5524 GB, free: 98.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001729/0.6936, allocations: 0.6883 MB / 0.5531 GB, free: 98.27 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: 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.0021/0.6957, allocations: 0.8431 MB / 0.5539 GB, free: 97.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004307/0.7, allocations: 2.638 MB / 0.5565 GB, free: 95.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7, allocations: 7.047 kB / 0.5565 GB, free: 95.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.7024, allocations: 1.455 MB / 0.5579 GB, free: 93.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.7057, allocations: 0.7791 MB / 0.5586 GB, free: 92.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/0.713, allocations: 4.583 MB / 0.5631 GB, free: 88.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/0.7137, allocations: 1.575 MB / 0.5647 GB, free: 86.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/0.7145, allocations: 231.3 kB / 0.5649 GB, free: 86.46 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7145, allocations: 4 kB / 0.5649 GB, free: 86.45 MB / 446.1 MB Notification: Performance of Templates: time 0.05754/0.7721, allocations: 68.08 MB / 0.6314 GB, free: 18.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 12.837271298049018]