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.001234/0.001234, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002101/0.003335, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001322/0.001322, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.003291, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9867/0.9867, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09983/1.087, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.[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.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.[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.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 3.938 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.27e-05, allocations: 7.859 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008474/0.008486, allocations: 11.84 MB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.01511, allocations: 5.385 MB / 256.8 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008018/0.01591, allocations: 67.44 kB / 256.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.0171, allocations: 0.8195 MB / 257.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.01886, allocations: 1.468 MB / 259.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.0218, allocations: 2.119 MB / 261.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003703/0.02551, allocations: 5.089 MB / 266.3 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.02701, allocations: 1.695 MB / 268 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.02888, allocations: 2.483 MB / 270.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.03021, allocations: 1.379 MB / 271.9 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.03047, allocations: 304 kB / 272.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.03131, allocations: 0.6595 MB / 272.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.03176, allocations: 0.6934 MB / 273.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006519/0.03241, allocations: 0.7525 MB / 274.3 MB, free: 276 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1144/0.1468, allocations: 2.367 MB / 276.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.1468, allocations: 0.9062 kB / 276.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1468, allocations: 0 / 276.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.212e-05/0.1469, allocations: 0 / 276.7 MB, free: 9.105 MB / 266.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.003912/0.1508, allocations: 3.576 MB / 280.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.1508, allocations: 9.781 kB / 280.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.1515, allocations: 415.1 kB / 280.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1528, allocations: 1.092 MB / 281.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.153, allocations: 409.9 kB / 282.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.1532, allocations: 234.1 kB / 282.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.1552, allocations: 2.33 MB / 284.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.1552, allocations: 13.41 kB / 284.7 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.1554, allocations: 91.95 kB / 284.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.828e-05/0.1554, allocations: 99.72 kB / 284.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.1565, allocations: 0.87 MB / 285.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.1617, allocations: 6.694 MB / 292.5 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008996/0.1626, allocations: 1.023 MB / 293.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1629, allocations: 0.4999 MB / 294 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003064/0.166, allocations: 2.651 MB / 296.6 MB, free: 16.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/0.1669, allocations: 1.439 MB / 298.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=207): time 3.236e-06/0.1669, allocations: 2.406 kB / 298.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.004285/0.1712, allocations: 3.483 MB / 301.6 MB, free: 14.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.1713, allocations: 0.5368 MB / 302.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.172, allocations: 1.134 MB / 303.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.1721, allocations: 123 kB / 303.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.1724, allocations: 0.7413 MB / 304.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.1728, allocations: 0.6349 MB / 304.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.1732, allocations: 0.5611 MB / 305.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.1733, allocations: 305.1 kB / 305.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.1737, allocations: 419 kB / 306 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.1745, allocations: 1.325 MB / 307.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.1757, allocations: 1.622 MB / 308.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/0.1757, allocations: 4 kB / 309 MB, free: 9.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.001857/0.1776, allocations: 1.713 MB / 310.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.1777, allocations: 108.6 kB / 310.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.1777, allocations: 20 kB / 310.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.1782, allocations: 368 kB / 311.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.179, allocations: 499.4 kB / 311.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008462/0.1799, allocations: 1.757 MB / 313.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.1805, allocations: 115.8 kB / 313.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.1806, allocations: 98.89 kB / 313.6 MB, free: 5.457 MB / 282.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,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,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 (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.000525/0.1812, allocations: 0.4926 MB / 314.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.1814, allocations: 201.1 kB / 314.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.1836, allocations: 1.731 MB / 316 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.1836, allocations: 27.98 kB / 316.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1836, allocations: 4 kB / 316.1 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.1836, allocations: 11.97 kB / 316.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.1868, allocations: 2.697 MB / 318.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1868, allocations: 0 / 318.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/0.1875, allocations: 306.9 kB / 319.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.1879, allocations: 278.9 kB / 319.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.1883, allocations: 347 kB / 319.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.082e-05/0.1884, allocations: 61.95 kB / 319.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008193/0.1892, allocations: 1.74 MB / 321.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1892, allocations: 4 kB / 321.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.1916, allocations: 2.151 MB / 323.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.1918, allocations: 79.92 kB / 323.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/0.1922, allocations: 87.94 kB / 323.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.1925, allocations: 215.9 kB / 324 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.1926, allocations: 75.94 kB / 324.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003492/0.193, allocations: 479.4 kB / 324.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.193, allocations: 4 kB / 324.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001114/0.1941, allocations: 0.613 MB / 325.2 MB, free: 10.57 MB / 298.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 (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/0.1956, allocations: 0.8904 MB / 326.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1973, allocations: 1.709 MB / 327.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.842e-05/0.1974, allocations: 32.56 kB / 327.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.1985, allocations: 0.9721 MB / 328.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.2001, allocations: 0.9488 MB / 329.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.2122, allocations: 3.818 MB / 333.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2125, allocations: 451.5 kB / 334 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009518/0.2134, allocations: 424.9 kB / 334.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.2147, allocations: 0.7408 MB / 335.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2147, allocations: 0 / 335.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of Templates: time 0.04687/0.2616, allocations: 45.82 MB / 380.9 MB, free: 3.801 MB / 346.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] 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","",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.008417329750955]