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: 79.69 kB / 21.7 MB, free: 2.848 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.001805/0.001805, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.527 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.243e-06/1.243e-06, allocations: 0 / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.247e-05, allocations: 6.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004024/0.004046, allocations: 3.862 MB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.007155, allocations: 2.684 MB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.007454, allocations: 39.75 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.008388, allocations: 0.5831 MB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.00902, allocations: 0.5051 MB / 280.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.01014, allocations: 1.037 MB / 281.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.01153, allocations: 2.231 MB / 283.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.01234, allocations: 1.046 MB / 284.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.01309, allocations: 1.115 MB / 286.1 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.01357, allocations: 0.5882 MB / 286.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01372, allocations: 204 kB / 286.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.01401, allocations: 307.8 kB / 287.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.01432, allocations: 0.4947 MB / 287.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.01469, allocations: 0.5182 MB / 288.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.01579, allocations: 1.405 MB / 289.6 MB, free: 1.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01579, allocations: 0 / 289.6 MB, free: 1.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01579, allocations: 4 kB / 289.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.0158, allocations: 0 / 289.6 MB, free: 1.051 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.1141/0.1299, allocations: 1.986 MB / 291.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1299, allocations: 14.67 kB / 291.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.1309, allocations: 313.8 kB / 291.9 MB, free: 28.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.132, allocations: 0.8445 MB / 292.7 MB, free: 28.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.1322, allocations: 279.1 kB / 293 MB, free: 27.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.1324, allocations: 145.5 kB / 293.1 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.1341, allocations: 1.209 MB / 294.3 MB, free: 27.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1341, allocations: 7.594 kB / 294.4 MB, free: 27.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.1342, allocations: 57.8 kB / 294.4 MB, free: 27.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/0.1342, allocations: 51.64 kB / 294.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.1352, allocations: 0.5825 MB / 295 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.1388, allocations: 6.307 MB / 301.4 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.1397, allocations: 0.8374 MB / 302.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1401, allocations: 415.6 kB / 302.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.1402, allocations: 24.45 kB / 302.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/0.1408, allocations: 0.8535 MB / 303.5 MB, free: 20.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=131): time 2.946e-06/0.1408, allocations: 0 / 303.5 MB, free: 20.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=131): time 0.001448/0.1423, allocations: 1.327 MB / 304.8 MB, free: 20 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.1424, allocations: 0.5294 MB / 305.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.1431, allocations: 0.8392 MB / 306.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.915e-05/0.1432, allocations: 108 kB / 306.3 MB, free: 18.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1434, allocations: 0.592 MB / 306.9 MB, free: 18.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.1436, allocations: 351.9 kB / 307.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.1439, allocations: 386.3 kB / 307.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.144, allocations: 476.8 kB / 308.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.1444, allocations: 332.7 kB / 308.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005556/0.1449, allocations: 0.9815 MB / 309.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.1458, allocations: 1.201 MB / 310.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1458, allocations: 2.781 kB / 310.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001192/0.147, allocations: 1.353 MB / 311.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.147, allocations: 101.7 kB / 312 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1471, allocations: 12 kB / 312 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.1471, allocations: 23.98 kB / 312 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1474, allocations: 196.7 kB / 312.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1474, allocations: 31.88 kB / 312.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.1477, allocations: 154 kB / 312.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.1478, allocations: 71.94 kB / 312.5 MB, free: 13.76 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,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 (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.0003059/0.1481, allocations: 476 kB / 313 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1482, allocations: 167.3 kB / 313.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008832/0.1491, allocations: 1.021 MB / 314.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1491, allocations: 15.98 kB / 314.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1491, allocations: 7.938 kB / 314.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1491, allocations: 3.984 kB / 314.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.1509, allocations: 2.183 MB / 316.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1509, allocations: 4 kB / 316.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1511, allocations: 75.83 kB / 316.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1511, allocations: 4 kB / 316.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.1512, allocations: 35.98 kB / 316.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1512, allocations: 12 kB / 316.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1512, allocations: 7.031 kB / 316.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.1524, allocations: 1.687 MB / 318.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.1526, allocations: 222.9 kB / 318.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1527, allocations: 51.98 kB / 318.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1529, allocations: 43.97 kB / 318.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.1531, allocations: 108.8 kB / 318.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.1531, allocations: 52 kB / 318.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.1534, allocations: 458.9 kB / 319.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1534, allocations: 0 / 319.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005349/0.1539, allocations: 343.2 kB / 319.4 MB, free: 6.598 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 (119): * Single equations (assignments): 92 * 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.000908/0.1548, allocations: 0.5395 MB / 320 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.1558, allocations: 1.231 MB / 321.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1558, allocations: 0 / 321.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004194/0.1562, allocations: 0.6631 MB / 321.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.1568, allocations: 261.3 kB / 322.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.1586, allocations: 2.145 MB / 324.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.1587, allocations: 254.4 kB / 324.5 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.159, allocations: 181.8 kB / 324.7 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.1592, allocations: 104.5 kB / 324.8 MB, free: 1.184 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1592, allocations: 0 / 324.8 MB, free: 1.184 MB / 266.7 MB Notification: Performance of Templates: time 0.01919/0.1784, allocations: 15.59 MB / 340.4 MB, free: 1.746 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.1979066010098904]