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.001249/0.001249, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001352/0.001352, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.459/1.459, allocations: 230.5 MB / 254.7 MB, free: 14.98 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.002001/0.002001, allocations: 67.84 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.32 MB / 426.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2404/0.3439, allocations: 28.13 MB / 455 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.3576, allocations: 7.594 MB / 462.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.36, allocations: 52.81 kB / 462.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.3638, allocations: 1.029 MB / 463.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006548/0.3704, allocations: 1.636 MB / 465.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007296/0.3776, allocations: 2.154 MB / 467.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008574/0.3862, allocations: 5.04 MB / 472.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.3899, allocations: 1.799 MB / 474.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.3938, allocations: 1.793 MB / 476.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.397, allocations: 1.738 MB / 477.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.3981, allocations: 310.1 kB / 478.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.4017, allocations: 0.9818 MB / 479.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.4033, allocations: 0.8741 MB / 480 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002903/0.4062, allocations: 1.394 MB / 481.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007525/0.4137, allocations: 4.273 MB / 485.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4137, allocations: 0 / 485.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4137, allocations: 0 / 485.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001476/0.4139, allocations: 0 / 485.7 MB, free: 5.75 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.009377/0.4232, allocations: 3.198 MB / 488.9 MB, free: 2.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4233, allocations: 8.031 kB / 488.9 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009281/0.4242, allocations: 307.5 kB / 489.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.4265, allocations: 371.1 kB / 489.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.4298, allocations: 1.489 MB / 491 MB, free: 436 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.4302, allocations: 307.3 kB / 491.3 MB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.4306, allocations: 221 kB / 491.5 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/0.436, allocations: 2.75 MB / 494.3 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.436, allocations: 9.016 kB / 494.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.4363, allocations: 91.97 kB / 494.4 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.4364, allocations: 99.69 kB / 494.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004621/0.4411, allocations: 2.189 MB / 496.7 MB, free: 10.58 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.01821/0.4593, allocations: 11.21 MB / 0.496 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.4626, allocations: 1.892 MB / 0.4978 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.4644, allocations: 0.9813 MB / 0.4988 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.4747, allocations: 5.336 MB / 0.504 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002972/0.4777, allocations: 1.522 MB / 0.5055 GB, free: 4.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.23e-06/0.4777, allocations: 0 / 0.5055 GB, free: 4.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.02036/0.4981, allocations: 8.701 MB / 0.514 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005643/0.4986, allocations: 0.7635 MB / 0.5147 GB, free: 10.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.5015, allocations: 1.671 MB / 0.5164 GB, free: 9.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005415/0.5021, allocations: 125.7 kB / 0.5165 GB, free: 9.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.5031, allocations: 0.9185 MB / 0.5174 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/0.5041, allocations: 0.6317 MB / 0.518 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.5054, allocations: 0.5601 MB / 0.5185 GB, free: 6.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5055, allocations: 301.1 kB / 0.5188 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.5075, allocations: 0.9579 MB / 0.5198 GB, free: 5.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.5102, allocations: 1.682 MB / 0.5214 GB, free: 3.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.5146, allocations: 2.567 MB / 0.5239 GB, free: 0.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.5146, allocations: 7.938 kB / 0.5239 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006726/0.5213, allocations: 3.135 MB / 0.527 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.5215, allocations: 109.1 kB / 0.5271 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.5215, allocations: 20 kB / 0.5271 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.5229, allocations: 0.5797 MB / 0.5277 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.5244, allocations: 395.2 kB / 0.5281 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.5269, allocations: 2.271 MB / 0.5303 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.5286, allocations: 115.9 kB / 0.5304 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.5289, allocations: 120 kB / 0.5305 GB, free: 9.965 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.001552/0.5305, allocations: 0.813 MB / 0.5313 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/0.5311, allocations: 222.6 kB / 0.5315 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/0.5373, allocations: 3.012 MB / 0.5344 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.5374, allocations: 27.98 kB / 0.5345 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5374, allocations: 4 kB / 0.5345 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.5374, allocations: 11.95 kB / 0.5345 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.5479, allocations: 5.403 MB / 0.5398 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.5479, allocations: 0 / 0.5398 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.5489, allocations: 251.5 kB / 0.54 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.5502, allocations: 0.5489 MB / 0.5405 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.5504, allocations: 63.95 kB / 0.5406 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.5529, allocations: 2.231 MB / 0.5428 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5529, allocations: 7.969 kB / 0.5428 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007572/0.5604, allocations: 4.188 MB / 0.5469 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.5618, allocations: 0.5306 MB / 0.5474 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/0.5623, allocations: 75.94 kB / 0.5475 GB, free: 8.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.5637, allocations: 99.91 kB / 0.5476 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/0.5642, allocations: 253.7 kB / 0.5478 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00022/0.5644, allocations: 91.95 kB / 0.5479 GB, free: 7.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001748/0.5662, allocations: 1.055 MB / 0.5489 GB, free: 6.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5662, allocations: 0 / 0.5489 GB, free: 6.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002423/0.5686, allocations: 0.6908 MB / 0.5496 GB, free: 6.066 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.01066/0.5793, allocations: 5.505 MB / 0.555 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006009/0.5853, allocations: 2.634 MB / 0.5575 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.5853, allocations: 3.859 kB / 0.5575 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003383/0.5887, allocations: 1.526 MB / 0.559 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.00401/0.5927, allocations: 0.7757 MB / 0.5598 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/0.6313, allocations: 18.73 MB / 0.5781 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002068/0.6334, allocations: 1.591 MB / 0.5796 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002223/0.6356, allocations: 0.5491 MB / 0.5802 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/0.6373, allocations: 0.921 MB / 0.5811 GB, free: 4.988 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6373, allocations: 0 / 0.5811 GB, free: 4.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3411/0.9784, allocations: 62.84 MB / 0.6424 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.96, allocations: 16.45 kB / 0.6425 GB, free: 167.8 MB / 0.5137 GB " [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 & /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: 19.490324821323156] 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.14497543219477 17.154584004 16.73857994 Calling exit ...