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: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.001378/0.001378, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.482/1.482, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001105/0.001105, allocations: 55.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09713, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2213/0.3185, allocations: 27.73 MB / 402.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.3309, allocations: 7.318 MB / 410.2 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.333, allocations: 51.34 kB / 410.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.3357, allocations: 1.013 MB / 411.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.3396, allocations: 1.572 MB / 412.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.3453, allocations: 2.215 MB / 415 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006717/0.352, allocations: 4.978 MB / 420 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003061/0.3551, allocations: 2.062 MB / 422.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.3581, allocations: 1.756 MB / 423.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/0.3602, allocations: 1.63 MB / 425.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.3606, allocations: 308.5 kB / 425.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.3627, allocations: 0.9243 MB / 426.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.3633, allocations: 0.8297 MB / 427.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.3645, allocations: 1.357 MB / 428.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.369, allocations: 4.155 MB / 433 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.369, allocations: 4 kB / 433 MB, free: 5.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3691, allocations: 0 / 433 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.299e-05/0.3691, allocations: 0 / 433 MB, free: 5.531 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.005222/0.3743, allocations: 3.005 MB / 436 MB, free: 2.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3744, allocations: 8.031 kB / 436 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000727/0.3751, allocations: 293.8 kB / 436.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.3771, allocations: 1.444 MB / 437.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.3774, allocations: 303.3 kB / 438.1 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.3777, allocations: 223.9 kB / 438.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.382, allocations: 2.734 MB / 441 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.3821, allocations: 7.938 kB / 441 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.3823, allocations: 91.97 kB / 441.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.3824, allocations: 103.6 kB / 441.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.3862, allocations: 2.181 MB / 443.4 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.01299/0.3992, allocations: 10.19 MB / 453.6 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.4019, allocations: 1.903 MB / 455.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4033, allocations: 1.018 MB / 456.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006229/0.4096, allocations: 4.712 MB / 461.2 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002038/0.4116, allocations: 1.423 MB / 462.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 3.306e-06/0.4116, allocations: 0 / 462.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01213/0.4238, allocations: 6.206 MB / 468.9 MB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.4241, allocations: 0.5469 MB / 469.4 MB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.4262, allocations: 1.646 MB / 471 MB, free: 14.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.4264, allocations: 109.7 kB / 471.2 MB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.4271, allocations: 0.8961 MB / 472.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004623/0.4275, allocations: 0.5704 MB / 472.6 MB, free: 12.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007226/0.4283, allocations: 0.5518 MB / 473.2 MB, free: 11.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.4284, allocations: 309.1 kB / 473.5 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.4299, allocations: 0.9147 MB / 474.4 MB, free: 10.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.432, allocations: 1.597 MB / 476 MB, free: 8.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.4352, allocations: 2.422 MB / 478.4 MB, free: 6.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4352, allocations: 4 kB / 478.4 MB, free: 6.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005415/0.4406, allocations: 3.056 MB / 481.5 MB, free: 2.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.4407, allocations: 97.09 kB / 481.6 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4408, allocations: 16 kB / 481.6 MB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.442, allocations: 0.5802 MB / 482.2 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.4435, allocations: 395.5 kB / 482.5 MB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.4459, allocations: 2.25 MB / 484.8 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4474, allocations: 127.9 kB / 484.9 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.4477, allocations: 120 kB / 485 MB, free: 15.29 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.001218/0.4489, allocations: 0.7676 MB / 485.8 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.4493, allocations: 205.6 kB / 486 MB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.4548, allocations: 3.023 MB / 489 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.4548, allocations: 27.94 kB / 489.1 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4548, allocations: 8 kB / 489.1 MB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.4548, allocations: 11.95 kB / 489.1 MB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009112/0.464, allocations: 5.356 MB / 494.4 MB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.464, allocations: 0 / 494.4 MB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.4651, allocations: 239.6 kB / 494.7 MB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.4663, allocations: 0.5683 MB / 495.2 MB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/0.4665, allocations: 63.95 kB / 495.3 MB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.4687, allocations: 2.227 MB / 497.5 MB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4687, allocations: 0 / 497.5 MB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/0.4757, allocations: 4.059 MB / 0.4898 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4769, allocations: 0.51 MB / 0.4903 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005777/0.4775, allocations: 63.98 kB / 0.4904 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.4788, allocations: 95.92 kB / 0.4905 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005546/0.4794, allocations: 245.7 kB / 0.4907 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/0.4797, allocations: 91.94 kB / 0.4908 GB, free: 13.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001659/0.4814, allocations: 1.043 MB / 0.4918 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4814, allocations: 0 / 0.4918 GB, free: 12.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002156/0.4835, allocations: 0.6755 MB / 0.4925 GB, free: 11.7 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.002079/0.4856, allocations: 0.8343 MB / 0.4933 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.4912, allocations: 2.654 MB / 0.4959 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.4913, allocations: 4.672 kB / 0.4959 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/0.4941, allocations: 1.462 MB / 0.4973 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003854/0.498, allocations: 0.7504 MB / 0.498 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/0.5075, allocations: 4.327 MB / 0.5023 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.5093, allocations: 1.575 MB / 0.5038 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002326/0.5116, allocations: 0.5608 MB / 0.5044 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000822/0.5125, allocations: 231.3 kB / 0.5046 GB, free: 15.15 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5125, allocations: 0 / 0.5046 GB, free: 15.15 MB / 446.1 MB Notification: Performance of Templates: time 0.07486/0.5874, allocations: 43.27 MB / 0.5468 GB, free: 3.789 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (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 & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/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