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.0008365/0.0008365, allocations: 92.25 kB / 16.65 MB, free: 6.59 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.001033/0.001033, allocations: 185.3 kB / 17.57 MB, free: 6.199 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.465/1.465, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 11.94 kB / 301.4 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08575, allocations: 50.41 MB / 351.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1887/0.2745, allocations: 27.95 MB / 379.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.2848, allocations: 7.676 MB / 387.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.2867, allocations: 59.62 kB / 387.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.2889, allocations: 0.8772 MB / 388.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.2926, allocations: 1.428 MB / 389.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004955/0.2976, allocations: 2.06 MB / 391.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006712/0.3043, allocations: 5.988 MB / 397.9 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.3068, allocations: 1.766 MB / 399.6 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00229/0.3091, allocations: 1.427 MB / 401.1 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.3112, allocations: 1.52 MB / 402.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.3116, allocations: 119.9 kB / 402.7 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3136, allocations: 0.7494 MB / 403.4 MB, free: 476 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005248/0.3141, allocations: 0.6636 MB / 404.1 MB, free: 8 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.3157, allocations: 1.199 MB / 405.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.3205, allocations: 3.806 MB / 409.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3205, allocations: 0 / 409.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3205, allocations: 4 kB / 409.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3206, allocations: 0 / 409.1 MB, free: 12.16 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005577/0.3262, allocations: 2.545 MB / 411.7 MB, free: 9.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3263, allocations: 12.03 kB / 411.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.3271, allocations: 285.8 kB / 412 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.3294, allocations: 1.429 MB / 413.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/0.3297, allocations: 315.6 kB / 413.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.33, allocations: 220 kB / 413.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.3346, allocations: 2.769 MB / 416.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/0.3347, allocations: 11.88 kB / 416.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.3349, allocations: 87.98 kB / 416.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.335, allocations: 99.69 kB / 416.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003917/0.3389, allocations: 2.2 MB / 419.1 MB, free: 1.824 MB / 318.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.01362/0.3526, allocations: 10.36 MB / 429.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.3555, allocations: 2.08 MB / 431.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.3572, allocations: 1.098 MB / 432.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007975/0.3652, allocations: 5.514 MB / 438.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/0.3675, allocations: 1.527 MB / 439.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 3.556e-06/0.3675, allocations: 0 / 439.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01555/0.3831, allocations: 8.536 MB / 448.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003226/0.3834, allocations: 0.7633 MB / 448.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.3856, allocations: 1.63 MB / 450.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.3859, allocations: 129.9 kB / 450.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.3866, allocations: 0.8851 MB / 451.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/0.3872, allocations: 0.6052 MB / 452.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.3876, allocations: 319.3 kB / 452.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.162e-05/0.3877, allocations: 305.1 kB / 452.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.3895, allocations: 0.9657 MB / 453.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.3918, allocations: 1.689 MB / 455.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003769/0.3956, allocations: 2.586 MB / 458 MB, free: 8.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.3956, allocations: 4 kB / 458.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005964/0.4016, allocations: 3.176 MB / 461.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/0.4017, allocations: 109.1 kB / 461.3 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.4017, allocations: 20 kB / 461.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.403, allocations: 0.5849 MB / 461.9 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.4047, allocations: 399.1 kB / 462.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/0.4073, allocations: 2.266 MB / 464.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.4093, allocations: 163.7 kB / 464.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.4097, allocations: 136 kB / 464.9 MB, free: 1.883 MB / 366.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.condition,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.condition,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.condition,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.condition,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.001571/0.4112, allocations: 0.7938 MB / 465.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/0.4118, allocations: 209.6 kB / 465.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006243/0.418, allocations: 3.078 MB / 469 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.4181, allocations: 24 kB / 469 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.4181, allocations: 4 kB / 469 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.4182, allocations: 11.95 kB / 469 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.4286, allocations: 5.526 MB / 474.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.4287, allocations: 4 kB / 474.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.4298, allocations: 251.5 kB / 474.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.431, allocations: 0.5567 MB / 475.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/0.4313, allocations: 71.95 kB / 475.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.4335, allocations: 2.239 MB / 477.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4335, allocations: 3.984 kB / 477.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007776/0.4413, allocations: 4.275 MB / 481.9 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.4426, allocations: 0.5528 MB / 482.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005778/0.4432, allocations: 79.97 kB / 482.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.4448, allocations: 139.8 kB / 482.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006324/0.4455, allocations: 257.6 kB / 482.9 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002761/0.4458, allocations: 95.95 kB / 483 MB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.4477, allocations: 1.035 MB / 484.1 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4477, allocations: 0 / 484.1 MB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002732/0.4504, allocations: 0.6951 MB / 484.8 MB, free: 13.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.active,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.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,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.condition,tankController.T2.enableFire,tankController.T3.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.condition,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.002177/0.4526, allocations: 0.8658 MB / 485.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006212/0.4588, allocations: 2.822 MB / 488.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.4589, allocations: 4.562 kB / 488.5 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.4625, allocations: 1.717 MB / 490.2 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/0.4674, allocations: 0.7269 MB / 490.9 MB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.4778, allocations: 5.434 MB / 496.3 MB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.4794, allocations: 1.595 MB / 497.9 MB, free: 468 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002568/0.482, allocations: 0.5566 MB / 498.5 MB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009818/0.483, allocations: 219.3 kB / 498.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.483, allocations: 0 / 498.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of Templates: time 0.07445/0.5575, allocations: 41.08 MB / 0.5271 GB, free: 6.887 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/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