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.0007924/0.0007924, 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.0008318/0.0008318, allocations: 145.5 kB / 24.54 MB, free: 36 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.9594/0.9594, allocations: 173.4 MB / 201.2 MB, free: 9.348 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.343e-06/1.343e-06, allocations: 0 / 268 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.634e-05, allocations: 2.312 kB / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003959/0.003975, allocations: 3.8 MB / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.007365, allocations: 2.559 MB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.007877, allocations: 35.81 kB / 274.4 MB, free: 60 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.008788, allocations: 0.5792 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005917/0.00938, allocations: 469.5 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.01091, allocations: 1.123 MB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.01302, allocations: 2.181 MB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.01418, allocations: 1.042 MB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.01554, allocations: 1.2 MB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.01601, allocations: 0.5257 MB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.01618, allocations: 192 kB / 281.7 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.01649, allocations: 303.7 kB / 281.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.01675, allocations: 486.5 kB / 282.4 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.01707, allocations: 0.4909 MB / 282.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01821, allocations: 1.382 MB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01822, allocations: 0 / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01822, allocations: 0 / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.01823, allocations: 0 / 284.3 MB, free: 6.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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.001718/0.01995, allocations: 1.941 MB / 286.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.01997, allocations: 12.92 kB / 286.2 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.02023, allocations: 275.9 kB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.02108, allocations: 0.9489 MB / 287.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.02134, allocations: 281.7 kB / 287.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.02146, allocations: 148.4 kB / 287.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.02269, allocations: 1.247 MB / 289.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.0227, allocations: 4 kB / 289.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.02277, allocations: 52 kB / 289.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.02281, allocations: 50.17 kB / 289.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.02359, allocations: 0.5875 MB / 289.8 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/0.1493, allocations: 6.019 MB / 295.8 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1505, allocations: 0.8689 MB / 296.7 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.151, allocations: 428.3 kB / 297.1 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1511, allocations: 30.41 kB / 297.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009036/0.152, allocations: 0.8644 MB / 298 MB, free: 24.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=133): time 5.541e-06/0.152, allocations: 0 / 298 MB, free: 24.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.002068/0.1541, allocations: 1.35 MB / 299.4 MB, free: 23.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.1542, allocations: 0.5328 MB / 299.9 MB, free: 23.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.1551, allocations: 0.7891 MB / 300.7 MB, free: 22.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.1553, allocations: 114.6 kB / 300.8 MB, free: 22.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.1556, allocations: 0.5732 MB / 301.4 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.1558, allocations: 356.4 kB / 301.7 MB, free: 22.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005337/0.1564, allocations: 397.7 kB / 302.1 MB, free: 22.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1565, allocations: 0.5324 MB / 302.7 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.1571, allocations: 341.7 kB / 303 MB, free: 21.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/0.1578, allocations: 0.9863 MB / 304 MB, free: 20.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.1588, allocations: 1.203 MB / 305.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.1589, allocations: 3.719 kB / 305.2 MB, free: 19.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001842/0.1607, allocations: 1.372 MB / 306.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.1608, allocations: 104.6 kB / 306.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.1608, allocations: 12.78 kB / 306.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.1608, allocations: 23.95 kB / 306.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.1613, allocations: 200 kB / 306.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/0.1613, allocations: 28.89 kB / 306.9 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.1618, allocations: 148.8 kB / 307.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.1619, allocations: 75.39 kB / 307.1 MB, free: 18.73 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.0005527/0.1624, allocations: 484.5 kB / 307.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.1626, allocations: 168.7 kB / 307.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1638, allocations: 1.077 MB / 308.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1638, allocations: 11.59 kB / 308.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1638, allocations: 7.219 kB / 308.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1638, allocations: 7.062 kB / 308.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.1662, allocations: 2.247 MB / 311.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1662, allocations: 1.156 kB / 311.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1664, allocations: 79.31 kB / 311.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.1665, allocations: 7.406 kB / 311.2 MB, free: 16.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.1665, allocations: 38.92 kB / 311.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.1665, allocations: 14.84 kB / 311.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1665, allocations: 3.719 kB / 311.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.168, allocations: 1.735 MB / 313 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.1682, allocations: 217.6 kB / 313.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.1684, allocations: 55.98 kB / 313.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1686, allocations: 39.97 kB / 313.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.1687, allocations: 124.7 kB / 313.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.1688, allocations: 60 kB / 313.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.1691, allocations: 423 kB / 313.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1691, allocations: 0 / 313.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008436/0.1699, allocations: 347.2 kB / 314.2 MB, free: 14.16 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,$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.001078/0.171, allocations: 0.5338 MB / 314.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.1723, allocations: 1.263 MB / 316 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1723, allocations: 0 / 316 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.1728, allocations: 0.6788 MB / 316.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.1735, allocations: 252.4 kB / 317 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1758, allocations: 2.139 MB / 319.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.176, allocations: 253.6 kB / 319.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004188/0.1764, allocations: 197.7 kB / 319.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.1766, allocations: 116.4 kB / 319.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1766, allocations: 4 kB / 319.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of Templates: time 0.02121/0.1978, allocations: 16.35 MB / 336 MB, free: 8.52 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.190915653947741]