Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 77.97 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 168.8 kB / 24.82 MB, free: 9.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.599e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004058/0.004084, allocations: 3.737 MB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003796/0.00788, allocations: 2.677 MB / 279.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.008408, allocations: 35.75 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.009406, allocations: 0.587 MB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009109/0.01032, allocations: 0.5284 MB / 280.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.01182, allocations: 1.025 MB / 282 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.01359, allocations: 2.231 MB / 284.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.01462, allocations: 1.058 MB / 285.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.01626, allocations: 1.215 MB / 286.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.0168, allocations: 0.5374 MB / 287 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.01699, allocations: 199.9 kB / 287.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.01738, allocations: 287.8 kB / 287.5 MB, free: 3.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.01768, allocations: 478.6 kB / 287.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.01806, allocations: 0.4948 MB / 288.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.01934, allocations: 1.393 MB / 289.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01934, allocations: 0 / 289.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01935, allocations: 0 / 289.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.01937, allocations: 0 / 289.8 MB, free: 0.832 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.1165/0.1359, allocations: 1.98 MB / 291.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.136, allocations: 10.02 kB / 291.8 MB, free: 25.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.1368, allocations: 333.1 kB / 292.1 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1378, allocations: 0.9589 MB / 293.1 MB, free: 24.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.138, allocations: 278.6 kB / 293.4 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.1381, allocations: 145 kB / 293.5 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1395, allocations: 1.148 MB / 294.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.1395, allocations: 3.25 kB / 294.7 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.1396, allocations: 62.03 kB / 294.7 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.1396, allocations: 47.28 kB / 294.8 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.1404, allocations: 492.7 kB / 295.3 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.1451, allocations: 6.141 MB / 301.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.1459, allocations: 0.7769 MB / 302.2 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1462, allocations: 380.3 kB / 302.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.1463, allocations: 32.14 kB / 302.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006056/0.1469, allocations: 0.8072 MB / 303.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.685e-06/0.1469, allocations: 7.078 kB / 303.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.001281/0.1482, allocations: 1.214 MB / 304.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.1483, allocations: 0.5249 MB / 305.1 MB, free: 17.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.1489, allocations: 0.8093 MB / 305.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.149, allocations: 110.8 kB / 306 MB, free: 16.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.1492, allocations: 0.5947 MB / 306.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.1494, allocations: 358 kB / 307 MB, free: 16.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.1498, allocations: 393.1 kB / 307.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.1498, allocations: 477.6 kB / 307.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.1501, allocations: 274.4 kB / 308.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.1505, allocations: 0.9293 MB / 309 MB, free: 14.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.1513, allocations: 1.139 MB / 310.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.1513, allocations: 2.125 kB / 310.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001126/0.1524, allocations: 1.251 MB / 311.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.1525, allocations: 100.8 kB / 311.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1525, allocations: 11.5 kB / 311.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1525, allocations: 26.88 kB / 311.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1528, allocations: 191.9 kB / 311.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1528, allocations: 25.11 kB / 311.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1531, allocations: 150.4 kB / 311.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.1532, allocations: 53.66 kB / 312 MB, free: 12.9 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.0002888/0.1535, allocations: 487 kB / 312.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1536, allocations: 173.2 kB / 312.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.1543, allocations: 0.9312 MB / 313.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1543, allocations: 15.94 kB / 313.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1543, allocations: 4 kB / 313.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1543, allocations: 11.97 kB / 313.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.156, allocations: 1.941 MB / 315.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1561, allocations: 3.703 kB / 315.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.1562, allocations: 79.77 kB / 315.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1562, allocations: 8 kB / 315.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.1563, allocations: 35.97 kB / 315.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1563, allocations: 4 kB / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1563, allocations: 4 kB / 315.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.1573, allocations: 1.55 MB / 317.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.1575, allocations: 203 kB / 317.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.1576, allocations: 55.98 kB / 317.5 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1578, allocations: 39.97 kB / 317.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.158, allocations: 108.7 kB / 317.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.158, allocations: 39.97 kB / 317.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.1582, allocations: 406.8 kB / 318 MB, free: 7.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1582, allocations: 0 / 318 MB, free: 7.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006002/0.1588, allocations: 351.2 kB / 318.4 MB, free: 6.66 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.001022/0.1598, allocations: 0.5296 MB / 318.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.1607, allocations: 1.125 MB / 320 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1608, allocations: 4 kB / 320 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.1612, allocations: 0.6241 MB / 320.7 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.1618, allocations: 253.7 kB / 320.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1637, allocations: 2.101 MB / 323 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.1638, allocations: 254.1 kB / 323.3 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.1641, allocations: 169.7 kB / 323.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.1646, allocations: 358.1 kB / 323.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1646, allocations: 0 / 323.8 MB, free: 1.191 MB / 266.7 MB Notification: Performance of Templates: time 0.0197/0.1843, allocations: 16.45 MB / 340.2 MB, free: 0.9727 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.088928454555571]