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.0008604/0.0008604, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004/0.004, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 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 0.8521/0.8521, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.853e-06/1.853e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.756e-05, allocations: 2.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01907/0.0191, allocations: 25.21 MB / 344.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008168/0.02727, allocations: 7.112 MB / 352 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.02847, allocations: 71.38 kB / 352.1 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.0302, allocations: 1.004 MB / 353.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.03279, allocations: 1.65 MB / 354.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.03633, allocations: 2.337 MB / 357.1 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004372/0.0407, allocations: 5.085 MB / 362.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.04286, allocations: 1.702 MB / 363.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.04602, allocations: 2.498 MB / 366.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.04777, allocations: 1.461 MB / 367.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004211/0.04819, allocations: 308 kB / 368.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.04962, allocations: 0.8931 MB / 369 MB, free: 4.332 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005404/0.05016, allocations: 0.8879 MB / 369.9 MB, free: 3.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008006/0.05097, allocations: 0.9665 MB / 370.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.0547, allocations: 4.382 MB / 375.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.0547, allocations: 0 / 375.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05471, allocations: 0 / 375.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.904e-05/0.05474, allocations: 0 / 375.2 MB, free: 14.08 MB / 346.7 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.003781/0.05853, allocations: 3.066 MB / 378.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.05857, allocations: 12.92 kB / 378.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005149/0.05908, allocations: 303.2 kB / 378.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.06078, allocations: 1.373 MB / 380 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.061, allocations: 410.8 kB / 380.4 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.06121, allocations: 224.4 kB / 380.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.06425, allocations: 3.311 MB / 383.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.06428, allocations: 7.938 kB / 383.9 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.06443, allocations: 84 kB / 384 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-05/0.0645, allocations: 99.69 kB / 384.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.06719, allocations: 2.303 MB / 386.4 MB, free: 2.391 MB / 346.7 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.007411/0.07461, allocations: 8.509 MB / 394.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.07641, allocations: 1.801 MB / 396.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.07746, allocations: 1.1 MB / 397.8 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004304/0.08176, allocations: 3.813 MB / 401.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.08332, allocations: 1.931 MB / 403.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 3.556e-06/0.08332, allocations: 0 / 403.6 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.009106/0.09243, allocations: 8.61 MB / 412.2 MB, free: 7.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002254/0.09265, allocations: 0.688 MB / 412.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.09391, allocations: 1.4 MB / 414.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.09406, allocations: 129.7 kB / 414.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/0.09472, allocations: 0.925 MB / 415.3 MB, free: 4.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.0951, allocations: 0.6355 MB / 416 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005349/0.09564, allocations: 0.5603 MB / 416.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.0957, allocations: 305.1 kB / 416.8 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.09683, allocations: 1.068 MB / 417.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.0984, allocations: 1.992 MB / 419.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.1009, allocations: 2.606 MB / 422.5 MB, free: 12.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.101, allocations: 4 kB / 422.5 MB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.003574/0.1045, allocations: 3.281 MB / 425.8 MB, free: 9.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.1046, allocations: 109.1 kB / 425.9 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.1046, allocations: 20 kB / 425.9 MB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.1054, allocations: 0.5807 MB / 426.5 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.1061, allocations: 395.2 kB / 426.9 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.1076, allocations: 2.266 MB / 429.1 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.1084, allocations: 127.8 kB / 429.2 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.1086, allocations: 132.1 kB / 429.4 MB, free: 5.734 MB / 394.7 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.0009573/0.1096, allocations: 0.8095 MB / 430.2 MB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.1098, allocations: 198.8 kB / 430.4 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.1133, allocations: 3.202 MB / 433.6 MB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.1133, allocations: 28 kB / 433.6 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1133, allocations: 0 / 433.6 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.1133, allocations: 15.95 kB / 433.6 MB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.1188, allocations: 5.035 MB / 438.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.1189, allocations: 8 kB / 438.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.1194, allocations: 259.5 kB / 438.9 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.12, allocations: 0.5528 MB / 439.5 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1201, allocations: 71.94 kB / 439.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.1214, allocations: 2.231 MB / 441.8 MB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1214, allocations: 4.312 kB / 441.8 MB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.126, allocations: 4.526 MB / 446.3 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.1266, allocations: 462.3 kB / 446.8 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.1268, allocations: 75.98 kB / 446.8 MB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.1273, allocations: 99.86 kB / 446.9 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.1276, allocations: 273.5 kB / 447.2 MB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.1278, allocations: 99.88 kB / 447.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007519/0.1285, allocations: 0.8613 MB / 448.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1285, allocations: 0 / 448.2 MB, free: 2.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001374/0.1299, allocations: 0.6947 MB / 448.8 MB, free: 1.828 MB / 410.7 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.001222/0.1311, allocations: 0.9121 MB / 449.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.126/0.2571, allocations: 2.876 MB / 452.6 MB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.2571, allocations: 1.219 kB / 452.6 MB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.2589, allocations: 1.59 MB / 454.2 MB, free: 126.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.2607, allocations: 0.6856 MB / 454.9 MB, free: 126.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/0.2651, allocations: 4.558 MB / 459.5 MB, free: 124.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.2657, allocations: 1.012 MB / 460.5 MB, free: 123.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.2661, allocations: 247.6 kB / 460.7 MB, free: 123.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2661, allocations: 0 / 460.7 MB, free: 123.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03591/0.302, allocations: 67.9 MB / 0.5162 GB, free: 56.66 MB / 410.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/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: 8.907543807290494]