Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.12 kB / 307 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 50.52 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2012/0.303, allocations: 27.95 MB / 385.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3197, allocations: 7.586 MB / 393.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.3225, allocations: 52.41 kB / 393.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.3264, allocations: 1.022 MB / 394.2 MB, free: 84 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006874/0.3333, allocations: 1.596 MB / 395.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008647/0.342, allocations: 2.156 MB / 397.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.3523, allocations: 5.031 MB / 403 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.3575, allocations: 2.096 MB / 405.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/0.3633, allocations: 1.777 MB / 406.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.3682, allocations: 1.667 MB / 408.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.3699, allocations: 312 kB / 408.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.3733, allocations: 0.9193 MB / 409.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.3748, allocations: 0.8552 MB / 410.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.3776, allocations: 1.399 MB / 412 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.3835, allocations: 4.098 MB / 416.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3835, allocations: 0 / 416.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3835, allocations: 0 / 416.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.3836, allocations: 4 kB / 416.1 MB, free: 0.9922 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.007278/0.3909, allocations: 3.118 MB / 419.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.391, allocations: 15.97 kB / 419.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005452/0.3915, allocations: 307.5 kB / 419.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.3932, allocations: 329.7 kB / 419.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.3956, allocations: 1.426 MB / 421.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.3959, allocations: 311.2 kB / 421.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3963, allocations: 224 kB / 421.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/0.4012, allocations: 2.742 MB / 424.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.4013, allocations: 7.938 kB / 424.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.4015, allocations: 91.97 kB / 424.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.4016, allocations: 103.7 kB / 424.7 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004138/0.4058, allocations: 2.193 MB / 426.9 MB, free: 5.75 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.0174/0.4232, allocations: 11.27 MB / 438.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.4267, allocations: 2.02 MB / 440.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.4286, allocations: 1.087 MB / 441.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009125/0.4378, allocations: 5.335 MB / 446.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/0.4404, allocations: 1.516 MB / 448.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 5.47e-06/0.4404, allocations: 3.938 kB / 448.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=215): time 0.01832/0.4587, allocations: 8.504 MB / 456.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004841/0.4593, allocations: 0.7672 MB / 457.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.462, allocations: 1.663 MB / 459.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003985/0.4624, allocations: 129.7 kB / 459.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/0.4632, allocations: 0.8969 MB / 460.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008941/0.4642, allocations: 0.6052 MB / 460.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000945/0.4651, allocations: 0.5601 MB / 461.3 MB, free: 2.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.4652, allocations: 301.1 kB / 461.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4671, allocations: 0.954 MB / 462.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.4696, allocations: 1.674 MB / 464.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003967/0.4735, allocations: 2.575 MB / 466.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.4736, allocations: 4 kB / 466.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005831/0.4794, allocations: 3.142 MB / 469.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.4795, allocations: 108.1 kB / 470 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.4796, allocations: 20.06 kB / 470 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.4809, allocations: 0.5801 MB / 470.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.4824, allocations: 391.2 kB / 471 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.4846, allocations: 2.266 MB / 473.3 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4862, allocations: 127.9 kB / 473.4 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.4865, allocations: 116 kB / 473.5 MB, free: 5.043 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: 186 ($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.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,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],$whenCondition12,$whenCondition10,$whenCondition11,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],$whenCondition15,$whenCondition13,$whenCondition14,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.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,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * 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.001389/0.4879, allocations: 0.8096 MB / 474.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/0.4884, allocations: 213.5 kB / 474.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.4943, allocations: 3.031 MB / 477.6 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.4943, allocations: 28 kB / 477.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.4943, allocations: 4 kB / 477.6 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.4944, allocations: 11.95 kB / 477.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.505, allocations: 5.437 MB / 483 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.5051, allocations: 8.219 kB / 483 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5062, allocations: 247.6 kB / 483.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.5076, allocations: 0.5567 MB / 483.8 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/0.5079, allocations: 67.89 kB / 483.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.5104, allocations: 2.227 MB / 486.1 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5104, allocations: 8.156 kB / 486.1 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/0.5188, allocations: 4.184 MB / 490.3 MB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.5202, allocations: 0.514 MB / 490.8 MB, free: 3.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/0.5208, allocations: 79.89 kB / 490.9 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.5221, allocations: 99.91 kB / 491 MB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.5228, allocations: 253.6 kB / 491.3 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.523, allocations: 95.94 kB / 491.4 MB, free: 2.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.5248, allocations: 1.051 MB / 492.4 MB, free: 1.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5248, allocations: 3.938 kB / 492.4 MB, free: 1.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002271/0.5271, allocations: 0.6912 MB / 493.1 MB, free: 1.105 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: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,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,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (212): * Single equations (assignments): 176 * 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.009182/0.5363, allocations: 5.47 MB / 498.6 MB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.5465, allocations: 3.639 MB / 0.4904 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.5465, allocations: 8.25 kB / 0.4905 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.5499, allocations: 1.7 MB / 0.4921 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.5538, allocations: 0.7787 MB / 0.4929 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/0.5896, allocations: 20.72 MB / 0.5131 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.5914, allocations: 1.587 MB / 0.5147 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002347/0.5937, allocations: 0.5372 MB / 0.5152 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/0.5956, allocations: 0.9249 MB / 0.5161 GB, free: 11.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5956, allocations: 0 / 0.5161 GB, free: 11.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2802/0.8758, allocations: 61.79 MB / 0.5764 GB, free: 120.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.36, allocations: 11.83 kB / 0.5764 GB, free: 120.3 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Fluid_Examples_ControlledTankSystem_ControlledTanks.fmu > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches