Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 122.5 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 55.91 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03321/0.1365, allocations: 27.97 MB / 445.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2027/0.3391, allocations: 7.481 MB / 453.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.3417, allocations: 50.44 kB / 453.3 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002944/0.3447, allocations: 1.027 MB / 454.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.3492, allocations: 1.581 MB / 455.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.3555, allocations: 2.253 MB / 458.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008057/0.3636, allocations: 4.993 MB / 463.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/0.3671, allocations: 1.793 MB / 464.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.3707, allocations: 1.769 MB / 466.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.3736, allocations: 1.728 MB / 468.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.3745, allocations: 309.1 kB / 468.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.3771, allocations: 0.9517 MB / 469.7 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008427/0.378, allocations: 0.8739 MB / 470.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.3797, allocations: 1.381 MB / 471.9 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00516/0.3849, allocations: 4.206 MB / 476.1 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3849, allocations: 0.9688 kB / 476.1 MB, free: 260 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3849, allocations: 0 / 476.1 MB, free: 260 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.706e-05/0.3849, allocations: 4 kB / 476.1 MB, free: 256 kB / 366.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.007573/0.3925, allocations: 3.17 MB / 479.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3926, allocations: 10.19 kB / 479.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000476/0.393, allocations: 306.5 kB / 479.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.3941, allocations: 301.5 kB / 479.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.397, allocations: 1.479 MB / 481.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.3973, allocations: 314.6 kB / 481.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.3976, allocations: 220.4 kB / 481.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004964/0.4026, allocations: 2.766 MB / 484.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/0.4027, allocations: 6.375 kB / 484.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.4029, allocations: 93 kB / 484.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.372e-05/0.403, allocations: 104.1 kB / 484.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.4069, allocations: 2.206 MB / 487.1 MB, free: 9.047 MB / 382.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.01622/0.4231, allocations: 10.29 MB / 497.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.4264, allocations: 1.943 MB / 499.3 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.4282, allocations: 0.9929 MB / 0.4886 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009501/0.4377, allocations: 5.49 MB / 0.4939 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002527/0.4402, allocations: 1.527 MB / 0.4954 GB, free: 6.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=207): time 4.007e-06/0.4402, allocations: 4 kB / 0.4954 GB, free: 6.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01758/0.4578, allocations: 8.681 MB / 0.5039 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000471/0.4582, allocations: 0.7638 MB / 0.5047 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.4607, allocations: 1.638 MB / 0.5063 GB, free: 11.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004775/0.4611, allocations: 129.7 kB / 0.5064 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008551/0.462, allocations: 0.9079 MB / 0.5073 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008179/0.4628, allocations: 0.6353 MB / 0.5079 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/0.4637, allocations: 0.572 MB / 0.5085 GB, free: 8.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4638, allocations: 301.1 kB / 0.5087 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.4656, allocations: 0.9618 MB / 0.5097 GB, free: 7.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.468, allocations: 1.686 MB / 0.5113 GB, free: 5.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.4721, allocations: 2.586 MB / 0.5139 GB, free: 2.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.4721, allocations: 4 kB / 0.5139 GB, free: 2.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006118/0.4782, allocations: 3.188 MB / 0.517 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4783, allocations: 101.7 kB / 0.5171 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.4783, allocations: 20 kB / 0.5171 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.4796, allocations: 0.5905 MB / 0.5177 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.4811, allocations: 403.1 kB / 0.518 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.4834, allocations: 2.263 MB / 0.5203 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4852, allocations: 123.9 kB / 0.5204 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.4855, allocations: 120.2 kB / 0.5205 GB, free: 11.87 MB / 430.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: 188 ($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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * 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.001459/0.4869, allocations: 0.8083 MB / 0.5213 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.4875, allocations: 226.6 kB / 0.5215 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005731/0.4932, allocations: 3.059 MB / 0.5245 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.4932, allocations: 32 kB / 0.5245 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4932, allocations: 0 / 0.5245 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.4933, allocations: 19.89 kB / 0.5245 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5033, allocations: 5.473 MB / 0.5299 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.5033, allocations: 7.938 kB / 0.5299 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.5044, allocations: 255.5 kB / 0.5301 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.5056, allocations: 0.563 MB / 0.5307 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/0.5058, allocations: 71.95 kB / 0.5307 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.5081, allocations: 2.231 MB / 0.5329 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5081, allocations: 4 kB / 0.5329 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007571/0.5157, allocations: 4.277 MB / 0.5371 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.5171, allocations: 0.5387 MB / 0.5376 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.5175, allocations: 79.92 kB / 0.5377 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.5187, allocations: 103.9 kB / 0.5378 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/0.5192, allocations: 261.7 kB / 0.5381 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/0.5194, allocations: 95.94 kB / 0.5381 GB, free: 9.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.5209, allocations: 1.035 MB / 0.5392 GB, free: 8.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5209, allocations: 0 / 0.5392 GB, free: 8.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002269/0.5232, allocations: 0.6947 MB / 0.5398 GB, free: 7.738 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: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.0102/0.5334, allocations: 5.607 MB / 0.5453 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.5389, allocations: 2.663 MB / 0.5479 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.5389, allocations: 4 kB / 0.5479 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/0.5422, allocations: 1.541 MB / 0.5494 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/0.5461, allocations: 0.761 MB / 0.5502 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/0.5814, allocations: 18.84 MB / 0.5686 GB, free: 9.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.5831, allocations: 1.591 MB / 0.5701 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002018/0.5852, allocations: 0.5568 MB / 0.5707 GB, free: 7.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.5866, allocations: 0.9404 MB / 0.5716 GB, free: 6.402 MB / 478.1 MB Notification: Performance of SimCode: time 1.093e-06/0.5866, allocations: 0 / 0.5716 GB, free: 6.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/0.7247, allocations: 63.21 MB / 0.6333 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/16.54, allocations: 15.73 kB / 0.6333 GB, free: 7.305 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks_fmu --startTime=0 --stopTime=900 --stepSize=0.178713 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.8953804099001]