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.001898/0.001898, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002317/0.002317, allocations: 205 kB / 21.45 MB, free: 1.629 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.499/1.499, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001986/0.001986, allocations: 63.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1258, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2449/0.3707, allocations: 28.14 MB / 455.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3851, allocations: 7.589 MB / 462.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.3878, allocations: 71.12 kB / 462.8 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004136/0.3919, allocations: 1.032 MB / 463.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00594/0.3979, allocations: 1.638 MB / 465.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008255/0.4061, allocations: 2.134 MB / 467.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0098/0.4159, allocations: 5.038 MB / 472.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003697/0.4196, allocations: 1.804 MB / 474.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.4237, allocations: 1.814 MB / 476.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.4275, allocations: 1.737 MB / 478 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.4287, allocations: 314.8 kB / 478.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.4321, allocations: 0.9801 MB / 479.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.4337, allocations: 0.8631 MB / 480.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.4364, allocations: 1.395 MB / 481.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007804/0.4442, allocations: 4.274 MB / 485.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4442, allocations: 0 / 485.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4442, allocations: 0 / 485.8 MB, free: 5.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00014/0.4443, allocations: 0 / 485.8 MB, free: 5.711 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.008956/0.4533, allocations: 3.198 MB / 489 MB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4533, allocations: 8.031 kB / 489 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005424/0.4539, allocations: 303.5 kB / 489.3 MB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.4558, allocations: 371.1 kB / 489.7 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.4588, allocations: 1.477 MB / 491.1 MB, free: 392 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.4592, allocations: 316.1 kB / 491.5 MB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/0.4596, allocations: 228.9 kB / 491.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005791/0.4654, allocations: 2.742 MB / 494.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.4655, allocations: 7.938 kB / 494.4 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.4657, allocations: 91.97 kB / 494.5 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.4659, allocations: 99.69 kB / 494.6 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/0.4704, allocations: 2.193 MB / 496.8 MB, free: 10.53 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.01865/0.489, allocations: 11.18 MB / 0.4961 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.4925, allocations: 1.892 MB / 0.4979 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.4943, allocations: 0.9812 MB / 0.4989 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009305/0.5037, allocations: 5.329 MB / 0.5041 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00265/0.5063, allocations: 1.512 MB / 0.5056 GB, free: 4.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.177e-06/0.5063, allocations: 0 / 0.5056 GB, free: 4.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01895/0.5253, allocations: 8.704 MB / 0.5141 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006332/0.5259, allocations: 0.7671 MB / 0.5148 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.5289, allocations: 1.671 MB / 0.5164 GB, free: 9.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000626/0.5295, allocations: 125.7 kB / 0.5166 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009941/0.5305, allocations: 0.9185 MB / 0.5175 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009366/0.5315, allocations: 0.6317 MB / 0.5181 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.5325, allocations: 0.5563 MB / 0.5186 GB, free: 6.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5327, allocations: 305.1 kB / 0.5189 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.5346, allocations: 0.9579 MB / 0.5199 GB, free: 5.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.5373, allocations: 1.682 MB / 0.5215 GB, free: 3.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.5417, allocations: 2.578 MB / 0.524 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.5418, allocations: 7.938 kB / 0.524 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006534/0.5483, allocations: 3.13 MB / 0.5271 GB, free: 13.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.5484, allocations: 110.6 kB / 0.5272 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/0.5485, allocations: 16 kB / 0.5272 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.5499, allocations: 0.5876 MB / 0.5278 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.5516, allocations: 387.2 kB / 0.5281 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.5544, allocations: 2.266 MB / 0.5304 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.5566, allocations: 123.9 kB / 0.5305 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.5569, allocations: 124.1 kB / 0.5306 GB, free: 9.949 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.001591/0.5585, allocations: 0.8005 MB / 0.5314 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006252/0.5591, allocations: 222.6 kB / 0.5316 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/0.5655, allocations: 3.012 MB / 0.5345 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.5655, allocations: 27.98 kB / 0.5346 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.5655, allocations: 8 kB / 0.5346 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.5655, allocations: 11.95 kB / 0.5346 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.5761, allocations: 5.395 MB / 0.5398 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.5761, allocations: 7.984 kB / 0.5398 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.5773, allocations: 239.6 kB / 0.5401 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.5785, allocations: 0.5573 MB / 0.5406 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.5787, allocations: 67.95 kB / 0.5407 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.5812, allocations: 2.228 MB / 0.5429 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5812, allocations: 4.125 kB / 0.5429 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008171/0.5894, allocations: 4.188 MB / 0.547 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.5907, allocations: 0.5306 MB / 0.5475 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004839/0.5912, allocations: 83.86 kB / 0.5476 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.5924, allocations: 91.94 kB / 0.5476 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/0.593, allocations: 253.6 kB / 0.5479 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/0.5932, allocations: 87.95 kB / 0.548 GB, free: 7.812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.5948, allocations: 1.059 MB / 0.549 GB, free: 6.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5948, allocations: 288 / 0.549 GB, free: 6.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002425/0.5972, allocations: 0.6869 MB / 0.5497 GB, free: 6.07 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.01043/0.6077, allocations: 5.487 MB / 0.555 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006063/0.6137, allocations: 2.634 MB / 0.5576 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.6137, allocations: 3.859 kB / 0.5576 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003338/0.6171, allocations: 1.533 MB / 0.5591 GB, free: 12.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/0.621, allocations: 0.7661 MB / 0.5599 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/0.6568, allocations: 18.72 MB / 0.5781 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.6585, allocations: 1.595 MB / 0.5797 GB, free: 6.469 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002047/0.6605, allocations: 0.545 MB / 0.5802 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/0.6621, allocations: 0.9209 MB / 0.5811 GB, free: 5.004 MB / 494.1 MB Notification: Performance of SimCode: time 1.041e-06/0.6621, allocations: 7.938 kB / 0.5811 GB, free: 4.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3639/1.026, allocations: 62.75 MB / 0.6424 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.51, allocations: 8.016 kB / 0.6424 GB, free: 167.5 MB / 0.5137 GB " [Timeout remaining time 642] (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: 20.293299223762006] 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.70139986462891 17.719313089 17.271199178 Calling exit ...