Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009689/0.0009689, allocations: 98.66 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 193.7 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002235, allocations: 8 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08534, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.1762/0.2616, allocations: 26.59 MB / 385.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.2716, allocations: 7.433 MB / 392.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.2734, allocations: 60.28 kB / 392.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.2756, allocations: 0.8361 MB / 393.5 MB, free: 2.203 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003723/0.2793, allocations: 1.465 MB / 395 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.2839, allocations: 1.582 MB / 396.6 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007165/0.2911, allocations: 5.237 MB / 401.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.2942, allocations: 1.662 MB / 403.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.2973, allocations: 1.446 MB / 404.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.3, allocations: 1.465 MB / 406.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.3004, allocations: 116.8 kB / 406.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.3023, allocations: 0.5515 MB / 407.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006171/0.3029, allocations: 0.6458 MB / 407.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.3035, allocations: 479.9 kB / 408.2 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.3065, allocations: 3.042 MB / 411.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3065, allocations: 0 / 411.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3065, allocations: 0 / 411.2 MB, free: 7.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.3066, allocations: 4 kB / 411.2 MB, free: 7.602 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.004782/0.3114, allocations: 2.58 MB / 413.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3114, allocations: 8.031 kB / 413.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3127, allocations: 328.7 kB / 414.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.3148, allocations: 1.382 MB / 415.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/0.3151, allocations: 311.2 kB / 415.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.3154, allocations: 228 kB / 416 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/0.3199, allocations: 2.734 MB / 418.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.3199, allocations: 3.938 kB / 418.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.3201, allocations: 95.97 kB / 418.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.3203, allocations: 99.69 kB / 419 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.324, allocations: 2.177 MB / 421.1 MB, free: 13.29 MB / 334.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.01368/0.3377, allocations: 11.28 MB / 432.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.3405, allocations: 2.021 MB / 434.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.3421, allocations: 1.075 MB / 435.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007228/0.3493, allocations: 5.357 MB / 440.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/0.3515, allocations: 1.5 MB / 442.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 3.727e-06/0.3515, allocations: 0 / 442.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=215): time 0.01496/0.3665, allocations: 8.524 MB / 450.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000329/0.3668, allocations: 0.7633 MB / 451.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.3689, allocations: 1.647 MB / 453.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.3692, allocations: 129.7 kB / 453.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007133/0.3699, allocations: 0.9007 MB / 454.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/0.3705, allocations: 0.6091 MB / 455 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.3706, allocations: 52 kB / 455 MB, free: 10.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3708, allocations: 411.6 kB / 455.4 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.3724, allocations: 0.9501 MB / 456.4 MB, free: 8.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.3745, allocations: 1.674 MB / 458 MB, free: 6.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.3763, allocations: 1.131 MB / 459.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3764, allocations: 4 kB / 459.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005125/0.3815, allocations: 3.103 MB / 462.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.023e-05/0.3816, allocations: 110 kB / 462.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.3816, allocations: 20.09 kB / 462.4 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3828, allocations: 0.5956 MB / 463 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.3842, allocations: 391.2 kB / 463.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.3863, allocations: 2.262 MB / 465.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.3877, allocations: 175.7 kB / 465.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.388, allocations: 116 kB / 465.9 MB, free: 14.67 MB / 382.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],$PRE.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition14,$whenCondition13,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition3,$whenCondition2,$whenCondition1,tankController.s1.active,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.001192/0.3892, allocations: 0.809 MB / 466.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.3895, allocations: 209.6 kB / 466.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/0.3947, allocations: 3.015 MB / 469.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.3948, allocations: 31.97 kB / 470 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3948, allocations: 8 kB / 470 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.3948, allocations: 11.95 kB / 470 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00826/0.4031, allocations: 5.421 MB / 475.4 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4031, allocations: 12 kB / 475.4 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.4042, allocations: 243.6 kB / 475.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.4054, allocations: 0.5528 MB / 476.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/0.4055, allocations: 63.95 kB / 476.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.4076, allocations: 2.231 MB / 478.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4076, allocations: 0 / 478.5 MB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.4141, allocations: 4.169 MB / 482.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.4154, allocations: 0.5412 MB / 483.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/0.4158, allocations: 71.98 kB / 483.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.417, allocations: 143.8 kB / 483.4 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/0.4175, allocations: 265.5 kB / 483.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/0.4177, allocations: 95.94 kB / 483.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001541/0.4192, allocations: 1.04 MB / 484.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4192, allocations: 0 / 484.8 MB, free: 11.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002175/0.4214, allocations: 0.6834 MB / 485.5 MB, free: 10.73 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: 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.localActive,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.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.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,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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/0.4231, allocations: 0.8358 MB / 486.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004831/0.4279, allocations: 2.784 MB / 489.1 MB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.428, allocations: 4 kB / 489.1 MB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.4308, allocations: 1.684 MB / 490.8 MB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.434, allocations: 0.7374 MB / 491.6 MB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00825/0.4423, allocations: 5.181 MB / 496.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.4434, allocations: 1.595 MB / 498.3 MB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001892/0.4453, allocations: 0.537 MB / 498.9 MB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/0.4459, allocations: 211.3 kB / 499.1 MB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4459, allocations: 0 / 499.1 MB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.06048/0.5063, allocations: 39.24 MB / 0.5257 GB, free: 6.137 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches