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.002025/0.002025, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001507/0.001507, allocations: 164.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.496/1.496, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_4.1.0_Modelica.StateGraph.Examples.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.587e-05, allocations: 2.281 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005623/0.005649, allocations: 3.623 MB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005475/0.01112, allocations: 2.663 MB / 331.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008216/0.01195, allocations: 30.09 kB / 331.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.01357, allocations: 0.5879 MB / 331.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.01487, allocations: 0.5128 MB / 332.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.01745, allocations: 1.031 MB / 333.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.02127, allocations: 2.221 MB / 335.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.02332, allocations: 1.007 MB / 336.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.02481, allocations: 1.106 MB / 337.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008404/0.02565, allocations: 0.5931 MB / 338.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.02594, allocations: 204.6 kB / 338.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.0266, allocations: 306.8 kB / 338.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.02715, allocations: 0.4985 MB / 339.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.02775, allocations: 0.5221 MB / 339.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.03056, allocations: 2.45 MB / 342.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.03057, allocations: 0 / 342.4 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03057, allocations: 8 kB / 342.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.0306, allocations: 0 / 342.4 MB, free: 3.785 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.003157/0.03376, allocations: 1.876 MB / 344.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.0338, allocations: 12.03 kB / 344.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.035, allocations: 231.8 kB / 344.5 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.03647, allocations: 0.8239 MB / 345.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.03676, allocations: 285.7 kB / 345.6 MB, free: 412 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.03698, allocations: 148.3 kB / 345.7 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.03981, allocations: 1.546 MB / 347.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.03984, allocations: 7.938 kB / 347.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.03996, allocations: 52 kB / 347.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.04002, allocations: 54.17 kB / 347.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.04217, allocations: 1.071 MB / 348.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007261/0.04943, allocations: 5.216 MB / 353.7 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.05134, allocations: 1.02 MB / 354.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009253/0.05227, allocations: 0.5574 MB / 355.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.05232, allocations: 20.94 kB / 355.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.05398, allocations: 1.004 MB / 356.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 4.148e-06/0.05398, allocations: 0 / 356.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.003261/0.05724, allocations: 1.675 MB / 358 MB, free: 3.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003714/0.05762, allocations: 0.5247 MB / 358.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.05914, allocations: 0.9843 MB / 359.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.05943, allocations: 109.7 kB / 359.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000608/0.06003, allocations: 0.5451 MB / 360.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.06053, allocations: 341.4 kB / 360.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000632/0.06117, allocations: 363.5 kB / 360.8 MB, free: 428 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.06133, allocations: 305.1 kB / 361.1 MB, free: 120 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.06242, allocations: 0.5556 MB / 361.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.06389, allocations: 1.067 MB / 362.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.06625, allocations: 1.389 MB / 364.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.06626, allocations: 11.94 kB / 364.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.003002/0.06926, allocations: 1.677 MB / 365.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.06938, allocations: 105 kB / 365.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.06941, allocations: 12 kB / 365.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/0.06945, allocations: 20 kB / 366 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.07012, allocations: 183.5 kB / 366.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-05/0.07016, allocations: 27.92 kB / 366.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.07087, allocations: 151 kB / 366.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.07099, allocations: 72.2 kB / 366.4 MB, free: 10.37 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.001033/0.07202, allocations: 0.6339 MB / 367 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.07227, allocations: 123.2 kB / 367.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.07451, allocations: 1.272 MB / 368.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.07453, allocations: 16 kB / 368.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.07454, allocations: 0 / 368.4 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.07456, allocations: 11.97 kB / 368.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.07874, allocations: 2.417 MB / 370.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.07875, allocations: 4 kB / 370.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.07911, allocations: 75.83 kB / 370.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.07912, allocations: 8 kB / 370.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.07921, allocations: 39.97 kB / 371 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.07922, allocations: 4 kB / 371 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.07922, allocations: 4.281 kB / 371 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.08257, allocations: 2.129 MB / 373.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.08301, allocations: 222.9 kB / 373.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.08321, allocations: 59.92 kB / 373.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.08361, allocations: 39.97 kB / 373.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/0.08395, allocations: 156.7 kB / 373.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/0.08405, allocations: 43.98 kB / 373.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.08491, allocations: 0.6045 MB / 374.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08491, allocations: 0 / 374.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001109/0.08602, allocations: 343.2 kB / 374.6 MB, free: 1.93 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.001897/0.08792, allocations: 0.5889 MB / 375.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.09037, allocations: 1.551 MB / 376.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09038, allocations: 0 / 376.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.09161, allocations: 0.8326 MB / 377.5 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.09266, allocations: 230.5 kB / 377.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.09672, allocations: 2.393 MB / 380.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007134/0.09743, allocations: 0.5763 MB / 380.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.09797, allocations: 189.8 kB / 380.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.09829, allocations: 104.5 kB / 381 MB, free: 11.42 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.09829, allocations: 0 / 381 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Templates: time 0.02986/0.1281, allocations: 15.5 MB / 396.5 MB, free: 12.07 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.8224895261228085] 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.13690286874771118 0.15189177499999995 0.11820958899999995 Calling exit ...