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.0009642/0.0009642, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009785/0.0009785, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9068/0.9068, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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 1.784e-06/1.784e-06, allocations: 0 / 273.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.825e-05, allocations: 2.312 kB / 273.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.009189/0.009207, allocations: 11.84 MB / 285.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00683/0.01604, allocations: 5.444 MB / 290.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009344/0.01697, allocations: 67.44 kB / 290.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.01825, allocations: 0.8311 MB / 291.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.02043, allocations: 1.526 MB / 293.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.02328, allocations: 2.019 MB / 295.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003998/0.02728, allocations: 5.081 MB / 300.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.02909, allocations: 1.828 MB / 302.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.03181, allocations: 2.535 MB / 304.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.03337, allocations: 1.371 MB / 306 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.03369, allocations: 304 kB / 306.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.03472, allocations: 0.6399 MB / 306.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.0353, allocations: 0.8762 MB / 307.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006893/0.03598, allocations: 0.9548 MB / 308.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.03807, allocations: 2.659 MB / 311.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03807, allocations: 0 / 311.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03807, allocations: 0 / 311.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.03809, allocations: 0 / 311.4 MB, free: 14.35 MB / 298.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.002837/0.04092, allocations: 2.979 MB / 314.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.04095, allocations: 12.03 kB / 314.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.04186, allocations: 480.1 kB / 314.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.0432, allocations: 1.107 MB / 316 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.0434, allocations: 410.8 kB / 316.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.04362, allocations: 228.4 kB / 316.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.04552, allocations: 2.313 MB / 318.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.04556, allocations: 11.92 kB / 318.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.04569, allocations: 95.94 kB / 319 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-05/0.04577, allocations: 103.7 kB / 319.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.04679, allocations: 0.8556 MB / 320 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/0.05325, allocations: 7.122 MB / 327.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.05429, allocations: 1.014 MB / 328.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.05473, allocations: 498.6 kB / 328.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003018/0.05775, allocations: 2.576 MB / 331.2 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009268/0.05867, allocations: 1.43 MB / 332.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 2.955e-06/0.05867, allocations: 0 / 332.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.004446/0.06312, allocations: 3.399 MB / 336 MB, free: 4.574 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.06332, allocations: 0.6957 MB / 336.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.06407, allocations: 1.156 MB / 337.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.06421, allocations: 125.7 kB / 338 MB, free: 2.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.06455, allocations: 0.7476 MB / 338.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.06489, allocations: 0.6316 MB / 339.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/0.06535, allocations: 0.552 MB / 339.9 MB, free: 464 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.06541, allocations: 305.1 kB / 340.2 MB, free: 156 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.06585, allocations: 402.2 kB / 340.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.06671, allocations: 1.312 MB / 341.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.0679, allocations: 1.6 MB / 343.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.0679, allocations: 4 kB / 343.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00167/0.06957, allocations: 1.674 MB / 345.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.06963, allocations: 105.1 kB / 345.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.06965, allocations: 16 kB / 345.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.07014, allocations: 367.2 kB / 345.7 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.07083, allocations: 399.2 kB / 346.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/0.07164, allocations: 1.755 MB / 347.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.07219, allocations: 107.9 kB / 347.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.0723, allocations: 95.98 kB / 348 MB, free: 7.496 MB / 330.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: 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,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,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * 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.0006217/0.07293, allocations: 0.4994 MB / 348.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.07323, allocations: 207.8 kB / 348.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.07505, allocations: 1.665 MB / 350.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.07506, allocations: 27.94 kB / 350.4 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.07507, allocations: 7.984 kB / 350.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.07508, allocations: 11.97 kB / 350.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.07811, allocations: 2.635 MB / 353.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.07812, allocations: 7.984 kB / 353.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.07861, allocations: 231.6 kB / 353.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.07906, allocations: 342.7 kB / 353.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.07914, allocations: 59.95 kB / 353.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1249/0.204, allocations: 1.733 MB / 355.4 MB, free: 69.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.204, allocations: 5.328 kB / 355.4 MB, free: 69.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.2077, allocations: 2.072 MB / 357.5 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/0.2084, allocations: 273.2 kB / 357.8 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.2087, allocations: 80.31 kB / 357.9 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.2093, allocations: 85.36 kB / 357.9 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/0.2097, allocations: 198.9 kB / 358.1 MB, free: 68.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.2099, allocations: 67.38 kB / 358.2 MB, free: 68.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005503/0.2104, allocations: 494.4 kB / 358.7 MB, free: 68.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2104, allocations: 1.188 kB / 358.7 MB, free: 68.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001617/0.212, allocations: 0.6149 MB / 359.3 MB, free: 68.72 MB / 330.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: 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.001667/0.2137, allocations: 0.8034 MB / 360.1 MB, free: 68.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.2159, allocations: 1.683 MB / 361.8 MB, free: 68.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.859e-05/0.2159, allocations: 15.25 kB / 361.8 MB, free: 68.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.217, allocations: 0.9453 MB / 362.7 MB, free: 67.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.2189, allocations: 0.7705 MB / 363.5 MB, free: 67.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.2239, allocations: 3.758 MB / 367.3 MB, free: 66.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.2242, allocations: 448.4 kB / 367.7 MB, free: 66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000973/0.2252, allocations: 405.2 kB / 368.1 MB, free: 65.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/0.2267, allocations: 0.722 MB / 368.8 MB, free: 65.83 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2267, allocations: 3.281 kB / 368.8 MB, free: 65.83 MB / 330.7 MB Notification: Performance of Templates: time 0.04168/0.2684, allocations: 43.62 MB / 412.5 MB, free: 27.63 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1343493508175015]