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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001544, allocations: 107.5 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.424/2.424, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 46.92 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.404/0.5588, allocations: 27.74 MB / 377.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.577, allocations: 7.497 MB / 385.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/0.5818, allocations: 47.59 kB / 385.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005937/0.5878, allocations: 1.016 MB / 386.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.5989, allocations: 1.538 MB / 388 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.6115, allocations: 2.248 MB / 390.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01555/0.6271, allocations: 4.996 MB / 395.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006741/0.634, allocations: 2.091 MB / 397.3 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007236/0.6413, allocations: 1.756 MB / 399.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00634/0.6477, allocations: 1.649 MB / 400.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.6503, allocations: 309.5 kB / 401 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008661/0.659, allocations: 0.9238 MB / 402 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004141/0.6633, allocations: 0.85 MB / 402.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005992/0.6693, allocations: 1.402 MB / 404.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.6826, allocations: 4.078 MB / 408.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.6827, allocations: 0 / 408.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6827, allocations: 3.938 kB / 408.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001972/0.6829, allocations: 0 / 408.3 MB, free: 10.71 MB / 318.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.01656/0.6995, allocations: 3.106 MB / 411.4 MB, free: 7.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.6996, allocations: 8.031 kB / 411.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001746/0.7014, allocations: 299.5 kB / 411.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.7038, allocations: 297.7 kB / 412 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.7092, allocations: 1.429 MB / 413.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005813/0.7098, allocations: 307.3 kB / 413.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/0.711, allocations: 220 kB / 413.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.7211, allocations: 2.773 MB / 416.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.7213, allocations: 7.938 kB / 416.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008331/0.7222, allocations: 91.98 kB / 416.8 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/0.7224, allocations: 99.69 kB / 416.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/0.7289, allocations: 2.204 MB / 419.1 MB, free: 15.49 MB / 334.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.02422/0.7532, allocations: 10.31 MB / 429.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.7583, allocations: 2.075 MB / 431.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.7619, allocations: 1.102 MB / 432.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01862/0.7805, allocations: 5.495 MB / 438.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005615/0.7862, allocations: 1.527 MB / 439.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 1.521e-05/0.7863, allocations: 4 kB / 439.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.03571/0.822, allocations: 8.497 MB / 448.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006973/0.8228, allocations: 0.7675 MB / 448.9 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/0.8279, allocations: 1.634 MB / 450.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008967/0.8289, allocations: 129.7 kB / 450.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.8305, allocations: 0.885 MB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001864/0.8324, allocations: 0.6129 MB / 452.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/0.8351, allocations: 0.5641 MB / 452.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.8353, allocations: 301.1 kB / 453 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.8384, allocations: 0.9657 MB / 454 MB, free: 11.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004937/0.8433, allocations: 1.69 MB / 455.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/0.8501, allocations: 2.577 MB / 458.2 MB, free: 6.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.375e-05/0.8502, allocations: 4 kB / 458.2 MB, free: 6.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01383/0.864, allocations: 3.181 MB / 461.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.8643, allocations: 109.1 kB / 461.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-05/0.8644, allocations: 24.12 kB / 461.6 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/0.8667, allocations: 0.5839 MB / 462.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.8694, allocations: 403.2 kB / 462.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.8728, allocations: 2.254 MB / 464.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.8753, allocations: 131.9 kB / 464.9 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007056/0.8761, allocations: 124 kB / 465 MB, free: 15.44 MB / 382.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.002151/0.8782, allocations: 0.8099 MB / 465.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.8793, allocations: 213.5 kB / 466.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/0.8871, allocations: 3.074 MB / 469.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.785e-05/0.8872, allocations: 36 kB / 469.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.8872, allocations: 0 / 469.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.8872, allocations: 19.89 kB / 469.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.9015, allocations: 5.51 MB / 474.7 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-05/0.9016, allocations: 7.938 kB / 474.7 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.9029, allocations: 251.5 kB / 474.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.9044, allocations: 0.5567 MB / 475.5 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005391/0.905, allocations: 71.94 kB / 475.6 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.908, allocations: 2.231 MB / 477.8 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.908, allocations: 7.938 kB / 477.8 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.9197, allocations: 4.271 MB / 482.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/0.9219, allocations: 0.5294 MB / 482.6 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/0.923, allocations: 75.98 kB / 482.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/0.9255, allocations: 107.8 kB / 482.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009426/0.9265, allocations: 257.9 kB / 483 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004418/0.927, allocations: 95.94 kB / 483.1 MB, free: 12.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0036/0.9306, allocations: 1.039 MB / 484.2 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.32e-07/0.9306, allocations: 7.938 kB / 484.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004476/0.9351, allocations: 0.6874 MB / 484.9 MB, free: 11.21 MB / 398.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.0136/0.9487, allocations: 5.598 MB / 490.5 MB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01422/0.963, allocations: 3.693 MB / 494.2 MB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.9631, allocations: 4 kB / 494.2 MB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005918/0.969, allocations: 1.74 MB / 495.9 MB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007736/0.9768, allocations: 0.7616 MB / 496.7 MB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07176/1.049, allocations: 20.79 MB / 0.5053 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/1.051, allocations: 1.595 MB / 0.5069 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004736/1.056, allocations: 0.5526 MB / 0.5074 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002874/1.059, allocations: 0.9365 MB / 0.5083 GB, free: 5.656 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/1.059, allocations: 0 / 0.5083 GB, free: 5.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.509/1.568, allocations: 62.13 MB / 0.569 GB, free: 135.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.64/23.21, allocations: 18.38 kB / 0.569 GB, free: 135.1 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Modelica_4_0_0_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv","/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) Reference file matches