Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_3_2_3_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.001292/0.001292, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001205/0.001205, allocations: 188.2 kB / 18.67 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09711, allocations: 46.62 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2269/0.324, allocations: 27.72 MB / 402.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.337, allocations: 7.319 MB / 409.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.3395, allocations: 51.41 kB / 409.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.3428, allocations: 1.01 MB / 410.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005287/0.3481, allocations: 1.537 MB / 412.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006929/0.3551, allocations: 2.213 MB / 414.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008776/0.3639, allocations: 4.974 MB / 419.5 MB, free: 180 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.3683, allocations: 2.049 MB / 421.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.3725, allocations: 1.747 MB / 423.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.3761, allocations: 1.626 MB / 424.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.3774, allocations: 303.9 kB / 425.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.3811, allocations: 0.926 MB / 426.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.3829, allocations: 0.8336 MB / 427 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003484/0.3864, allocations: 1.369 MB / 428.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008039/0.3944, allocations: 4.164 MB / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3945, allocations: 0 / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3945, allocations: 0 / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001661/0.3946, allocations: 0 / 432.5 MB, free: 5.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.007774/0.4024, allocations: 3.075 MB / 435.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4025, allocations: 8.031 kB / 435.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/0.4029, allocations: 299.4 kB / 435.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.4038, allocations: 303.2 kB / 436.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.4062, allocations: 1.457 MB / 437.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.4065, allocations: 307.1 kB / 437.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.4069, allocations: 219.9 kB / 438.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004725/0.4116, allocations: 2.741 MB / 440.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.4117, allocations: 3.938 kB / 440.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/0.4119, allocations: 87.98 kB / 441 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.412, allocations: 103.7 kB / 441.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004047/0.4161, allocations: 2.181 MB / 443.2 MB, free: 10.79 MB / 366.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.01429/0.4304, allocations: 10.23 MB / 453.5 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.4335, allocations: 1.899 MB / 455.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.4352, allocations: 1.014 MB / 456.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007456/0.4426, allocations: 4.713 MB / 461.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002387/0.445, allocations: 1.427 MB / 462.5 MB, free: 6.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 3.717e-06/0.4451, allocations: 4 kB / 462.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01437/0.4594, allocations: 6.233 MB / 468.8 MB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003847/0.4599, allocations: 0.5469 MB / 469.3 MB, free: 15.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.4625, allocations: 1.647 MB / 471 MB, free: 13.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004188/0.4629, allocations: 117.7 kB / 471.1 MB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.4639, allocations: 0.9179 MB / 472 MB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007806/0.4647, allocations: 0.5968 MB / 472.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009405/0.4657, allocations: 0.548 MB / 473.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4658, allocations: 309.1 kB / 473.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.4676, allocations: 0.9224 MB / 474.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.4701, allocations: 1.597 MB / 476 MB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004104/0.4742, allocations: 2.418 MB / 478.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.4743, allocations: 8 kB / 478.4 MB, free: 5.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.006233/0.4805, allocations: 3.069 MB / 481.4 MB, free: 2.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4806, allocations: 101.1 kB / 481.5 MB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/0.4807, allocations: 20.16 kB / 481.6 MB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.482, allocations: 0.5723 MB / 482.1 MB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4835, allocations: 391.2 kB / 482.5 MB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.486, allocations: 2.258 MB / 484.8 MB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.4877, allocations: 124 kB / 484.9 MB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.488, allocations: 124 kB / 485 MB, free: 15.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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.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 (311): * Single equations (assignments): 305 * 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.001411/0.4894, allocations: 0.7637 MB / 485.8 MB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.4899, allocations: 206.7 kB / 486 MB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005926/0.4959, allocations: 3.031 MB / 489 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.4959, allocations: 24 kB / 489 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4959, allocations: 3.938 kB / 489 MB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.496, allocations: 11.95 kB / 489.1 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.5062, allocations: 5.368 MB / 494.4 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.5063, allocations: 0 / 494.4 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5074, allocations: 247.6 kB / 494.7 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.5086, allocations: 0.5606 MB / 495.2 MB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/0.5088, allocations: 63.95 kB / 495.3 MB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.5112, allocations: 2.231 MB / 497.5 MB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5113, allocations: 0 / 497.5 MB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007371/0.5186, allocations: 4.064 MB / 0.4898 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.5199, allocations: 0.5267 MB / 0.4903 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.5204, allocations: 56 kB / 0.4904 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.5215, allocations: 103.9 kB / 0.4905 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000559/0.5221, allocations: 245.7 kB / 0.4907 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.5223, allocations: 87.94 kB / 0.4908 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001576/0.5239, allocations: 1.043 MB / 0.4918 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5239, allocations: 0 / 0.4918 GB, free: 12.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00209/0.526, allocations: 0.6752 MB / 0.4925 GB, free: 11.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (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.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.009921/0.5359, allocations: 5.364 MB / 0.4977 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.5414, allocations: 2.655 MB / 0.5003 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.5414, allocations: 7.859 kB / 0.5003 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.5444, allocations: 1.455 MB / 0.5017 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.548, allocations: 0.7537 MB / 0.5025 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/0.5814, allocations: 18.12 MB / 0.5202 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.5828, allocations: 1.575 MB / 0.5217 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001938/0.5848, allocations: 0.553 MB / 0.5223 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/0.5863, allocations: 0.9288 MB / 0.5232 GB, free: 11.13 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5863, allocations: 4 kB / 0.5232 GB, free: 11.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/0.9022, allocations: 61.94 MB / 0.5837 GB, free: 141.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.03, allocations: 9.625 kB / 0.5837 GB, free: 141.6 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches