Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 75.42 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 157.8 kB / 24.5 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 51.55 kB / 325.6 MB, free: 288 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.09045, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03035/0.1208, allocations: 25.57 MB / 404.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.1336, allocations: 7.177 MB / 411.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1352, allocations: 67.44 kB / 411.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.1381, allocations: 1.01 MB / 412.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.1421, allocations: 1.667 MB / 414.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.1475, allocations: 2.191 MB / 416.6 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006732/0.1542, allocations: 5.094 MB / 421.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.157, allocations: 1.698 MB / 423.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.1601, allocations: 1.815 MB / 425.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.1627, allocations: 1.63 MB / 426.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005074/0.1632, allocations: 308 kB / 427.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.1653, allocations: 0.8896 MB / 428 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009177/0.1663, allocations: 0.8724 MB / 428.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.1677, allocations: 1.14 MB / 430 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005261/0.1729, allocations: 4.274 MB / 434.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1729, allocations: 0 / 434.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1729, allocations: 0 / 434.3 MB, free: 8.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.055e-05/0.173, allocations: 0 / 434.3 MB, free: 8.094 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005984/0.179, allocations: 3.113 MB / 437.4 MB, free: 4.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.179, allocations: 12.03 kB / 437.4 MB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.1806, allocations: 367.1 kB / 437.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.1832, allocations: 1.378 MB / 439.2 MB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.1835, allocations: 418.5 kB / 439.6 MB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.1839, allocations: 216 kB / 439.8 MB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.1889, allocations: 3.28 MB / 443.1 MB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.1889, allocations: 3.938 kB / 443.1 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.1892, allocations: 99.97 kB / 443.2 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.1893, allocations: 103.7 kB / 443.3 MB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.1934, allocations: 2.283 MB / 445.5 MB, free: 12.32 MB / 414.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.01486/0.2083, allocations: 9.449 MB / 455 MB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003103/0.2114, allocations: 1.774 MB / 456.8 MB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.2132, allocations: 1.069 MB / 457.8 MB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007454/0.2207, allocations: 3.729 MB / 461.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00271/0.2234, allocations: 1.916 MB / 463.5 MB, free: 9.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=205): time 4.609e-06/0.2234, allocations: 0 / 463.5 MB, free: 9.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=215): time 0.0167/0.2401, allocations: 8.633 MB / 472.1 MB, free: 1.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004335/0.2405, allocations: 0.6919 MB / 472.8 MB, free: 220 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1658/0.4063, allocations: 1.426 MB / 474.2 MB, free: 88.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.4068, allocations: 127.4 kB / 474.3 MB, free: 88.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.4075, allocations: 0.9467 MB / 475.3 MB, free: 87.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005218/0.408, allocations: 0.6265 MB / 475.9 MB, free: 87.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007605/0.4087, allocations: 0.558 MB / 476.5 MB, free: 87.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.314e-05/0.4088, allocations: 303.2 kB / 476.8 MB, free: 87.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4104, allocations: 1.052 MB / 477.8 MB, free: 86.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.4124, allocations: 1.986 MB / 479.8 MB, free: 85.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/0.4159, allocations: 2.595 MB / 482.4 MB, free: 83.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.4159, allocations: 7.766 kB / 482.4 MB, free: 83.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005363/0.4213, allocations: 3.228 MB / 485.6 MB, free: 82.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/0.4213, allocations: 108.1 kB / 485.7 MB, free: 82.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.4214, allocations: 17.84 kB / 485.8 MB, free: 82.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.4225, allocations: 0.5766 MB / 486.3 MB, free: 81.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4239, allocations: 396.8 kB / 486.7 MB, free: 81.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.4256, allocations: 2.269 MB / 489 MB, free: 80.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4271, allocations: 116.5 kB / 489.1 MB, free: 80 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.4273, allocations: 121.2 kB / 489.2 MB, free: 79.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,tankController.T6.enableFire,tankController.T6.localCondition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.localCondition,tankController.T1.enableFire,tankController.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.4284, allocations: 0.8109 MB / 490 MB, free: 79.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.4287, allocations: 204 kB / 490.2 MB, free: 79.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.4333, allocations: 3.151 MB / 493.4 MB, free: 78.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4333, allocations: 31.84 kB / 493.4 MB, free: 78.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4333, allocations: 3.812 kB / 493.4 MB, free: 78.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.4334, allocations: 10.92 kB / 493.4 MB, free: 78.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006566/0.4399, allocations: 4.955 MB / 498.4 MB, free: 74.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4399, allocations: 4 kB / 498.4 MB, free: 74.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.4409, allocations: 247.5 kB / 498.6 MB, free: 74.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008932/0.4418, allocations: 0.5589 MB / 499.2 MB, free: 73.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.4419, allocations: 63.91 kB / 499.3 MB, free: 73.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.4434, allocations: 2.237 MB / 0.4897 GB, free: 71.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4434, allocations: 7.969 kB / 0.4898 GB, free: 71.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.4486, allocations: 4.441 MB / 0.4941 GB, free: 67.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.4494, allocations: 444.6 kB / 0.4945 GB, free: 66.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.4497, allocations: 85.56 kB / 0.4946 GB, free: 66.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/0.4507, allocations: 91.92 kB / 0.4947 GB, free: 66.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/0.4511, allocations: 257.6 kB / 0.4949 GB, free: 66.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.4512, allocations: 91.95 kB / 0.495 GB, free: 66.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008724/0.4521, allocations: 0.8738 MB / 0.4959 GB, free: 65.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4521, allocations: 6.625 kB / 0.4959 GB, free: 65.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001746/0.4539, allocations: 0.6897 MB / 0.4965 GB, free: 64.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 179 * 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.002121/0.456, allocations: 0.8555 MB / 0.4974 GB, free: 64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.4601, allocations: 2.867 MB / 0.5002 GB, free: 61.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4601, allocations: 4.125 kB / 0.5002 GB, free: 61.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002368/0.4624, allocations: 1.634 MB / 0.5018 GB, free: 59.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.4651, allocations: 0.7109 MB / 0.5025 GB, free: 58.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.4719, allocations: 4.607 MB / 0.507 GB, free: 54.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007822/0.4727, allocations: 1.023 MB / 0.508 GB, free: 52.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001569/0.4742, allocations: 0.5126 MB / 0.5085 GB, free: 52.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.4747, allocations: 212.4 kB / 0.5087 GB, free: 52.26 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4747, allocations: 3.828 kB / 0.5087 GB, free: 52.26 MB / 430.1 MB Notification: Performance of Templates: time 0.05026/0.525, allocations: 42.42 MB / 0.5501 GB, free: 10.33 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.213667764910497]