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.001202/0.001202, 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.001192/0.001192, 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.9993/0.9993, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.222e-06/1.222e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.459e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003848/0.003863, allocations: 3.796 MB / 271.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.007327, allocations: 2.556 MB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.007596, allocations: 31.75 kB / 274.3 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009199/0.008516, allocations: 0.5793 MB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.009075, allocations: 473.4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01021, allocations: 1.123 MB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01152, allocations: 2.184 MB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.01229, allocations: 1.031 MB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.0133, allocations: 1.096 MB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.01375, allocations: 0.592 MB / 281.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.01391, allocations: 200 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.0142, allocations: 307.7 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.0145, allocations: 0.5025 MB / 282.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.01482, allocations: 0.5066 MB / 282.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01587, allocations: 1.405 MB / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01587, allocations: 0 / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01587, allocations: 0 / 284.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.01588, allocations: 0 / 284.3 MB, free: 6.016 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.001778/0.01766, allocations: 1.965 MB / 286.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.01769, allocations: 8.922 kB / 286.3 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.01797, allocations: 279.9 kB / 286.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.01884, allocations: 0.8312 MB / 287.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.019, allocations: 281.7 kB / 287.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.01914, allocations: 144.4 kB / 287.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.02098, allocations: 1.234 MB / 289 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.02101, allocations: 4 kB / 289.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/0.02111, allocations: 51.98 kB / 289.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.02116, allocations: 50.17 kB / 289.2 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.0223, allocations: 0.5914 MB / 289.7 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1267/0.149, allocations: 6.041 MB / 295.8 MB, free: 25.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1501, allocations: 0.87 MB / 296.7 MB, free: 25.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.1505, allocations: 422.5 kB / 297.1 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.1506, allocations: 29.98 kB / 297.1 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007742/0.1514, allocations: 0.8643 MB / 298 MB, free: 24.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 3.506e-06/0.1514, allocations: 1.406 kB / 298 MB, free: 24.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.001633/0.1531, allocations: 1.354 MB / 299.3 MB, free: 23.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/0.1532, allocations: 0.5327 MB / 299.8 MB, free: 23.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.1539, allocations: 0.8152 MB / 300.7 MB, free: 22.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.154, allocations: 115.4 kB / 300.8 MB, free: 22.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.1543, allocations: 0.5773 MB / 301.4 MB, free: 22.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.1545, allocations: 347.7 kB / 301.7 MB, free: 22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003853/0.1549, allocations: 396.2 kB / 302.1 MB, free: 21.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.155, allocations: 0.5338 MB / 302.6 MB, free: 21.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.1554, allocations: 341.2 kB / 302.9 MB, free: 21.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.156, allocations: 0.9895 MB / 303.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.157, allocations: 1.199 MB / 305.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.157, allocations: 3.406 kB / 305.1 MB, free: 19.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001505/0.1585, allocations: 1.377 MB / 306.5 MB, free: 18.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.1585, allocations: 104.1 kB / 306.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.1586, allocations: 14.91 kB / 306.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.1586, allocations: 19.25 kB / 306.7 MB, free: 18.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.159, allocations: 195.8 kB / 306.8 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.159, allocations: 34.67 kB / 306.9 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.1593, allocations: 153.7 kB / 307 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.1594, allocations: 73.06 kB / 307.1 MB, free: 18.5 MB / 266.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,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * 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.0003165/0.1597, allocations: 483.5 kB / 307.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1599, allocations: 171.2 kB / 307.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.1609, allocations: 1.085 MB / 308.8 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1609, allocations: 14.56 kB / 308.8 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1609, allocations: 6.375 kB / 308.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1609, allocations: 9.281 kB / 308.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.1629, allocations: 2.269 MB / 311.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1629, allocations: 0.6875 kB / 311.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1631, allocations: 83.91 kB / 311.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1631, allocations: 7.625 kB / 311.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.1631, allocations: 43.59 kB / 311.3 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1632, allocations: 10.66 kB / 311.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1632, allocations: 1.688 kB / 311.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.1645, allocations: 1.738 MB / 313 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.1647, allocations: 237.2 kB / 313.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.1648, allocations: 59.97 kB / 313.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.165, allocations: 43.97 kB / 313.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.1652, allocations: 121.4 kB / 313.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.1652, allocations: 63.95 kB / 313.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002785/0.1655, allocations: 439 kB / 313.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1655, allocations: 0 / 313.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005478/0.166, allocations: 342 kB / 314.3 MB, free: 13.82 MB / 266.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,$cse4,$cse5,$cse6,$cse7,$cse8,$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 (126): * Single equations (assignments): 99 * 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.0009044/0.1669, allocations: 0.539 MB / 314.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009819/0.1679, allocations: 1.265 MB / 316.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1679, allocations: 1.812 kB / 316.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.1684, allocations: 0.6899 MB / 316.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.1689, allocations: 270.4 kB / 317 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1709, allocations: 2.14 MB / 319.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.171, allocations: 250.5 kB / 319.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.1713, allocations: 185.7 kB / 319.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.1715, allocations: 124.4 kB / 319.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1715, allocations: 0 / 319.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of Templates: time 0.01843/0.1899, allocations: 15.77 MB / 335.5 MB, free: 8.719 MB / 282.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.4481588397175074]