Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: 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_4.0.0_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_4.0.0_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.001187/0.001187, allocations: 112.6 kB / 17.74 MB, free: 5.227 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.001287/0.001287, allocations: 184.5 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2875, allocations: 49.44 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0263/0.3139, allocations: 27.76 MB / 429.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3262, allocations: 7.486 MB / 436.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3285, allocations: 55.62 kB / 436.7 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.3317, allocations: 1.006 MB / 437.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.3363, allocations: 1.539 MB / 439.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00583/0.3421, allocations: 2.256 MB / 441.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006586/0.3487, allocations: 5.004 MB / 446.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003685/0.3524, allocations: 2.088 MB / 448.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.3562, allocations: 1.772 MB / 450.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.3592, allocations: 1.661 MB / 452 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.3603, allocations: 308 kB / 452.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.3638, allocations: 0.9325 MB / 453.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.3656, allocations: 0.8531 MB / 454.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.3691, allocations: 1.388 MB / 455.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.3759, allocations: 4.184 MB / 459.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3759, allocations: 4 kB / 459.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3759, allocations: 3.984 kB / 459.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.93e-05/0.376, allocations: 4 kB / 459.7 MB, free: 14.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006444/0.3825, allocations: 3.094 MB / 462.8 MB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3825, allocations: 8.031 kB / 462.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.3834, allocations: 293.8 kB / 463.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.3857, allocations: 1.476 MB / 464.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.386, allocations: 307.5 kB / 464.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.3863, allocations: 220 kB / 465.1 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.3911, allocations: 2.765 MB / 467.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.3912, allocations: 7.938 kB / 467.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.3914, allocations: 95.98 kB / 468 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.3916, allocations: 99.69 kB / 468 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.3958, allocations: 2.208 MB / 470.3 MB, free: 3.574 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.4104, allocations: 10.26 MB / 480.5 MB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003461/0.4139, allocations: 2.062 MB / 482.6 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.4158, allocations: 1.098 MB / 483.7 MB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008709/0.4245, allocations: 5.491 MB / 489.2 MB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/0.427, allocations: 1.531 MB / 490.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 3.907e-06/0.427, allocations: 0 / 490.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01575/0.4428, allocations: 8.509 MB / 499.2 MB, free: 5.469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004062/0.4432, allocations: 0.7633 MB / 500 MB, free: 4.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.4456, allocations: 1.638 MB / 0.4898 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004618/0.4461, allocations: 125.7 kB / 0.49 GB, free: 2.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/0.447, allocations: 0.8811 MB / 0.4908 GB, free: 1.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.4476, allocations: 0.6052 MB / 0.4914 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008166/0.4485, allocations: 0.5679 MB / 0.492 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4486, allocations: 305.1 kB / 0.4923 GB, free: 380 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.4503, allocations: 0.9618 MB / 0.4932 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.4526, allocations: 1.686 MB / 0.4948 GB, free: 13.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.4564, allocations: 2.583 MB / 0.4974 GB, free: 10.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.4564, allocations: 8 kB / 0.4974 GB, free: 10.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005848/0.4622, allocations: 3.181 MB / 0.5005 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.4624, allocations: 109 kB / 0.5006 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.4624, allocations: 16 kB / 0.5006 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4636, allocations: 0.5882 MB / 0.5012 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.4651, allocations: 399.2 kB / 0.5016 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.4674, allocations: 2.262 MB / 0.5038 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4692, allocations: 123.8 kB / 0.5039 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.4694, allocations: 132 kB / 0.504 GB, free: 3.609 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition13,$whenCondition14,$whenCondition15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001427/0.4709, allocations: 0.8116 MB / 0.5048 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/0.4713, allocations: 209.5 kB / 0.505 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0056/0.4769, allocations: 3.074 MB / 0.508 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/0.477, allocations: 24 kB / 0.508 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.477, allocations: 8 kB / 0.508 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.4771, allocations: 15.89 kB / 0.5081 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/0.487, allocations: 5.484 MB / 0.5134 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.487, allocations: 3.938 kB / 0.5134 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4881, allocations: 255.5 kB / 0.5137 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.4892, allocations: 0.5489 MB / 0.5142 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/0.4894, allocations: 75.94 kB / 0.5143 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.4916, allocations: 2.231 MB / 0.5164 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4916, allocations: 4.125 kB / 0.5164 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/0.499, allocations: 4.273 MB / 0.5206 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.5003, allocations: 0.5294 MB / 0.5211 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.5007, allocations: 76.11 kB / 0.5212 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5019, allocations: 111.8 kB / 0.5213 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005436/0.5024, allocations: 257.7 kB / 0.5216 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.5026, allocations: 95.94 kB / 0.5217 GB, free: 1.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.5041, allocations: 1.035 MB / 0.5227 GB, free: 124 kB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5041, allocations: 0 / 0.5227 GB, free: 124 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002501/0.5066, allocations: 0.6951 MB / 0.5233 GB, free: 15.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001953/0.5086, allocations: 0.8611 MB / 0.5242 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005322/0.5139, allocations: 2.85 MB / 0.527 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.514, allocations: 8.062 kB / 0.527 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.5168, allocations: 1.653 MB / 0.5286 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/0.5204, allocations: 0.7711 MB / 0.5293 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.5291, allocations: 4.502 MB / 0.5337 GB, free: 4.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.5303, allocations: 1.587 MB / 0.5353 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/0.5312, allocations: 247.3 kB / 0.5355 GB, free: 2.953 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5312, allocations: 0 / 0.5355 GB, free: 2.953 MB / 462.1 MB Notification: Performance of Templates: time 0.3231/0.8544, allocations: 68.32 MB / 0.6022 GB, free: 78.72 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches