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.001707/0.001707, allocations: 91.02 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001976/0.001976, allocations: 157.7 kB / 23.95 MB, free: 4.152 MB / 14.72 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.49/1.49, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|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.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|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 2.104e-06/2.104e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.063e-05, allocations: 3.719 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.01013/0.01016, allocations: 3.612 MB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02039, allocations: 2.672 MB / 331.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.02183, allocations: 38.28 kB / 331.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003234/0.02507, allocations: 0.5827 MB / 331.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.02814, allocations: 0.5091 MB / 332.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.03281, allocations: 1.03 MB / 333.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005515/0.03833, allocations: 2.233 MB / 335.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.04081, allocations: 0.9992 MB / 336.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.04324, allocations: 1.109 MB / 337.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.04459, allocations: 0.5932 MB / 338.4 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.04506, allocations: 204 kB / 338.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.04589, allocations: 297.3 kB / 338.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007347/0.04662, allocations: 0.5063 MB / 339.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.04748, allocations: 0.5066 MB / 339.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.05137, allocations: 2.469 MB / 342.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.05138, allocations: 0 / 342.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05138, allocations: 4 kB / 342.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.218e-05/0.05142, allocations: 0 / 342.3 MB, free: 3.684 MB / 302.1 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.00359/0.05501, allocations: 1.875 MB / 344.2 MB, free: 1.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.05505, allocations: 11.98 kB / 344.2 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.05606, allocations: 211.8 kB / 344.4 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.05754, allocations: 0.8279 MB / 345.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.05783, allocations: 281.7 kB / 345.5 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.05806, allocations: 148.3 kB / 345.7 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.06089, allocations: 1.55 MB / 347.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.06093, allocations: 4.125 kB / 347.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.06106, allocations: 60.11 kB / 347.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.06112, allocations: 50.19 kB / 347.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.06316, allocations: 1.075 MB / 348.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007439/0.0706, allocations: 5.208 MB / 353.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.07271, allocations: 1.013 MB / 354.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009258/0.07364, allocations: 0.5581 MB / 355.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-05/0.07369, allocations: 17 kB / 355.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/0.07518, allocations: 0.9921 MB / 356.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.637e-06/0.07518, allocations: 0 / 356.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.003146/0.07833, allocations: 1.683 MB / 357.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004573/0.07878, allocations: 0.5286 MB / 358.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.08038, allocations: 0.9843 MB / 359.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.08057, allocations: 109.7 kB / 359.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.08115, allocations: 0.5334 MB / 360 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.08152, allocations: 349.4 kB / 360.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.08205, allocations: 367.4 kB / 360.7 MB, free: 360 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.08219, allocations: 305.1 kB / 361 MB, free: 52 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.08322, allocations: 0.5595 MB / 361.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.08479, allocations: 1.063 MB / 362.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.08703, allocations: 1.394 MB / 364.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.08704, allocations: 8 kB / 364.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002941/0.08998, allocations: 1.674 MB / 365.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.09009, allocations: 109.4 kB / 365.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.09011, allocations: 12 kB / 365.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/0.09015, allocations: 23.94 kB / 365.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.09082, allocations: 179.5 kB / 366.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.09085, allocations: 23.94 kB / 366.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.09152, allocations: 155 kB / 366.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.09163, allocations: 76.19 kB / 366.3 MB, free: 10.3 MB / 334.1 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.000975/0.09261, allocations: 0.6339 MB / 366.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.09284, allocations: 115.3 kB / 367.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.09514, allocations: 1.268 MB / 368.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.09516, allocations: 19.88 kB / 368.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.09517, allocations: 4 kB / 368.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.09519, allocations: 7.969 kB / 368.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.09954, allocations: 2.425 MB / 370.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.09955, allocations: 4 kB / 370.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.09993, allocations: 75.83 kB / 370.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.09994, allocations: 4 kB / 370.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.1, allocations: 35.98 kB / 370.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.1, allocations: 15.92 kB / 370.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1, allocations: 4 kB / 370.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.1036, allocations: 2.133 MB / 373 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.1041, allocations: 222.9 kB / 373.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.1043, allocations: 59.97 kB / 373.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.1047, allocations: 39.97 kB / 373.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/0.1051, allocations: 144.8 kB / 373.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.1052, allocations: 51.97 kB / 373.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009042/0.1061, allocations: 0.6045 MB / 374.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1061, allocations: 0 / 374.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00121/0.1073, allocations: 343.2 kB / 374.5 MB, free: 1.855 MB / 334.1 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.002045/0.1093, allocations: 0.572 MB / 375.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.1121, allocations: 1.551 MB / 376.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1121, allocations: 0 / 376.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.1134, allocations: 0.8171 MB / 377.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.1145, allocations: 240.1 kB / 377.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.1188, allocations: 2.401 MB / 380.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.1196, allocations: 0.5724 MB / 380.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.1202, allocations: 193.8 kB / 380.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.1206, allocations: 104.5 kB / 380.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1206, allocations: 0 / 380.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Templates: time 0.03101/0.1516, allocations: 15.48 MB / 396.4 MB, free: 11.97 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.933698210865259] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'shut.on', 'shut.reset[1]', 'shut.reset[2]', 'start.on', 'start.reset[1]', 'start.reset[2]', 'stop.on', 'stop.reset[1]', 'stop.reset[2]', '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'] 0.16256443783640862 0.17629811199999995 0.12152391599999994 Calling exit ...