Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002256/0.002256, allocations: 211.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.57/1.57, allocations: 227.7 MB / 247.2 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003325/0.003325, allocations: 59.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3754, allocations: 50.54 MB / 409.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.05367/0.4292, allocations: 27.94 MB / 437 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.4482, allocations: 7.591 MB / 444.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.4508, allocations: 55.69 kB / 444.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.4548, allocations: 1.002 MB / 445.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.4615, allocations: 1.607 MB / 447.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007911/0.4694, allocations: 2.157 MB / 449.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007776/0.4772, allocations: 5.051 MB / 454.5 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/0.4811, allocations: 2.092 MB / 456.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/0.4848, allocations: 1.783 MB / 458.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.4879, allocations: 1.662 MB / 460 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.489, allocations: 312 kB / 460.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.4921, allocations: 0.9481 MB / 461.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.4933, allocations: 0.8609 MB / 462.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.4954, allocations: 1.404 MB / 463.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.5015, allocations: 4.269 MB / 467.8 MB, free: 6.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5015, allocations: 7.984 kB / 467.8 MB, free: 6.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.5015, allocations: 4 kB / 467.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.705e-05/0.5016, allocations: 3.938 kB / 467.8 MB, free: 6.574 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.008183/0.5098, allocations: 3.192 MB / 471 MB, free: 3.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5099, allocations: 8.031 kB / 471 MB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004119/0.5103, allocations: 299.5 kB / 471.3 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.512, allocations: 367.1 kB / 471.6 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.5147, allocations: 1.489 MB / 473.1 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.515, allocations: 307.3 kB / 473.4 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.5153, allocations: 224 kB / 473.7 MB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.5202, allocations: 2.746 MB / 476.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.5203, allocations: 7.938 kB / 476.4 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.5205, allocations: 87.98 kB / 476.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.5207, allocations: 99.69 kB / 476.6 MB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004277/0.5249, allocations: 2.196 MB / 478.8 MB, free: 11.18 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.5407, allocations: 11.21 MB / 490 MB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.5439, allocations: 2.029 MB / 492 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.5456, allocations: 1.079 MB / 493.1 MB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007897/0.5535, allocations: 5.335 MB / 498.4 MB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002358/0.5559, allocations: 1.516 MB / 500 MB, free: 5.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.767e-06/0.5559, allocations: 0 / 500 MB, free: 5.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01624/0.5722, allocations: 8.705 MB / 0.4967 GB, free: 12.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000444/0.5726, allocations: 0.7633 MB / 0.4975 GB, free: 11.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.575, allocations: 1.671 MB / 0.4991 GB, free: 9.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.5754, allocations: 125.7 kB / 0.4992 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008413/0.5762, allocations: 0.9186 MB / 0.5001 GB, free: 8.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/0.5769, allocations: 0.6317 MB / 0.5007 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008898/0.5778, allocations: 0.5602 MB / 0.5013 GB, free: 7.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5779, allocations: 305.1 kB / 0.5016 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5798, allocations: 0.954 MB / 0.5025 GB, free: 6.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/0.5823, allocations: 1.678 MB / 0.5042 GB, free: 4.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.5883, allocations: 2.575 MB / 0.5067 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.5884, allocations: 11.88 kB / 0.5067 GB, free: 1.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.007603/0.596, allocations: 3.147 MB / 0.5098 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.5962, allocations: 110 kB / 0.5099 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.5962, allocations: 20 kB / 0.5099 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5975, allocations: 0.5762 MB / 0.5104 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.599, allocations: 391.2 kB / 0.5108 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.6014, allocations: 2.27 MB / 0.513 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.603, allocations: 124 kB / 0.5132 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.6032, allocations: 120 kB / 0.5133 GB, free: 10.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],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.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,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.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.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,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.6046, allocations: 0.8013 MB / 0.514 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/0.6051, allocations: 226.6 kB / 0.5143 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.6107, allocations: 3.016 MB / 0.5172 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.6108, allocations: 31.97 kB / 0.5172 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.6108, allocations: 8 kB / 0.5172 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.6108, allocations: 11.97 kB / 0.5173 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00908/0.6199, allocations: 5.407 MB / 0.5225 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.62, allocations: 4 kB / 0.5225 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.621, allocations: 239.6 kB / 0.5228 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.6222, allocations: 0.5567 MB / 0.5233 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.6224, allocations: 67.95 kB / 0.5234 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.6247, allocations: 2.227 MB / 0.5256 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6247, allocations: 8.125 kB / 0.5256 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/0.6317, allocations: 4.196 MB / 0.5297 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.6328, allocations: 0.5306 MB / 0.5302 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.6332, allocations: 83.92 kB / 0.5303 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6344, allocations: 99.92 kB / 0.5304 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/0.635, allocations: 253.6 kB / 0.5306 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.6352, allocations: 87.95 kB / 0.5307 GB, free: 8.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001566/0.6368, allocations: 1.059 MB / 0.5317 GB, free: 7.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6368, allocations: 0 / 0.5317 GB, free: 7.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002262/0.639, allocations: 0.6947 MB / 0.5324 GB, free: 6.355 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.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,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009897/0.6489, allocations: 5.498 MB / 0.5378 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2048/0.8538, allocations: 2.814 MB / 0.5405 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.8538, allocations: 4.484 kB / 0.5405 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003334/0.8572, allocations: 1.704 MB / 0.5422 GB, free: 130.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.8606, allocations: 0.7675 MB / 0.5429 GB, free: 130.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/0.8848, allocations: 18.75 MB / 0.5612 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.8857, allocations: 1.584 MB / 0.5628 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001725/0.8874, allocations: 0.5465 MB / 0.5633 GB, free: 114.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009966/0.8884, allocations: 0.921 MB / 0.5642 GB, free: 113.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.984e-06/0.8884, allocations: 0 / 0.5642 GB, free: 113.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/0.9845, allocations: 62.57 MB / 0.6253 GB, free: 51.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.27, allocations: 4 kB / 0.6253 GB, free: 51.18 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1)