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.001877/0.001877, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002389/0.002389, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.00197/0.00197, allocations: 72.53 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.287, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0321/0.3191, allocations: 28.4 MB / 460.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.332, allocations: 7.62 MB / 467.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.3344, allocations: 75.38 kB / 468 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3377, allocations: 1.03 MB / 469 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.3425, allocations: 1.67 MB / 470.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005913/0.3484, allocations: 2.218 MB / 472.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007594/0.356, allocations: 5.106 MB / 478 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003389/0.3594, allocations: 1.722 MB / 479.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.3633, allocations: 1.822 MB / 481.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.3666, allocations: 1.728 MB / 483.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008298/0.3674, allocations: 312 kB / 483.6 MB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3704, allocations: 1.014 MB / 484.6 MB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.3715, allocations: 0.8802 MB / 485.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.3736, allocations: 1.388 MB / 486.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.3811, allocations: 4.283 MB / 491.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3811, allocations: 0 / 491.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3811, allocations: 0 / 491.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001319/0.3812, allocations: 4 kB / 491.2 MB, free: 11.41 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.008087/0.3893, allocations: 3.121 MB / 494.3 MB, free: 8.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3893, allocations: 8.031 kB / 494.3 MB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004233/0.3898, allocations: 299.5 kB / 494.6 MB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.3914, allocations: 367.1 kB / 495 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.3944, allocations: 1.401 MB / 496.4 MB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.3947, allocations: 422.1 kB / 496.8 MB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.3951, allocations: 216 kB / 497 MB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005426/0.4005, allocations: 2.751 MB / 499.7 MB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.4006, allocations: 11.88 kB / 499.7 MB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.4008, allocations: 91.97 kB / 499.8 MB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.401, allocations: 103.7 kB / 499.9 MB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004667/0.4057, allocations: 2.196 MB / 0.4904 GB, free: 56 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.01789/0.4235, allocations: 10.95 MB / 0.5011 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.4268, allocations: 1.669 MB / 0.5027 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.4286, allocations: 0.974 MB / 0.5036 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008962/0.4376, allocations: 4.126 MB / 0.5077 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002812/0.4404, allocations: 1.512 MB / 0.5091 GB, free: 12.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 7.744e-06/0.4404, allocations: 0 / 0.5091 GB, free: 12.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01871/0.4591, allocations: 8.406 MB / 0.5174 GB, free: 3.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004814/0.4596, allocations: 0.7594 MB / 0.5181 GB, free: 2.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.4625, allocations: 1.667 MB / 0.5197 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004318/0.4629, allocations: 133.7 kB / 0.5198 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.4639, allocations: 0.9224 MB / 0.5207 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009464/0.4649, allocations: 0.6317 MB / 0.5214 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.4661, allocations: 0.5563 MB / 0.5219 GB, free: 14.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4662, allocations: 305.1 kB / 0.5222 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.4681, allocations: 0.9501 MB / 0.5231 GB, free: 13.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.4708, allocations: 1.682 MB / 0.5248 GB, free: 11.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.4751, allocations: 2.567 MB / 0.5273 GB, free: 8.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/0.4751, allocations: 11.94 kB / 0.5273 GB, free: 8.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.00638/0.4815, allocations: 3.144 MB / 0.5304 GB, free: 5.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.4816, allocations: 105.1 kB / 0.5305 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/0.4817, allocations: 16 kB / 0.5305 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.483, allocations: 0.5725 MB / 0.531 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4847, allocations: 403.2 kB / 0.5314 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.4872, allocations: 2.254 MB / 0.5336 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.489, allocations: 132 kB / 0.5337 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/0.4893, allocations: 112 kB / 0.5339 GB, free: 1.895 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.001659/0.491, allocations: 0.8168 MB / 0.5346 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006631/0.4917, allocations: 226.7 kB / 0.5349 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2224/0.714, allocations: 3.026 MB / 0.5378 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/0.7141, allocations: 25.25 kB / 0.5378 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.7141, allocations: 3.062 kB / 0.5378 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.7141, allocations: 15.8 kB / 0.5379 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/0.7231, allocations: 5.375 MB / 0.5431 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.7231, allocations: 3.969 kB / 0.5431 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.724, allocations: 244.4 kB / 0.5433 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/0.725, allocations: 0.5473 MB / 0.5439 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.7252, allocations: 71.27 kB / 0.544 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7269, allocations: 2.237 MB / 0.5461 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7269, allocations: 0 / 0.5461 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/0.7328, allocations: 4.197 MB / 0.5502 GB, free: 99.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.7339, allocations: 470.3 kB / 0.5507 GB, free: 98.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.7343, allocations: 82.41 kB / 0.5508 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7353, allocations: 95.89 kB / 0.5509 GB, free: 98.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004713/0.7358, allocations: 258.4 kB / 0.5511 GB, free: 98.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.7359, allocations: 87.02 kB / 0.5512 GB, free: 98.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.7372, allocations: 1.067 MB / 0.5522 GB, free: 98.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7372, allocations: 0 / 0.5522 GB, free: 98.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00176/0.7389, allocations: 0.6833 MB / 0.5529 GB, free: 97.4 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.007487/0.7464, allocations: 5.496 MB / 0.5583 GB, free: 92.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004348/0.7508, allocations: 2.641 MB / 0.5608 GB, free: 89.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.7508, allocations: 3.047 kB / 0.5608 GB, free: 89.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.7532, allocations: 1.527 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.003061/0.7563, allocations: 0.7803 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.02461/0.7809, allocations: 18.75 MB / 0.5814 GB, free: 67.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/0.7817, allocations: 1.591 MB / 0.583 GB, free: 66.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0017/0.7834, allocations: 0.5411 MB / 0.5835 GB, free: 65.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.7846, allocations: 0.921 MB / 0.5844 GB, free: 64.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7846, allocations: 0 / 0.5844 GB, free: 64.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.8911, allocations: 64.71 MB / 0.6476 GB, free: 396 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.61, allocations: 6.328 kB / 0.6476 GB, free: 396 kB / 446.1 MB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_fmu --startTime=0 --stopTime=900 --stepSize=0.178713 --timeout=50 --tolerance=1e-06 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.212069663219154] 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.822048699948937 17.847607321 17.46115935 Calling exit ...