Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 164.4 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.043/1.043, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.228e-05, allocations: 6.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003928/0.003951, allocations: 3.742 MB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.007412, allocations: 2.665 MB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.00809, allocations: 35.75 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009954/0.009086, allocations: 0.5948 MB / 280.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.009998, allocations: 0.5206 MB / 280.9 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.0116, allocations: 1.037 MB / 281.9 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.01367, allocations: 2.22 MB / 284.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.01489, allocations: 1.054 MB / 285.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.01653, allocations: 1.223 MB / 286.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.01705, allocations: 0.5335 MB / 286.9 MB, free: 3.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.01724, allocations: 192 kB / 287.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.0176, allocations: 295.8 kB / 287.4 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.01789, allocations: 478.6 kB / 287.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.01828, allocations: 0.5026 MB / 288.4 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.01958, allocations: 1.386 MB / 289.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01959, allocations: 4 kB / 289.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01959, allocations: 0 / 289.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.0196, allocations: 0 / 289.8 MB, free: 0.7227 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.1135/0.1331, allocations: 1.976 MB / 291.7 MB, free: 25.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1331, allocations: 14.02 kB / 291.8 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/0.1339, allocations: 315 kB / 292.1 MB, free: 25.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1352, allocations: 0.9492 MB / 293 MB, free: 24.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.1353, allocations: 281.3 kB / 293.3 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1355, allocations: 149.3 kB / 293.4 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.1369, allocations: 1.142 MB / 294.6 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.1369, allocations: 7.812 kB / 294.6 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.137, allocations: 53.75 kB / 294.6 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.819e-05/0.137, allocations: 55.52 kB / 294.7 MB, free: 24.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/0.1378, allocations: 499.3 kB / 295.2 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004264/0.1421, allocations: 6.132 MB / 301.3 MB, free: 19.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.1429, allocations: 0.7769 MB / 302.1 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.1432, allocations: 376.7 kB / 302.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.079e-05/0.1433, allocations: 28.69 kB / 302.5 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/0.144, allocations: 0.8139 MB / 303.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 3.927e-06/0.144, allocations: 1.156 kB / 303.3 MB, free: 18.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.001492/0.1455, allocations: 1.211 MB / 304.5 MB, free: 17.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.1456, allocations: 0.5297 MB / 305 MB, free: 17.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.1463, allocations: 0.8085 MB / 305.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.1464, allocations: 109.7 kB / 306 MB, free: 16.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.1467, allocations: 0.5977 MB / 306.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.1469, allocations: 354.3 kB / 306.9 MB, free: 16.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.1473, allocations: 389.1 kB / 307.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.1474, allocations: 479 kB / 307.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.1477, allocations: 275.5 kB / 308 MB, free: 15.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.1481, allocations: 0.9322 MB / 308.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.1489, allocations: 1.138 MB / 310.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.1489, allocations: 3.719 kB / 310.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001174/0.1501, allocations: 1.247 MB / 311.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.1502, allocations: 100 kB / 311.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.1502, allocations: 12.78 kB / 311.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.1502, allocations: 24.81 kB / 311.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1505, allocations: 191.8 kB / 311.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.1505, allocations: 34.59 kB / 311.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.1509, allocations: 149 kB / 311.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.1509, allocations: 55.44 kB / 311.9 MB, free: 12.79 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: 178 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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,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.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 (212): * Single equations (assignments): 209 * 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.0003631/0.1513, allocations: 478.5 kB / 312.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.1515, allocations: 180.2 kB / 312.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.1523, allocations: 0.9259 MB / 313.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1523, allocations: 12 kB / 313.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1523, allocations: 7.938 kB / 313.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.1523, allocations: 7.969 kB / 313.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.1545, allocations: 1.949 MB / 315.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1545, allocations: 0 / 315.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1547, allocations: 79.83 kB / 315.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1547, allocations: 4 kB / 315.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.1547, allocations: 35.97 kB / 315.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1548, allocations: 7.203 kB / 315.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1548, allocations: 7.938 kB / 315.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.156, allocations: 1.55 MB / 317.1 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.1563, allocations: 207 kB / 317.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.1564, allocations: 51.98 kB / 317.4 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.1567, allocations: 39.97 kB / 317.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.1568, allocations: 108.8 kB / 317.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.1569, allocations: 39.98 kB / 317.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.1572, allocations: 402.8 kB / 317.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1572, allocations: 4 kB / 317.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000818/0.158, allocations: 343.2 kB / 318.3 MB, free: 6.543 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: 105 (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.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,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 (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.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.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,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 (116): * Single equations (assignments): 89 * 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.1591, allocations: 0.5335 MB / 318.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.1601, allocations: 1.128 MB / 319.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1601, allocations: 0 / 319.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1605, allocations: 0.6289 MB / 320.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.1612, allocations: 246.4 kB / 320.8 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1635, allocations: 2.098 MB / 322.9 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.1637, allocations: 250.4 kB / 323.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.1641, allocations: 161.7 kB / 323.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.1646, allocations: 366 kB / 323.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1646, allocations: 0 / 323.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of Templates: time 0.02587/0.1905, allocations: 16.46 MB / 340.1 MB, free: 0.8281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1434884001500905]