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.001702/0.001702, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.002306/0.002306, allocations: 169.8 kB / 25.61 MB, free: 8.539 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 0.9737/0.9737, allocations: 177.1 MB / 206 MB, free: 4.508 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.573e-06/1.573e-06, allocations: 3.938 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.327e-05, allocations: 6.25 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.01081/0.01083, allocations: 3.74 MB / 277.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006554/0.01738, allocations: 2.667 MB / 280.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.01807, allocations: 31.75 kB / 280.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.01927, allocations: 0.5838 MB / 281.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009784/0.02025, allocations: 0.5283 MB / 281.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.02212, allocations: 1.033 MB / 282.7 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.02413, allocations: 2.223 MB / 285 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.0258, allocations: 1.054 MB / 286 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.02742, allocations: 1.225 MB / 287.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005651/0.02798, allocations: 0.5374 MB / 287.8 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.02819, allocations: 192 kB / 288 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.02854, allocations: 291.8 kB / 288.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.02883, allocations: 482.6 kB / 288.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.02919, allocations: 0.4987 MB / 289.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.03034, allocations: 1.386 MB / 290.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.03034, allocations: 0 / 290.6 MB, free: 3.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.03034, allocations: 4 kB / 290.6 MB, free: 3.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.03035, allocations: 0 / 290.6 MB, free: 3.973 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.001724/0.03208, allocations: 1.98 MB / 292.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.03211, allocations: 15.97 kB / 292.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.0328, allocations: 335.8 kB / 292.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.03374, allocations: 0.9489 MB / 293.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.03397, allocations: 281.7 kB / 294.2 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.03411, allocations: 144.4 kB / 294.3 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.03519, allocations: 1.153 MB / 295.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.03521, allocations: 3.938 kB / 295.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.03528, allocations: 56 kB / 295.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.03532, allocations: 50.17 kB / 295.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.03601, allocations: 487.8 kB / 296 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.0401, allocations: 6.156 MB / 302.2 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.04088, allocations: 0.7825 MB / 303 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.04118, allocations: 377 kB / 303.4 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.04122, allocations: 24.98 kB / 303.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/0.0418, allocations: 0.8153 MB / 304.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 2.625e-06/0.0418, allocations: 0 / 304.2 MB, free: 5.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=131): time 0.001152/0.04296, allocations: 1.214 MB / 305.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.04315, allocations: 0.5286 MB / 305.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.04405, allocations: 0.7952 MB / 306.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.995e-05/0.04415, allocations: 109.7 kB / 306.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.04449, allocations: 0.5984 MB / 307.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.0447, allocations: 353.3 kB / 307.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/0.04505, allocations: 396.9 kB / 308.2 MB, free: 1.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.04516, allocations: 485.4 kB / 308.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.04542, allocations: 272.9 kB / 308.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.04597, allocations: 0.9367 MB / 309.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.04677, allocations: 1.122 MB / 311 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.04678, allocations: 4 kB / 311 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001132/0.04791, allocations: 1.241 MB / 312.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.04798, allocations: 105.1 kB / 312.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.04799, allocations: 15.94 kB / 312.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.04802, allocations: 20 kB / 312.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.04836, allocations: 191.5 kB / 312.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.04838, allocations: 27.92 kB / 312.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.04868, allocations: 147.4 kB / 312.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.04874, allocations: 59.94 kB / 312.8 MB, free: 12.14 MB / 298.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.0007692/0.04951, allocations: 483.9 kB / 313.2 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.04967, allocations: 167.2 kB / 313.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.05055, allocations: 0.9399 MB / 314.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.05056, allocations: 12 kB / 314.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.05057, allocations: 4 kB / 314.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.05058, allocations: 7.969 kB / 314.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.05249, allocations: 1.94 MB / 316.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.05249, allocations: 7.984 kB / 316.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.05268, allocations: 75.78 kB / 316.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.05268, allocations: 4 kB / 316.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.05273, allocations: 35.97 kB / 316.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.05274, allocations: 8 kB / 316.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.05274, allocations: 0 / 316.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.05405, allocations: 1.546 MB / 318 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.05427, allocations: 215 kB / 318.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.05439, allocations: 55.97 kB / 318.2 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.05457, allocations: 35.98 kB / 318.3 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.05474, allocations: 112.7 kB / 318.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.05479, allocations: 43.98 kB / 318.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.05505, allocations: 402.8 kB / 318.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.05505, allocations: 0 / 318.8 MB, free: 5.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.05564, allocations: 343.2 kB / 319.2 MB, free: 5.477 MB / 298.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.0009732/0.05661, allocations: 0.538 MB / 319.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.05789, allocations: 1.127 MB / 320.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.0579, allocations: 3.938 kB / 320.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.05833, allocations: 0.6217 MB / 321.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.05893, allocations: 260.9 kB / 321.7 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.06096, allocations: 2.095 MB / 323.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.06114, allocations: 254.3 kB / 324.1 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.06146, allocations: 157.7 kB / 324.2 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.06195, allocations: 358.1 kB / 324.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06195, allocations: 0 / 324.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of Templates: time 0.02046/0.08241, allocations: 16.74 MB / 341.3 MB, free: 15.38 MB / 330.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.200205006171018]