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.001652/0.001652, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.002078/0.002078, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.38/1.38, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001655/0.001655, allocations: 47.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2391, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03423/0.2733, allocations: 28.22 MB / 450.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.2881, allocations: 7.526 MB / 458.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.2903, allocations: 75.38 kB / 458.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.2935, allocations: 1.029 MB / 459.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.2982, allocations: 1.605 MB / 461.1 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006293/0.3045, allocations: 2.322 MB / 463.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007574/0.312, allocations: 5.071 MB / 468.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.3154, allocations: 1.721 MB / 470.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.319, allocations: 1.811 MB / 472 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.3223, allocations: 1.72 MB / 473.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3234, allocations: 308 kB / 474 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.3261, allocations: 0.9793 MB / 475 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.3274, allocations: 0.8724 MB / 475.9 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.3299, allocations: 1.38 MB / 477.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00658/0.3365, allocations: 4.224 MB / 481.5 MB, free: 3.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3365, allocations: 0 / 481.5 MB, free: 3.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3365, allocations: 3.938 kB / 481.5 MB, free: 3.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.3366, allocations: 0 / 481.5 MB, free: 3.531 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.007622/0.3442, allocations: 3.094 MB / 484.6 MB, free: 324 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3442, allocations: 8.031 kB / 484.6 MB, free: 316 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007084/0.3449, allocations: 303.5 kB / 484.9 MB, free: 0 / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.3461, allocations: 311.2 kB / 485.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.3494, allocations: 1.397 MB / 486.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.3498, allocations: 418.1 kB / 487 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005541/0.3504, allocations: 228 kB / 487.2 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.3564, allocations: 2.773 MB / 490 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.064e-05/0.3565, allocations: 3.938 kB / 490 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.3568, allocations: 99.97 kB / 490.1 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.357, allocations: 99.69 kB / 490.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.362, allocations: 2.204 MB / 492.4 MB, free: 8.227 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.01749/0.3795, allocations: 10.02 MB / 0.4906 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/0.383, allocations: 1.718 MB / 0.4923 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.385, allocations: 0.9818 MB / 0.4933 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009215/0.3942, allocations: 4.21 MB / 0.4974 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/0.3968, allocations: 1.535 MB / 0.4989 GB, free: 5.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 5.45e-06/0.3969, allocations: 0 / 0.4989 GB, free: 5.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01814/0.415, allocations: 8.377 MB / 0.5071 GB, free: 12.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004985/0.4155, allocations: 0.7713 MB / 0.5078 GB, free: 11.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.4182, allocations: 1.638 MB / 0.5094 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003686/0.4185, allocations: 129.7 kB / 0.5095 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.4194, allocations: 0.8989 MB / 0.5104 GB, free: 9.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008141/0.4203, allocations: 0.6317 MB / 0.511 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.4213, allocations: 0.5681 MB / 0.5116 GB, free: 7.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4215, allocations: 313 kB / 0.5119 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.4234, allocations: 0.9618 MB / 0.5128 GB, free: 6.605 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.4261, allocations: 1.682 MB / 0.5145 GB, free: 4.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004253/0.4304, allocations: 2.594 MB / 0.517 GB, free: 1.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.4304, allocations: 12 kB / 0.517 GB, free: 1.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006488/0.4369, allocations: 3.179 MB / 0.5201 GB, free: 14.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.437, allocations: 107.4 kB / 0.5202 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/0.437, allocations: 19.94 kB / 0.5202 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.4384, allocations: 0.5803 MB / 0.5208 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.4399, allocations: 407.1 kB / 0.5212 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.4424, allocations: 2.258 MB / 0.5234 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.4444, allocations: 128 kB / 0.5235 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/0.4449, allocations: 128 kB / 0.5236 GB, free: 10.81 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: 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.001722/0.4466, allocations: 0.8074 MB / 0.5244 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/0.4473, allocations: 218.6 kB / 0.5246 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006302/0.4536, allocations: 3.094 MB / 0.5277 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/0.4536, allocations: 31.98 kB / 0.5277 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.4536, allocations: 3.938 kB / 0.5277 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.4536, allocations: 11.97 kB / 0.5277 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/0.4641, allocations: 5.464 MB / 0.533 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.4642, allocations: 0 / 0.533 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.4652, allocations: 255.6 kB / 0.5333 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.4664, allocations: 0.5567 MB / 0.5338 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.4667, allocations: 67.95 kB / 0.5339 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2073/0.674, allocations: 2.225 MB / 0.5361 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.674, allocations: 2.656 kB / 0.5361 GB, free: 110.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.6808, allocations: 4.308 MB / 0.5403 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6819, allocations: 476 kB / 0.5407 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/0.6822, allocations: 78.56 kB / 0.5408 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.6833, allocations: 97.06 kB / 0.5409 GB, free: 109.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/0.6838, allocations: 275.9 kB / 0.5412 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.6839, allocations: 93.44 kB / 0.5413 GB, free: 109.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.6851, allocations: 1.042 MB / 0.5423 GB, free: 108.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6851, allocations: 0 / 0.5423 GB, free: 108.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001736/0.6868, allocations: 0.696 MB / 0.5429 GB, free: 108.6 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.007769/0.6946, allocations: 5.602 MB / 0.5484 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004134/0.6987, allocations: 2.67 MB / 0.551 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.6987, allocations: 4 kB / 0.551 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.7011, allocations: 1.543 MB / 0.5525 GB, free: 102.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.7042, allocations: 0.7726 MB / 0.5533 GB, free: 102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/0.7275, allocations: 18.84 MB / 0.5717 GB, free: 82.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.7283, allocations: 1.593 MB / 0.5733 GB, free: 80.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001579/0.7299, allocations: 0.5605 MB / 0.5738 GB, free: 80.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009948/0.7309, allocations: 0.9365 MB / 0.5747 GB, free: 79.49 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7309, allocations: 0 / 0.5747 GB, free: 79.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.8311, allocations: 65.2 MB / 0.6384 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.25, allocations: 23.12 kB / 0.6384 GB, free: 14.48 MB / 446.1 MB " [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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 20.24879605206661]