Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.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.001128/0.001128, allocations: 76.72 kB / 22.21 MB, free: 2.289 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.001606/0.001606, allocations: 144.9 kB / 25.59 MB, free: 8.605 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 1.001/1.001, allocations: 173.4 MB / 202.3 MB, free: 8.305 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.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5035,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.135e-05, allocations: 6.312 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003792/0.003814, allocations: 3.674 MB / 272.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.007253, allocations: 2.543 MB / 275.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.007837, allocations: 31.75 kB / 275.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.008875, allocations: 0.5789 MB / 276 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008191/0.009694, allocations: 469.3 kB / 276.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.01153, allocations: 1.132 MB / 277.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.01365, allocations: 2.184 MB / 279.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.01499, allocations: 1.027 MB / 280.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.01666, allocations: 1.217 MB / 282 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.01726, allocations: 0.5335 MB / 282.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.01748, allocations: 192 kB / 282.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.01785, allocations: 291.8 kB / 283 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.01814, allocations: 490.5 kB / 283.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004467/0.01859, allocations: 498.7 kB / 284 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.0199, allocations: 1.382 MB / 285.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.0199, allocations: 0 / 285.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.0199, allocations: 0 / 285.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.59e-05/0.01993, allocations: 3.938 kB / 285.4 MB, free: 9.598 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.001996/0.02192, allocations: 1.953 MB / 287.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.02195, allocations: 12.03 kB / 287.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.02225, allocations: 271.9 kB / 287.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.02321, allocations: 0.941 MB / 288.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.02337, allocations: 281.7 kB / 288.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.0235, allocations: 144.4 kB / 289 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.02468, allocations: 1.164 MB / 290.1 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.02471, allocations: 4 kB / 290.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.02478, allocations: 51.98 kB / 290.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.02482, allocations: 50.12 kB / 290.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/0.02542, allocations: 0.492 MB / 290.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.02929, allocations: 5.877 MB / 296.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.03013, allocations: 0.8222 MB / 297.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.03047, allocations: 389 kB / 297.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.03056, allocations: 29 kB / 297.8 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.03119, allocations: 0.8231 MB / 298.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of pre-optimization done (n=133): time 2.405e-06/0.03119, allocations: 0 / 298.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.001288/0.03248, allocations: 1.238 MB / 299.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002012/0.03268, allocations: 0.5324 MB / 300.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.03334, allocations: 0.7873 MB / 301.2 MB, free: 8.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.03345, allocations: 109.7 kB / 301.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.03379, allocations: 0.5829 MB / 301.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.03405, allocations: 365.2 kB / 302.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.03444, allocations: 404.8 kB / 302.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.0346, allocations: 0.5393 MB / 303.2 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.03489, allocations: 284.9 kB / 303.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.0355, allocations: 0.9328 MB / 304.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009259/0.03642, allocations: 1.138 MB / 305.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.03644, allocations: 4 kB / 305.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001411/0.03785, allocations: 1.269 MB / 306.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.03791, allocations: 101.1 kB / 306.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.03793, allocations: 15.98 kB / 306.9 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.03795, allocations: 23.94 kB / 306.9 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.03831, allocations: 199.5 kB / 307.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.03833, allocations: 23.94 kB / 307.2 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.03869, allocations: 147 kB / 307.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.03876, allocations: 63.97 kB / 307.4 MB, free: 1.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.localCondition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.localCondition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.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,$whenCondition1,$whenCondition2,$whenCondition3,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.makeProduct.T2.condition,tankController.makeProduct.T4.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004212/0.03919, allocations: 484.3 kB / 307.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.03935, allocations: 167.3 kB / 308 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.0403, allocations: 1.004 MB / 309 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.04031, allocations: 15.94 kB / 309 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.04031, allocations: 4 kB / 309 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.04032, allocations: 11.97 kB / 309 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.04263, allocations: 2.024 MB / 311.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.04263, allocations: 0 / 311.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.04282, allocations: 83.77 kB / 311.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.04283, allocations: 4 kB / 311.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.04288, allocations: 39.97 kB / 311.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.04288, allocations: 11.98 kB / 311.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.04289, allocations: 4 kB / 311.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.04421, allocations: 1.594 MB / 312.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.04446, allocations: 219 kB / 313 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.04458, allocations: 55.92 kB / 313.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.04478, allocations: 48 kB / 313.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.04495, allocations: 116.7 kB / 313.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.04501, allocations: 55.88 kB / 313.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.04527, allocations: 398.8 kB / 313.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04527, allocations: 0 / 313.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007522/0.04602, allocations: 347.2 kB / 314 MB, free: 11.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009315/0.04695, allocations: 0.5346 MB / 314.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.04794, allocations: 1.149 MB / 315.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.04795, allocations: 0 / 315.7 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.0484, allocations: 0.6437 MB / 316.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.04901, allocations: 265.3 kB / 316.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.05142, allocations: 2.084 MB / 318.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.05159, allocations: 254.5 kB / 318.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.05197, allocations: 181.7 kB / 319.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/0.05246, allocations: 366 kB / 319.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.05246, allocations: 0 / 319.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Templates: time 0.02156/0.07402, allocations: 17.19 MB / 336.7 MB, free: 4.414 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.227216405328363]