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.0009972/0.0009972, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001008/0.001008, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.925/0.925, allocations: 173.4 MB / 201.2 MB, free: 9.344 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.[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.884e-06/1.884e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.51e-05, allocations: 5.969 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01355/0.01358, allocations: 11.96 MB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006183/0.01976, allocations: 5.242 MB / 285.2 MB, free: 5.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.02035, allocations: 67.44 kB / 285.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.02152, allocations: 0.8351 MB / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.02312, allocations: 1.448 MB / 287.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.02546, allocations: 2.128 MB / 289.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1037/0.1292, allocations: 5.048 MB / 294.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.1314, allocations: 1.793 MB / 296.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.1348, allocations: 2.527 MB / 299 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.1366, allocations: 1.415 MB / 300.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.1371, allocations: 302.6 kB / 300.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.1381, allocations: 0.637 MB / 301.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.1386, allocations: 0.8837 MB / 302.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007018/0.1393, allocations: 0.9449 MB / 303.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.1412, allocations: 2.652 MB / 305.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1412, allocations: 0 / 305.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1412, allocations: 0 / 305.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1412, allocations: 0 / 305.9 MB, free: 13.76 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.002842/0.1441, allocations: 3.143 MB / 309 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1441, allocations: 12.16 kB / 309 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.1447, allocations: 495.4 kB / 309.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.146, allocations: 1.486 MB / 311 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.1462, allocations: 409 kB / 311.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.1464, allocations: 230.2 kB / 311.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.1484, allocations: 2.553 MB / 314.2 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.1485, allocations: 7.219 kB / 314.2 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.1486, allocations: 91.58 kB / 314.3 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.1487, allocations: 104.3 kB / 314.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1501, allocations: 1.135 MB / 315.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/0.1558, allocations: 9.638 MB / 325.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.1571, allocations: 1.233 MB / 326.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007294/0.1579, allocations: 0.6517 MB / 327 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003731/0.1616, allocations: 3.563 MB / 330.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.163, allocations: 1.537 MB / 332.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of pre-optimization done (n=207): time 4.218e-06/0.163, allocations: 4 kB / 332.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.007751/0.1707, allocations: 6.613 MB / 338.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.1709, allocations: 0.6875 MB / 339.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.172, allocations: 1.241 MB / 340.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.1721, allocations: 125.7 kB / 340.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.1726, allocations: 0.9763 MB / 341.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.173, allocations: 0.633 MB / 342.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/0.1736, allocations: 0.5856 MB / 343 MB, free: 11.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.1737, allocations: 480.7 kB / 343.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.1744, allocations: 0.5373 MB / 344 MB, free: 10.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.1759, allocations: 1.712 MB / 345.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.1777, allocations: 1.968 MB / 347.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.1777, allocations: 8 kB / 347.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.002791/0.1805, allocations: 2.344 MB / 350 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.1806, allocations: 101.1 kB / 350.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.1806, allocations: 20 kB / 350.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.1812, allocations: 382.6 kB / 350.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.182, allocations: 408 kB / 350.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.1834, allocations: 2.593 MB / 353.5 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.184, allocations: 115.8 kB / 353.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.1842, allocations: 132 kB / 353.7 MB, free: 15.98 MB / 314.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.0005617/0.1848, allocations: 0.5478 MB / 354.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.1851, allocations: 278.8 kB / 354.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.1878, allocations: 2.237 MB / 356.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.1878, allocations: 24 kB / 356.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1878, allocations: 4.844 kB / 356.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.1878, allocations: 15.95 kB / 356.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.1925, allocations: 3.834 MB / 360.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.1925, allocations: 0 / 360.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.1931, allocations: 250 kB / 360.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.1936, allocations: 356 kB / 361.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.1937, allocations: 73.81 kB / 361.3 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1948, allocations: 2.561 MB / 363.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1948, allocations: 0 / 363.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.1982, allocations: 2.867 MB / 366.8 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/0.1987, allocations: 426.4 kB / 367.2 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.1989, allocations: 83.88 kB / 367.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.1994, allocations: 83.94 kB / 367.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.1997, allocations: 230.4 kB / 367.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.1999, allocations: 107.9 kB / 367.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005759/0.2004, allocations: 0.6504 MB / 368.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2004, allocations: 0 / 368.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001162/0.2016, allocations: 0.6169 MB / 369 MB, free: 492 kB / 314.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.001245/0.2028, allocations: 0.7185 MB / 369.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.2053, allocations: 2 MB / 371.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2053, allocations: 4 kB / 371.7 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.2065, allocations: 1.13 MB / 372.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.2083, allocations: 0.7457 MB / 373.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.2132, allocations: 3.946 MB / 377.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2136, allocations: 455.6 kB / 377.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009262/0.2145, allocations: 0.4966 MB / 378.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.2149, allocations: 227.8 kB / 378.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2149, allocations: 4 kB / 378.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of Templates: time 0.04476/0.2597, allocations: 44.08 MB / 422.7 MB, free: 11.42 MB / 378.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 -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: 3.9760817270725965]