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.00102/0.00102, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.001561/0.001561, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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 0.8925/0.8925, allocations: 177 MB / 204.1 MB, free: 5.75 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: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 3.984 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.949e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003649/0.003669, allocations: 3.611 MB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003007/0.006675, allocations: 2.679 MB / 330.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.007003, allocations: 31.81 kB / 330.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.007844, allocations: 0.5753 MB / 331.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.008511, allocations: 0.5201 MB / 331.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.009757, allocations: 1.021 MB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.01167, allocations: 2.231 MB / 335.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.01298, allocations: 0.9988 MB / 336.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.0141, allocations: 1.107 MB / 337.3 MB, free: 3.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.01509, allocations: 0.592 MB / 337.9 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.0153, allocations: 204 kB / 338.1 MB, free: 2.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.01568, allocations: 303.8 kB / 338.4 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.01598, allocations: 0.4985 MB / 338.9 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.01632, allocations: 0.5182 MB / 339.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.01796, allocations: 2.461 MB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01796, allocations: 4 kB / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01796, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.787e-05/0.01801, allocations: 0 / 341.8 MB, free: 14.48 MB / 314.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.002233/0.02024, allocations: 1.868 MB / 343.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.02029, allocations: 11.98 kB / 343.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.02045, allocations: 194.2 kB / 343.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/0.02098, allocations: 211.8 kB / 344.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008969/0.02187, allocations: 0.8316 MB / 344.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.02204, allocations: 281.7 kB / 345.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.02217, allocations: 148.4 kB / 345.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.02376, allocations: 1.546 MB / 346.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.02379, allocations: 12.12 kB / 346.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.02385, allocations: 51.94 kB / 347 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.02389, allocations: 50.17 kB / 347 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.02509, allocations: 1.071 MB / 348.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.02926, allocations: 5.352 MB / 353.4 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.03036, allocations: 1.021 MB / 354.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.03087, allocations: 0.5465 MB / 355 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.0309, allocations: 20.94 kB / 355 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008913/0.0318, allocations: 0.9959 MB / 356 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.916e-06/0.0318, allocations: 0 / 356 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.001831/0.03363, allocations: 1.675 MB / 357.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.03381, allocations: 0.5286 MB / 358.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.03474, allocations: 0.9843 MB / 359.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.03485, allocations: 109.7 kB / 359.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.03518, allocations: 0.5412 MB / 359.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.03542, allocations: 341.5 kB / 360.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.03575, allocations: 367.5 kB / 360.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.03583, allocations: 305.1 kB / 360.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.03642, allocations: 0.5519 MB / 361.4 MB, free: 9.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.0372, allocations: 1.071 MB / 362.5 MB, free: 8.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.03838, allocations: 1.405 MB / 363.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.03839, allocations: 3.938 kB / 363.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001751/0.04014, allocations: 1.674 MB / 365.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/0.04021, allocations: 113 kB / 365.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.04022, allocations: 12 kB / 365.7 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.916e-05/0.04026, allocations: 20 kB / 365.7 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.0406, allocations: 179.5 kB / 365.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.04062, allocations: 27.92 kB / 365.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.04103, allocations: 155.5 kB / 366.1 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.0411, allocations: 67.98 kB / 366.1 MB, free: 4.75 MB / 330.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.0007029/0.0418, allocations: 0.6378 MB / 366.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.04195, allocations: 119.2 kB / 366.9 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.04331, allocations: 1.268 MB / 368.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.04332, allocations: 15.98 kB / 368.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.04333, allocations: 4.281 kB / 368.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.04334, allocations: 7.969 kB / 368.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.04616, allocations: 2.577 MB / 370.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.04617, allocations: 7.938 kB / 370.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.04637, allocations: 79.83 kB / 370.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.04638, allocations: 4 kB / 370.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.04643, allocations: 31.98 kB / 370.9 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/0.04644, allocations: 8 kB / 370.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.04644, allocations: 7.875 kB / 370.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.04847, allocations: 2.125 MB / 373 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.04879, allocations: 222.9 kB / 373.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.04892, allocations: 55.98 kB / 373.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.04914, allocations: 47.89 kB / 373.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.04937, allocations: 152.7 kB / 373.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.04943, allocations: 55.97 kB / 373.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005395/0.04997, allocations: 0.6006 MB / 374.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.04997, allocations: 4.062 kB / 374.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007832/0.05075, allocations: 347.2 kB / 374.5 MB, free: 12.12 MB / 346.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.003133/0.05388, allocations: 3.139 MB / 377.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.05569, allocations: 1.551 MB / 379.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.05569, allocations: 0 / 379.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006872/0.05638, allocations: 0.8175 MB / 380 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.057, allocations: 242.3 kB / 380.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.06714, allocations: 10.44 MB / 390.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.06756, allocations: 0.5763 MB / 391.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.06799, allocations: 197.8 kB / 391.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.06847, allocations: 488.3 kB / 391.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06847, allocations: 0 / 391.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.1089, allocations: 26.95 MB / 418.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.746, allocations: 6.516 kB / 418.9 MB, free: 15.13 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019861 Modelica_trunk_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.539701161906123] 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'] 7.85795780364424 7.867459843 7.847412434 Calling exit ...