Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 179.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007558/0.0007559, allocations: 89.33 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 12 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2424, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02188/0.2643, allocations: 26.38 MB / 400.9 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.2733, allocations: 7.19 MB / 408.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.2754, allocations: 59.56 kB / 408.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.2782, allocations: 0.8317 MB / 409 MB, free: 14.31 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003946/0.2821, allocations: 1.428 MB / 410.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.2868, allocations: 1.638 MB / 412.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006014/0.2928, allocations: 5.163 MB / 417.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.2961, allocations: 1.637 MB / 418.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.2994, allocations: 1.42 MB / 420.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/0.302, allocations: 1.432 MB / 421.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.3031, allocations: 120 kB / 421.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.3057, allocations: 0.5618 MB / 422.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.3068, allocations: 0.6073 MB / 423 MB, free: 264 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3079, allocations: 476.5 kB / 423.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.3122, allocations: 3.013 MB / 426.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3122, allocations: 0 / 426.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3122, allocations: 3.938 kB / 426.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001364/0.3124, allocations: 0 / 426.5 MB, free: 12.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.00597/0.3184, allocations: 2.471 MB / 429 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3184, allocations: 12.03 kB / 429 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.3195, allocations: 284.9 kB / 429.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.3222, allocations: 1.366 MB / 430.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.3225, allocations: 299.2 kB / 430.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005408/0.323, allocations: 219.9 kB / 431.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005599/0.3287, allocations: 2.718 MB / 433.8 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/0.3288, allocations: 7.938 kB / 433.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.3291, allocations: 91.98 kB / 433.9 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.3292, allocations: 99.69 kB / 434 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/0.3337, allocations: 2.161 MB / 436.2 MB, free: 2.684 MB / 314.7 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.0148/0.3485, allocations: 10.29 MB / 446.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.3517, allocations: 1.881 MB / 448.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.3535, allocations: 1.014 MB / 449.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007671/0.3611, allocations: 4.723 MB / 454.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/0.3635, allocations: 1.426 MB / 455.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=193): time 6.432e-06/0.3635, allocations: 0 / 455.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=203): time 0.01348/0.377, allocations: 6.214 MB / 461.8 MB, free: 8.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002674/0.3773, allocations: 0.5469 MB / 462.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.38, allocations: 1.634 MB / 463.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.3803, allocations: 109.7 kB / 464 MB, free: 5.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.3811, allocations: 0.9038 MB / 464.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006053/0.3817, allocations: 0.5704 MB / 465.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.3819, allocations: 52 kB / 465.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3821, allocations: 407.2 kB / 466 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.3839, allocations: 0.9069 MB / 466.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.386, allocations: 1.582 MB / 468.5 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.3879, allocations: 1.069 MB / 469.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.3879, allocations: 8 kB / 469.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005752/0.3936, allocations: 3.025 MB / 472.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.3937, allocations: 101 kB / 472.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.3938, allocations: 28.16 kB / 472.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.395, allocations: 0.5801 MB / 473.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3965, allocations: 391.2 kB / 473.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.3986, allocations: 2.258 MB / 475.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.4003, allocations: 155.9 kB / 476.1 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/0.4006, allocations: 120 kB / 476.2 MB, free: 9.098 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.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,$whenCondition5,$whenCondition4,$whenCondition6,$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,$whenCondition2,$whenCondition1,$whenCondition3,$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,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,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.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,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 (311): * Single equations (assignments): 305 * 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.001235/0.4018, allocations: 0.7598 MB / 476.9 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.4022, allocations: 209.5 kB / 477.1 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/0.4077, allocations: 3.02 MB / 480.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.4077, allocations: 31.97 kB / 480.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4077, allocations: 0 / 480.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.4077, allocations: 11.91 kB / 480.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009548/0.4173, allocations: 5.382 MB / 485.6 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4173, allocations: 0 / 485.6 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4184, allocations: 243.6 kB / 485.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.4195, allocations: 0.5567 MB / 486.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.4197, allocations: 71.91 kB / 486.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.4218, allocations: 2.223 MB / 488.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4218, allocations: 128 / 488.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.4284, allocations: 4.041 MB / 492.7 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.4295, allocations: 0.5333 MB / 493.2 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.43, allocations: 63.98 kB / 493.3 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.4313, allocations: 131.8 kB / 493.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004738/0.4318, allocations: 273.5 kB / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.432, allocations: 83.95 kB / 493.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.4335, allocations: 1.031 MB / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4335, allocations: 0 / 494.8 MB, free: 6.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002013/0.4355, allocations: 0.6717 MB / 495.5 MB, free: 5.457 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.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,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * If-equations: 0 * Equation systems (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.001643/0.4372, allocations: 0.8042 MB / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004868/0.4421, allocations: 2.631 MB / 498.9 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4421, allocations: 4 kB / 498.9 MB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.4447, allocations: 1.427 MB / 0.4886 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1386/0.5833, allocations: 0.721 MB / 0.4893 GB, free: 112 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.5912, allocations: 5.085 MB / 0.4943 GB, free: 110 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.5924, allocations: 1.572 MB / 0.4958 GB, free: 109.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008746/0.5932, allocations: 239.4 kB / 0.4961 GB, free: 109.3 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5933, allocations: 0 / 0.4961 GB, free: 109.3 MB / 378.7 MB Notification: Performance of Templates: time 0.06424/0.6575, allocations: 66.8 MB / 0.5613 GB, free: 48.52 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches