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.001123/0.001123, allocations: 114.5 kB / 17.73 MB, free: 5.328 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.001047/0.001047, allocations: 187 kB / 18.67 MB, free: 4.395 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001307/0.001307, allocations: 51.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09213, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2259/0.3181, allocations: 27.73 MB / 402.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3318, allocations: 7.317 MB / 409.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.3346, allocations: 51.94 kB / 409.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.3379, allocations: 1.013 MB / 410.8 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.3433, allocations: 1.572 MB / 412.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006789/0.3502, allocations: 2.204 MB / 414.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009839/0.36, allocations: 4.989 MB / 419.5 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004462/0.3645, allocations: 2.062 MB / 421.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00452/0.3691, allocations: 1.753 MB / 423.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.3725, allocations: 1.635 MB / 425 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3736, allocations: 304.5 kB / 425.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.3767, allocations: 0.9257 MB / 426.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.3779, allocations: 0.8336 MB / 427 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002208/0.3802, allocations: 1.361 MB / 428.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.3861, allocations: 4.172 MB / 432.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3861, allocations: 0 / 432.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3861, allocations: 0 / 432.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.213e-05/0.3862, allocations: 0 / 432.6 MB, free: 6.02 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.006183/0.3924, allocations: 3.075 MB / 435.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3925, allocations: 8.031 kB / 435.6 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/0.3929, allocations: 299.4 kB / 435.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.3937, allocations: 299.2 kB / 436.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.396, allocations: 1.461 MB / 437.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/0.3963, allocations: 303.1 kB / 438 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3966, allocations: 216 kB / 438.2 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.4011, allocations: 2.741 MB / 440.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.4012, allocations: 0 / 440.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.4014, allocations: 95.97 kB / 441 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.4015, allocations: 103.6 kB / 441.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.4054, allocations: 2.181 MB / 443.3 MB, free: 10.88 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.01351/0.4189, allocations: 10.22 MB / 453.5 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.4216, allocations: 1.883 MB / 455.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.4231, allocations: 1.021 MB / 456.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.4301, allocations: 4.72 MB / 461.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/0.4323, allocations: 1.427 MB / 462.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 3.787e-06/0.4323, allocations: 4 kB / 462.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01297/0.4453, allocations: 6.229 MB / 468.8 MB, free: 396 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003212/0.4456, allocations: 0.5469 MB / 469.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.4479, allocations: 1.651 MB / 471 MB, free: 14.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.4481, allocations: 113.7 kB / 471.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.4489, allocations: 0.914 MB / 472 MB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.4495, allocations: 0.6084 MB / 472.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008075/0.4503, allocations: 0.548 MB / 473.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4505, allocations: 305.1 kB / 473.5 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.4522, allocations: 0.9225 MB / 474.4 MB, free: 10.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.4543, allocations: 1.593 MB / 476 MB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/0.4578, allocations: 2.418 MB / 478.4 MB, free: 6.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.4578, allocations: 8 kB / 478.4 MB, free: 6.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005936/0.4638, allocations: 3.066 MB / 481.5 MB, free: 2.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/0.4639, allocations: 93.09 kB / 481.6 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.4639, allocations: 24.09 kB / 481.6 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.4651, allocations: 0.5801 MB / 482.2 MB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.4666, allocations: 387.2 kB / 482.6 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.4688, allocations: 2.262 MB / 484.8 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.4706, allocations: 128 kB / 485 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.4709, allocations: 120 kB / 485.1 MB, free: 15.27 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.001311/0.4722, allocations: 0.7637 MB / 485.8 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.4727, allocations: 206.7 kB / 486 MB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.478, allocations: 3.02 MB / 489.1 MB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.478, allocations: 28 kB / 489.1 MB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.478, allocations: 0 / 489.1 MB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.478, allocations: 11.95 kB / 489.1 MB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008816/0.4869, allocations: 5.372 MB / 494.5 MB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4869, allocations: 0 / 494.5 MB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4879, allocations: 251.5 kB / 494.7 MB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.489, allocations: 0.5606 MB / 495.3 MB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.4892, allocations: 59.95 kB / 495.3 MB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.4913, allocations: 2.231 MB / 497.6 MB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4913, allocations: 4.062 kB / 497.6 MB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0069/0.4982, allocations: 4.06 MB / 0.4899 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.4998, allocations: 0.5229 MB / 0.4904 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/0.5003, allocations: 59.98 kB / 0.4904 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5014, allocations: 103.9 kB / 0.4905 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/0.5019, allocations: 245.7 kB / 0.4908 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.5021, allocations: 88.08 kB / 0.4909 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.5036, allocations: 1.043 MB / 0.4919 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5036, allocations: 0 / 0.4919 GB, free: 12.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001958/0.5055, allocations: 0.679 MB / 0.4925 GB, free: 11.66 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.008599/0.5141, allocations: 5.363 MB / 0.4978 GB, free: 6.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005182/0.5194, allocations: 2.662 MB / 0.5004 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.5194, allocations: 11.86 kB / 0.5004 GB, free: 3.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.522, allocations: 1.451 MB / 0.5018 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/0.5254, allocations: 0.7425 MB / 0.5025 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/0.5557, allocations: 18.13 MB / 0.5202 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.557, allocations: 1.575 MB / 0.5218 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00193/0.5589, allocations: 0.5569 MB / 0.5223 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.5603, allocations: 0.9288 MB / 0.5232 GB, free: 11.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5603, allocations: 0 / 0.5232 GB, free: 11.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3162/0.8765, allocations: 61.93 MB / 0.5837 GB, free: 143.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.25, allocations: 15.39 kB / 0.5837 GB, free: 143.7 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