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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001786/0.001786, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-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"}) [Timeout 660] "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.002005/0.002005, allocations: 68.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2687, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03292/0.3017, allocations: 28.4 MB / 460.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.3151, allocations: 7.619 MB / 467.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.3173, allocations: 71.38 kB / 468 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.3205, allocations: 1.041 MB / 469 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.3256, allocations: 1.663 MB / 470.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005979/0.3316, allocations: 2.221 MB / 472.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008187/0.3398, allocations: 5.11 MB / 478 MB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.3429, allocations: 1.714 MB / 479.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.3463, allocations: 1.815 MB / 481.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.3493, allocations: 1.739 MB / 483.3 MB, free: 3.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.3499, allocations: 308 kB / 483.6 MB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.3523, allocations: 1.018 MB / 484.6 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.3533, allocations: 0.8685 MB / 485.5 MB, free: 1.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.3551, allocations: 1.4 MB / 486.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006138/0.3612, allocations: 4.283 MB / 491.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3612, allocations: 4 kB / 491.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3612, allocations: 0 / 491.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.52e-05/0.3613, allocations: 0 / 491.2 MB, free: 11.42 MB / 398.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.006279/0.3676, allocations: 3.117 MB / 494.3 MB, free: 8.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3676, allocations: 8.031 kB / 494.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004279/0.368, allocations: 307.5 kB / 494.6 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.3696, allocations: 371.1 kB / 495 MB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.3722, allocations: 1.397 MB / 496.4 MB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.3726, allocations: 418.2 kB / 496.8 MB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.3729, allocations: 220 kB / 497 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004855/0.3778, allocations: 2.754 MB / 499.7 MB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.3778, allocations: 7.938 kB / 499.7 MB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.378, allocations: 91.98 kB / 499.8 MB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.3781, allocations: 107.6 kB / 499.9 MB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004116/0.3823, allocations: 2.196 MB / 0.4904 GB, free: 64 kB / 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.01694/0.3992, allocations: 10.94 MB / 0.5011 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.4025, allocations: 1.667 MB / 0.5027 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4043, allocations: 0.9818 MB / 0.5036 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008436/0.4127, allocations: 4.13 MB / 0.5077 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002606/0.4154, allocations: 1.504 MB / 0.5091 GB, free: 12.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 4.038e-06/0.4154, allocations: 0 / 0.5091 GB, free: 12.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01721/0.4326, allocations: 8.392 MB / 0.5173 GB, free: 3.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005553/0.4331, allocations: 0.7672 MB / 0.5181 GB, free: 2.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.4356, allocations: 1.671 MB / 0.5197 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004031/0.436, allocations: 125.7 kB / 0.5198 GB, free: 1.016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/0.4368, allocations: 0.9225 MB / 0.5207 GB, free: 84 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/0.4376, allocations: 0.6317 MB / 0.5214 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008619/0.4384, allocations: 0.5563 MB / 0.5219 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4386, allocations: 309.1 kB / 0.5222 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.4404, allocations: 0.954 MB / 0.5231 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.4428, allocations: 1.678 MB / 0.5248 GB, free: 11.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/0.447, allocations: 2.569 MB / 0.5273 GB, free: 8.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.4471, allocations: 11.94 kB / 0.5273 GB, free: 8.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006212/0.4533, allocations: 3.136 MB / 0.5303 GB, free: 5.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4534, allocations: 103.8 kB / 0.5304 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.4534, allocations: 27.94 kB / 0.5305 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.4547, allocations: 0.5763 MB / 0.531 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.4562, allocations: 395.2 kB / 0.5314 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.4587, allocations: 2.266 MB / 0.5336 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4603, allocations: 128 kB / 0.5337 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.4605, allocations: 120 kB / 0.5339 GB, free: 1.898 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.001367/0.4619, allocations: 0.8013 MB / 0.5346 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.4624, allocations: 218.7 kB / 0.5349 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2169/0.6793, allocations: 3.038 MB / 0.5378 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.6793, allocations: 24.81 kB / 0.5378 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.6794, allocations: 3.75 kB / 0.5378 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/0.6794, allocations: 16.55 kB / 0.5379 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008695/0.6881, allocations: 5.375 MB / 0.5431 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6881, allocations: 0 / 0.5431 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009533/0.689, allocations: 245.6 kB / 0.5433 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009211/0.69, allocations: 0.5609 MB / 0.5439 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.6901, allocations: 62.62 kB / 0.544 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.6917, allocations: 2.237 MB / 0.5461 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6917, allocations: 3.875 kB / 0.5461 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.6972, allocations: 4.195 MB / 0.5502 GB, free: 99.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.6981, allocations: 467.5 kB / 0.5507 GB, free: 99.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.6984, allocations: 80.55 kB / 0.5508 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6994, allocations: 93.77 kB / 0.5508 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004241/0.6998, allocations: 256 kB / 0.5511 GB, free: 98.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.7, allocations: 89.42 kB / 0.5512 GB, free: 98.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.7012, allocations: 1.059 MB / 0.5522 GB, free: 98.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7012, allocations: 1.562 kB / 0.5522 GB, free: 98.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001572/0.7028, allocations: 0.6872 MB / 0.5529 GB, free: 97.39 MB / 446.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.007404/0.7102, allocations: 5.496 MB / 0.5583 GB, free: 92.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004684/0.7149, allocations: 2.647 MB / 0.5608 GB, free: 89.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.7149, allocations: 3.047 kB / 0.5608 GB, free: 89.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.7175, allocations: 1.519 MB / 0.5623 GB, free: 88.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.7207, allocations: 0.7747 MB / 0.5631 GB, free: 87.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.7453, allocations: 18.76 MB / 0.5814 GB, free: 67.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/0.7461, allocations: 1.595 MB / 0.583 GB, free: 66.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001598/0.7477, allocations: 0.5373 MB / 0.5835 GB, free: 65.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.7487, allocations: 0.921 MB / 0.5844 GB, free: 64.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.7487, allocations: 0 / 0.5844 GB, free: 64.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/0.8865, allocations: 64.71 MB / 0.6476 GB, free: 408 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.34/17.23, allocations: 3.984 kB / 0.6476 GB, free: 404 kB / 446.1 MB " [Timeout remaining time 643] (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.178713 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.846802189014852] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', '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.normal.T1.enableFire', 'tankController.normal.T2.enableFire', 'tankController.normal.T3.enableFire', 'tankController.normal.T4.enableFire'] 17.43145363032818 17.448749888 17.083817994 Calling exit ...