Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.84 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.25, allocations: 53.31 MB / 420.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02998/0.28, allocations: 28.1 MB / 448.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.2923, allocations: 7.595 MB / 456.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.2941, allocations: 55.69 kB / 456.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.2967, allocations: 1.025 MB / 457.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.3008, allocations: 1.64 MB / 459.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.3061, allocations: 2.153 MB / 461.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006777/0.3129, allocations: 5.054 MB / 466.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.3157, allocations: 1.791 MB / 468.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/0.3186, allocations: 1.807 MB / 469.9 MB, free: 6.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.3212, allocations: 1.728 MB / 471.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004963/0.3217, allocations: 315.9 kB / 471.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.3238, allocations: 0.9793 MB / 472.9 MB, free: 3.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008626/0.3246, allocations: 0.8685 MB / 473.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.3262, allocations: 1.392 MB / 475.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.3315, allocations: 4.297 MB / 479.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3315, allocations: 0 / 479.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3315, allocations: 0 / 479.4 MB, free: 13.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.3316, allocations: 0 / 479.4 MB, free: 13.36 MB / 398.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.006228/0.3378, allocations: 3.192 MB / 482.6 MB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3378, allocations: 8.031 kB / 482.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3394, allocations: 371 kB / 483 MB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.3419, allocations: 1.489 MB / 484.5 MB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.3422, allocations: 315.4 kB / 484.8 MB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.3425, allocations: 224 kB / 485 MB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004771/0.3473, allocations: 2.742 MB / 487.8 MB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.3474, allocations: 7.938 kB / 487.8 MB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.3476, allocations: 91.98 kB / 487.9 MB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.3477, allocations: 103.7 kB / 488 MB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.3518, allocations: 2.189 MB / 490.2 MB, free: 2.266 MB / 398.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.01596/0.3677, allocations: 11.21 MB / 0.4896 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.3708, allocations: 1.899 MB / 0.4915 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.3725, allocations: 0.9735 MB / 0.4924 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008133/0.3806, allocations: 5.335 MB / 0.4976 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002364/0.383, allocations: 1.516 MB / 0.4991 GB, free: 12.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 3.286e-06/0.383, allocations: 0 / 0.4991 GB, free: 12.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.01648/0.3995, allocations: 8.705 MB / 0.5076 GB, free: 3.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005272/0.4, allocations: 0.7633 MB / 0.5084 GB, free: 2.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.4025, allocations: 1.671 MB / 0.51 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/0.403, allocations: 125.7 kB / 0.5101 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009071/0.4039, allocations: 0.9147 MB / 0.511 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/0.4046, allocations: 0.6356 MB / 0.5116 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008848/0.4055, allocations: 0.568 MB / 0.5122 GB, free: 14.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4056, allocations: 301.1 kB / 0.5125 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.4074, allocations: 0.954 MB / 0.5134 GB, free: 13.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.4099, allocations: 1.67 MB / 0.515 GB, free: 11.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.4139, allocations: 2.575 MB / 0.5175 GB, free: 8.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4139, allocations: 4 kB / 0.5175 GB, free: 8.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.006337/0.4202, allocations: 3.141 MB / 0.5206 GB, free: 5.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4203, allocations: 109.1 kB / 0.5207 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.4204, allocations: 24.16 kB / 0.5207 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/0.4218, allocations: 0.5723 MB / 0.5213 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.4233, allocations: 395.2 kB / 0.5217 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.4262, allocations: 2.266 MB / 0.5239 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.428, allocations: 124 kB / 0.524 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.4283, allocations: 120 kB / 0.5241 GB, free: 1.617 MB / 446.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.001559/0.4298, allocations: 0.8013 MB / 0.5249 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000684/0.4305, allocations: 226.6 kB / 0.5251 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/0.4375, allocations: 3.012 MB / 0.5281 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-05/0.4375, allocations: 31.98 kB / 0.5281 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.4375, allocations: 7.984 kB / 0.5281 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.4375, allocations: 11.97 kB / 0.5281 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.4493, allocations: 5.395 MB / 0.5334 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.4493, allocations: 4 kB / 0.5334 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.4506, allocations: 243.5 kB / 0.5336 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.452, allocations: 0.5645 MB / 0.5342 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/0.4523, allocations: 67.95 kB / 0.5342 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.455, allocations: 2.223 MB / 0.5364 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.455, allocations: 7.938 kB / 0.5364 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008068/0.4631, allocations: 4.188 MB / 0.5405 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2207/0.6838, allocations: 0.5231 MB / 0.541 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009563/0.6848, allocations: 79.55 kB / 0.5411 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.6861, allocations: 102.8 kB / 0.5412 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/0.6868, allocations: 250.2 kB / 0.5414 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000272/0.687, allocations: 91.11 kB / 0.5415 GB, free: 121.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002306/0.6893, allocations: 1.057 MB / 0.5425 GB, free: 121.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6893, allocations: 1.094 kB / 0.5425 GB, free: 121.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002792/0.6921, allocations: 0.6893 MB / 0.5432 GB, free: 121.3 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: 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.002226/0.6943, allocations: 0.8518 MB / 0.544 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00492/0.6993, allocations: 2.632 MB / 0.5466 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.6993, allocations: 4.859 kB / 0.5466 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.7019, allocations: 1.528 MB / 0.5481 GB, free: 119.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.705, allocations: 0.7747 MB / 0.5489 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007249/0.7122, allocations: 4.503 MB / 0.5533 GB, free: 117.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.7131, allocations: 1.602 MB / 0.5548 GB, free: 116.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001672/0.7147, allocations: 0.5366 MB / 0.5554 GB, free: 116.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.7153, allocations: 219.1 kB / 0.5556 GB, free: 116.2 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7153, allocations: 0 / 0.5556 GB, free: 116.2 MB / 462.1 MB Notification: Performance of Templates: time 0.06019/0.7754, allocations: 43.97 MB / 0.5985 GB, free: 72.96 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches