Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_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_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 191.6 kB / 17.38 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007215/0.0007215, allocations: 98.94 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002552, allocations: 8 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2044, allocations: 51.29 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01729/0.2218, allocations: 26.6 MB / 434.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.2322, allocations: 7.474 MB / 442.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.2339, allocations: 63.56 kB / 442.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.2362, allocations: 0.8317 MB / 443 MB, free: 8.648 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003949/0.2401, allocations: 1.508 MB / 444.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.2456, allocations: 1.746 MB / 446.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00616/0.2517, allocations: 5.245 MB / 451.5 MB, free: 148 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.255, allocations: 1.772 MB / 453.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.2578, allocations: 1.432 MB / 454.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.2601, allocations: 1.463 MB / 456.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007091/0.2609, allocations: 120 kB / 456.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.2631, allocations: 0.7294 MB / 457 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.2641, allocations: 0.6385 MB / 457.7 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002019/0.2662, allocations: 1.148 MB / 458.8 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.27, allocations: 3.083 MB / 461.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.27, allocations: 0 / 461.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.27, allocations: 4 kB / 461.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.2701, allocations: 0 / 461.9 MB, free: 5.688 MB / 330.7 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.005744/0.2759, allocations: 2.56 MB / 464.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.276, allocations: 8.031 kB / 464.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2771, allocations: 293.7 kB / 464.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.28, allocations: 1.441 MB / 466.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.2804, allocations: 311.5 kB / 466.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.2809, allocations: 224 kB / 466.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005401/0.2863, allocations: 2.754 MB / 469.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.2864, allocations: 7.938 kB / 469.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/0.2868, allocations: 99.97 kB / 469.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.2869, allocations: 99.69 kB / 469.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.2912, allocations: 2.185 MB / 471.8 MB, free: 11.34 MB / 346.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.01488/0.3061, allocations: 10.36 MB / 482.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.3093, allocations: 2.065 MB / 484.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.3112, allocations: 1.094 MB / 485.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008854/0.3201, allocations: 5.506 MB / 490.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002422/0.3225, allocations: 1.531 MB / 492.4 MB, free: 5.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 4.879e-06/0.3226, allocations: 0 / 492.4 MB, free: 5.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=217): time 0.01651/0.3391, allocations: 8.547 MB / 0.4892 GB, free: 13.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003393/0.3395, allocations: 0.7633 MB / 0.49 GB, free: 12.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.3419, allocations: 1.651 MB / 0.4916 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003923/0.3423, allocations: 129.7 kB / 0.4917 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/0.3431, allocations: 0.8891 MB / 0.4926 GB, free: 9.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/0.3439, allocations: 0.613 MB / 0.4932 GB, free: 8.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.3441, allocations: 52 kB / 0.4932 GB, free: 8.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3443, allocations: 407.6 kB / 0.4936 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.3462, allocations: 0.9578 MB / 0.4945 GB, free: 7.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.3485, allocations: 1.678 MB / 0.4962 GB, free: 5.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.3522, allocations: 2.57 MB / 0.4987 GB, free: 2.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.3522, allocations: 8 kB / 0.4987 GB, free: 2.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.1654/0.5176, allocations: 3.153 MB / 0.5018 GB, free: 93.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.5178, allocations: 107 kB / 0.5019 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/0.5178, allocations: 21.97 kB / 0.5019 GB, free: 93.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.5192, allocations: 0.5785 MB / 0.5025 GB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.521, allocations: 402 kB / 0.5028 GB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.5227, allocations: 2.252 MB / 0.505 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.5246, allocations: 168.5 kB / 0.5052 GB, free: 91.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.5248, allocations: 127.5 kB / 0.5053 GB, free: 91.7 MB / 378.7 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],$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,$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,shut.pre_reset[1],shut.pre_reset[2],$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,stop.pre_reset[1],stop.pre_reset[2],$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,start.pre_reset[1],start.pre_reset[2],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 (325): * Single equations (assignments): 319 * 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.001261/0.5261, allocations: 0.812 MB / 0.5061 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.5265, allocations: 213.1 kB / 0.5063 GB, free: 91.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/0.5317, allocations: 3.071 MB / 0.5093 GB, free: 90.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.5318, allocations: 27.52 kB / 0.5093 GB, free: 90.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.5318, allocations: 2.844 kB / 0.5093 GB, free: 90.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.5319, allocations: 13 kB / 0.5094 GB, free: 90.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.5398, allocations: 5.522 MB / 0.5148 GB, free: 87.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.5399, allocations: 3.719 kB / 0.5148 GB, free: 87.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.5409, allocations: 248.3 kB / 0.515 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000952/0.5418, allocations: 0.5573 MB / 0.5155 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.542, allocations: 64.92 kB / 0.5156 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.5435, allocations: 2.235 MB / 0.5178 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5436, allocations: 3.938 kB / 0.5178 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.5493, allocations: 4.253 MB / 0.5219 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.5504, allocations: 0.5584 MB / 0.5225 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.5507, allocations: 79.97 kB / 0.5226 GB, free: 81.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.5519, allocations: 136.9 kB / 0.5227 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/0.5524, allocations: 277.5 kB / 0.523 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/0.5525, allocations: 95.94 kB / 0.523 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.5537, allocations: 1.043 MB / 0.5241 GB, free: 79.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5537, allocations: 10.03 kB / 0.5241 GB, free: 79.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001851/0.5556, allocations: 0.6901 MB / 0.5248 GB, free: 79.14 MB / 378.7 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 (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.001547/0.5572, allocations: 0.8594 MB / 0.5256 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004443/0.5616, allocations: 2.811 MB / 0.5283 GB, free: 75.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5616, allocations: 6.359 kB / 0.5283 GB, free: 75.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.5642, allocations: 1.643 MB / 0.5299 GB, free: 74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.5678, allocations: 0.7196 MB / 0.5306 GB, free: 73.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.5751, allocations: 5.291 MB / 0.5358 GB, free: 67.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.5759, allocations: 1.584 MB / 0.5374 GB, free: 66.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/0.5768, allocations: 247.2 kB / 0.5376 GB, free: 66.09 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5768, allocations: 0 / 0.5376 GB, free: 66.09 MB / 378.7 MB Notification: Performance of Templates: time 0.06451/0.6413, allocations: 68.26 MB / 0.6043 GB, free: 13.88 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches