Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8771/0.8771, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 3.984 kB / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.733e-05, allocations: 5.516 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003338/0.003355, allocations: 3.523 MB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.005965, allocations: 2.532 MB / 324.5 MB, free: 296 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.006251, allocations: 39.69 kB / 324.5 MB, free: 256 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009346/0.007185, allocations: 0.5753 MB / 325.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.007714, allocations: 457.5 kB / 325.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.008903, allocations: 1.125 MB / 326.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.01023, allocations: 2.192 MB / 328.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.01097, allocations: 0.9831 MB / 329.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.01168, allocations: 1.092 MB / 330.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.01214, allocations: 0.592 MB / 331.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.01229, allocations: 200 kB / 331.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.01258, allocations: 303.8 kB / 332 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.01287, allocations: 0.5024 MB / 332.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.01321, allocations: 0.5066 MB / 333 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.01462, allocations: 2.434 MB / 335.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01462, allocations: 4 kB / 335.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01462, allocations: 0 / 335.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.01464, allocations: 0 / 335.5 MB, free: 5.262 MB / 298.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.001764/0.0164, allocations: 1.856 MB / 337.3 MB, free: 3.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.01644, allocations: 8.922 kB / 337.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.0166, allocations: 194.2 kB / 337.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.01678, allocations: 171.9 kB / 337.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.01766, allocations: 0.8239 MB / 338.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.0178, allocations: 285.7 kB / 338.8 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.01794, allocations: 144.4 kB / 338.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.01947, allocations: 1.565 MB / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.01949, allocations: 7.938 kB / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.01956, allocations: 52 kB / 340.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.0196, allocations: 50.17 kB / 340.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.02081, allocations: 1.083 MB / 341.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/0.02457, allocations: 5.037 MB / 346.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.0257, allocations: 1.05 MB / 347.8 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.0265, allocations: 0.5688 MB / 348.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.02658, allocations: 17 kB / 348.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.02742, allocations: 1.012 MB / 349.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 2.505e-06/0.02742, allocations: 4 kB / 349.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.00177/0.02919, allocations: 1.706 MB / 351.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.02936, allocations: 0.5247 MB / 351.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.03008, allocations: 0.9461 MB / 352.5 MB, free: 3.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.03018, allocations: 113.7 kB / 352.6 MB, free: 3.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.03047, allocations: 0.5334 MB / 353.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.03068, allocations: 357.3 kB / 353.5 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.03098, allocations: 371.5 kB / 353.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.0311, allocations: 361.9 kB / 354.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.03167, allocations: 0.5633 MB / 354.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.03271, allocations: 1.071 MB / 355.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.03385, allocations: 1.405 MB / 357.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.03386, allocations: 0 / 357.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001553/0.03541, allocations: 1.689 MB / 359 MB, free: 12.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.03546, allocations: 106 kB / 359.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.03548, allocations: 12 kB / 359.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.0355, allocations: 24 kB / 359.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.03582, allocations: 183.5 kB / 359.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.03583, allocations: 23.94 kB / 359.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.03614, allocations: 155 kB / 359.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.03621, allocations: 75.98 kB / 359.5 MB, free: 11.73 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: 180 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,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,$whenCondition1,$whenCondition2,$whenCondition3,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,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 (214): * Single equations (assignments): 211 * 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.0004651/0.03668, allocations: 0.6304 MB / 360.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.03679, allocations: 123.2 kB / 360.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.03808, allocations: 1.348 MB / 361.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.03809, allocations: 16 kB / 361.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.03809, allocations: 4 kB / 361.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.0381, allocations: 7.969 kB / 361.7 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.04096, allocations: 2.664 MB / 364.3 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.04096, allocations: 8 kB / 364.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.04115, allocations: 84.09 kB / 364.4 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.04115, allocations: 12 kB / 364.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.0412, allocations: 39.97 kB / 364.5 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.04121, allocations: 15.81 kB / 364.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.04121, allocations: 4 kB / 364.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.04312, allocations: 2.177 MB / 366.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.04339, allocations: 238.9 kB / 366.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.04349, allocations: 51.98 kB / 367 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.0437, allocations: 59.95 kB / 367 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.0439, allocations: 148.8 kB / 367.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.04396, allocations: 59.95 kB / 367.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004425/0.0444, allocations: 0.581 MB / 367.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0444, allocations: 0 / 367.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.045, allocations: 347.2 kB / 368.1 MB, free: 2.875 MB / 330.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: 112 (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.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.active,tankController.s2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank1.localActive,tankController.s1.active,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (126): * Single equations (assignments): 99 * 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.003212/0.04821, allocations: 3.209 MB / 371.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.04964, allocations: 1.587 MB / 372.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.04965, allocations: 0 / 372.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.05032, allocations: 0.8408 MB / 373.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.05089, allocations: 221.8 kB / 374 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.0605, allocations: 10.41 MB / 384.4 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.06092, allocations: 0.5805 MB / 385 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000402/0.06133, allocations: 201.6 kB / 385.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.06181, allocations: 492.3 kB / 385.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.06181, allocations: 0 / 385.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.1007, allocations: 27.15 MB / 412.8 MB, free: 5.676 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/7.923, allocations: 3.938 kB / 412.8 MB, free: 5.672 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_StateGraph_Examples_ControlledTanks.fmu > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.676332548260689] 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.034983125515282 8.043196653 8.027017416 Calling exit ...