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.0008908/0.0008908, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001116/0.001116, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9164/0.9164, allocations: 177.1 MB / 204.3 MB, free: 5.742 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: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_1_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 324.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.657e-05, allocations: 14.22 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003626/0.003643, allocations: 3.613 MB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.006673, allocations: 2.67 MB / 330.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.006973, allocations: 35.75 kB / 330.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009296/0.007903, allocations: 0.5801 MB / 331.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009769/0.00888, allocations: 0.513 MB / 332 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.01019, allocations: 1.029 MB / 333 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.0116, allocations: 2.231 MB / 335.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.01246, allocations: 0.9949 MB / 336.2 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.01327, allocations: 1.107 MB / 337.3 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.01379, allocations: 0.5998 MB / 337.9 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.01394, allocations: 208 kB / 338.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.01424, allocations: 299.8 kB / 338.4 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.01454, allocations: 0.5063 MB / 338.9 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.01514, allocations: 0.5066 MB / 339.4 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.01665, allocations: 2.465 MB / 341.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01665, allocations: 0 / 341.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01665, allocations: 0 / 341.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.01667, allocations: 0 / 341.9 MB, free: 14.54 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.00188/0.01855, allocations: 1.871 MB / 343.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01858, allocations: 15.97 kB / 343.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.01874, allocations: 190.2 kB / 344 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005904/0.01933, allocations: 231.8 kB / 344.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008697/0.0202, allocations: 0.8317 MB / 345 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.02035, allocations: 281.7 kB / 345.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.02047, allocations: 144.4 kB / 345.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.02222, allocations: 1.554 MB / 347 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.02224, allocations: 0 / 347 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.02231, allocations: 55.98 kB / 347 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.02234, allocations: 50.19 kB / 347.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.02356, allocations: 1.075 MB / 348.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.02778, allocations: 5.352 MB / 353.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.02889, allocations: 1.024 MB / 354.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.0294, allocations: 0.5464 MB / 355.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.02944, allocations: 20.94 kB / 355.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008456/0.03028, allocations: 0.996 MB / 356.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 2.385e-06/0.03029, allocations: 4 kB / 356.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.001735/0.03202, allocations: 1.678 MB / 357.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.03221, allocations: 0.5285 MB / 358.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.03305, allocations: 0.9852 MB / 359.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.03316, allocations: 113.7 kB / 359.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.03349, allocations: 0.5412 MB / 360 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.03401, allocations: 341.5 kB / 360.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.03431, allocations: 359.5 kB / 360.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.03439, allocations: 305.1 kB / 360.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.03498, allocations: 0.5556 MB / 361.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008095/0.03579, allocations: 1.071 MB / 362.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.03698, allocations: 1.394 MB / 364 MB, free: 7.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.03699, allocations: 4 kB / 364 MB, free: 7.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.001638/0.03863, allocations: 1.679 MB / 365.6 MB, free: 5.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.03869, allocations: 101.1 kB / 365.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.0387, allocations: 12.06 kB / 365.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.03873, allocations: 24 kB / 365.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.03905, allocations: 187.5 kB / 366 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.03907, allocations: 27.92 kB / 366 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.03941, allocations: 151 kB / 366.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.03949, allocations: 67.98 kB / 366.2 MB, free: 4.785 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.0005209/0.04001, allocations: 0.63 MB / 366.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.04012, allocations: 119.2 kB / 366.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.04155, allocations: 1.276 MB / 368.2 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.04156, allocations: 19.94 kB / 368.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.04157, allocations: 0 / 368.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.04158, allocations: 8.266 kB / 368.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.04414, allocations: 2.577 MB / 370.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.04415, allocations: 0 / 370.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.04434, allocations: 83.66 kB / 370.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.04435, allocations: 12 kB / 370.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.0444, allocations: 47.89 kB / 371 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.0444, allocations: 4 kB / 371 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.04441, allocations: 4 kB / 371 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.04655, allocations: 2.121 MB / 373.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.04683, allocations: 218.9 kB / 373.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.04695, allocations: 59.91 kB / 373.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.04715, allocations: 52.03 kB / 373.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.04739, allocations: 148.8 kB / 373.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.04745, allocations: 43.98 kB / 373.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008866/0.04833, allocations: 0.6084 MB / 374.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.04833, allocations: 0 / 374.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006258/0.04896, allocations: 339.2 kB / 374.5 MB, free: 12.17 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.00295/0.05191, allocations: 3.168 MB / 377.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.05334, allocations: 1.551 MB / 379.3 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.05334, allocations: 0 / 379.3 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.05402, allocations: 0.8171 MB / 380.1 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.05462, allocations: 227.9 kB / 380.3 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.06395, allocations: 10.45 MB / 390.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.06437, allocations: 0.5763 MB / 391.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003755/0.06474, allocations: 201.7 kB / 391.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.06521, allocations: 480.3 kB / 392 MB, free: 10.06 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.06521, allocations: 3.938 kB / 392 MB, free: 10.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.1009, allocations: 26.97 MB / 419 MB, free: 15.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.894, allocations: 0 / 419 MB, free: 15.23 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.1.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.754374107345939] 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'] 8.004438701085746 8.019980737 8.000798254 Calling exit ...