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.001247/0.001247, allocations: 109.7 kB / 17.06 MB, free: 5.98 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.001217/0.001217, allocations: 197.3 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 55.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0309/0.2806, allocations: 27.76 MB / 428 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2932, allocations: 7.493 MB / 435.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.295, allocations: 47.75 kB / 435.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.2978, allocations: 1.013 MB / 436.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.3021, allocations: 1.539 MB / 438.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00556/0.3077, allocations: 2.254 MB / 440.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006769/0.3145, allocations: 5.012 MB / 445.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003268/0.3178, allocations: 2.088 MB / 447.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.3208, allocations: 1.752 MB / 449.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.3233, allocations: 1.654 MB / 450.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.3239, allocations: 308 kB / 451.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3261, allocations: 0.9365 MB / 452.1 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009375/0.3271, allocations: 0.8492 MB / 452.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.3288, allocations: 1.408 MB / 454.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005787/0.3346, allocations: 4.199 MB / 458.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3347, allocations: 0 / 458.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3347, allocations: 0 / 458.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.245e-05/0.3348, allocations: 0 / 458.5 MB, free: 14.31 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.00663/0.3414, allocations: 3.175 MB / 461.7 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3415, allocations: 12.03 kB / 461.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004278/0.3419, allocations: 299.5 kB / 462 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.3428, allocations: 307.2 kB / 462.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.3453, allocations: 1.481 MB / 463.8 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.3456, allocations: 303.3 kB / 464.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.346, allocations: 232 kB / 464.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.3508, allocations: 2.765 MB / 467.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.3508, allocations: 3.938 kB / 467.1 MB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.3511, allocations: 95.97 kB / 467.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.3512, allocations: 99.69 kB / 467.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.3552, allocations: 2.2 MB / 469.5 MB, free: 2.969 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.01523/0.3705, allocations: 10.28 MB / 479.8 MB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.3738, allocations: 2.069 MB / 481.8 MB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.3756, allocations: 1.095 MB / 482.9 MB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008755/0.3844, allocations: 5.491 MB / 488.4 MB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002514/0.387, allocations: 1.535 MB / 489.9 MB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 3.807e-06/0.387, allocations: 0 / 489.9 MB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01702/0.404, allocations: 8.69 MB / 498.6 MB, free: 4.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005222/0.4046, allocations: 0.7675 MB / 499.4 MB, free: 3.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.4072, allocations: 1.638 MB / 0.4893 GB, free: 2.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003812/0.4076, allocations: 129.7 kB / 0.4894 GB, free: 1.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009554/0.4085, allocations: 0.9028 MB / 0.4903 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007645/0.4093, allocations: 0.6278 MB / 0.4909 GB, free: 408 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009424/0.4103, allocations: 0.5681 MB / 0.4915 GB, free: 15.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4104, allocations: 305.1 kB / 0.4918 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.4123, allocations: 0.9657 MB / 0.4927 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.415, allocations: 1.686 MB / 0.4943 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.4192, allocations: 2.586 MB / 0.4969 GB, free: 9.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.4192, allocations: 4 kB / 0.4969 GB, free: 9.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006265/0.4255, allocations: 3.194 MB / 0.5 GB, free: 6.465 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.4256, allocations: 101.1 kB / 0.5001 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/0.4257, allocations: 20 kB / 0.5001 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.427, allocations: 0.5879 MB / 0.5007 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.4286, allocations: 403.1 kB / 0.5011 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.4312, allocations: 2.262 MB / 0.5033 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4335, allocations: 128 kB / 0.5034 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/0.4339, allocations: 124 kB / 0.5035 GB, free: 2.75 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.001615/0.4355, allocations: 0.8022 MB / 0.5043 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.4361, allocations: 222.6 kB / 0.5045 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/0.4423, allocations: 3.082 MB / 0.5075 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.4424, allocations: 24 kB / 0.5075 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4424, allocations: 4 kB / 0.5076 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.4424, allocations: 19.89 kB / 0.5076 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.4528, allocations: 5.488 MB / 0.5129 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.4528, allocations: 4.281 kB / 0.5129 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.4539, allocations: 255.5 kB / 0.5132 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.4552, allocations: 0.5607 MB / 0.5137 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.4554, allocations: 71.89 kB / 0.5138 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.4579, allocations: 2.227 MB / 0.516 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.4579, allocations: 3.938 kB / 0.516 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007866/0.4657, allocations: 4.29 MB / 0.5202 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.4671, allocations: 0.5384 MB / 0.5207 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/0.4677, allocations: 79.92 kB / 0.5208 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.4689, allocations: 103.9 kB / 0.5209 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006001/0.4696, allocations: 257.6 kB / 0.5211 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/0.4698, allocations: 95.94 kB / 0.5212 GB, free: 260 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.4715, allocations: 1.039 MB / 0.5222 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4715, allocations: 3.938 kB / 0.5222 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002414/0.4739, allocations: 0.6947 MB / 0.5229 GB, free: 14.52 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: 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.01083/0.4848, allocations: 5.609 MB / 0.5284 GB, free: 8.957 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006018/0.4908, allocations: 2.838 MB / 0.5311 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4909, allocations: 4.812 kB / 0.5311 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.4943, allocations: 1.731 MB / 0.5328 GB, free: 4.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/0.498, allocations: 0.7716 MB / 0.5336 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2398/0.7379, allocations: 18.84 MB / 0.552 GB, free: 129.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/0.7389, allocations: 1.586 MB / 0.5535 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001837/0.7407, allocations: 0.5608 MB / 0.5541 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7418, allocations: 0.9364 MB / 0.555 GB, free: 126.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7418, allocations: 0 / 0.555 GB, free: 126.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/0.8316, allocations: 62.9 MB / 0.6164 GB, free: 64.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.77, allocations: 0 / 0.6164 GB, free: 64.41 MB / 462.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