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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001416/0.001416, allocations: 79.64 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 162.6 kB / 24.99 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9786/0.9786, allocations: 177 MB / 205.2 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] 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=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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=5036,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.[0-9,]+.|start.on|start.reset.[0-9,]+.|stop.on|stop.reset.[0-9,]+.|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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 273 MB, free: 1.613 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.029e-05, allocations: 2.312 kB / 273 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.139/0.139, allocations: 28.66 MB / 301.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.1474, allocations: 7.679 MB / 309.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1486, allocations: 67.06 kB / 309.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.1503, allocations: 1.014 MB / 310.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.153, allocations: 1.719 MB / 312.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.157, allocations: 2.224 MB / 314.3 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004462/0.1615, allocations: 5.127 MB / 319.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.1636, allocations: 1.799 MB / 321.3 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.1663, allocations: 2.516 MB / 323.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.168, allocations: 1.468 MB / 325.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000633/0.1686, allocations: 312 kB / 325.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.1702, allocations: 0.897 MB / 326.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006591/0.1709, allocations: 0.8996 MB / 327.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.1718, allocations: 0.9665 MB / 328.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.1748, allocations: 2.897 MB / 331.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1748, allocations: 0 / 331.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1748, allocations: 0 / 331.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1748, allocations: 0 / 331.2 MB, free: 7.734 MB / 282.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.004283/0.1791, allocations: 3.22 MB / 334.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1791, allocations: 11.98 kB / 334.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.1805, allocations: 0.5261 MB / 335 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.1825, allocations: 1.4 MB / 336.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.1827, allocations: 410.8 kB / 336.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.183, allocations: 233.2 kB / 337 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.1862, allocations: 2.527 MB / 339.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.1862, allocations: 8.312 kB / 339.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004399/0.1867, allocations: 95.92 kB / 339.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.707e-05/0.1868, allocations: 99.69 kB / 339.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.1891, allocations: 1.115 MB / 340.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009953/0.1991, allocations: 10.25 MB / 351.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.2008, allocations: 1.207 MB / 352.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009338/0.2017, allocations: 0.6367 MB / 352.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004518/0.2062, allocations: 3.52 MB / 356.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.2075, allocations: 1.528 MB / 358 MB, free: 11.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=205): time 3.506e-06/0.2075, allocations: 0 / 358 MB, free: 11.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=215): time 0.007832/0.2154, allocations: 6.637 MB / 364.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/0.2156, allocations: 0.688 MB / 365.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.2167, allocations: 1.282 MB / 366.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.2168, allocations: 125.7 kB / 366.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.2173, allocations: 0.9986 MB / 367.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/0.218, allocations: 0.6356 MB / 368.4 MB, free: 1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.2185, allocations: 0.5668 MB / 368.9 MB, free: 436 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.2186, allocations: 480.8 kB / 369.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.2194, allocations: 0.5334 MB / 369.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.2206, allocations: 1.711 MB / 371.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.2224, allocations: 1.949 MB / 373.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.2224, allocations: 8 kB / 373.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.002955/0.2253, allocations: 2.295 MB / 375.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.2254, allocations: 109.1 kB / 376 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.2254, allocations: 16 kB / 376 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.226, allocations: 387.8 kB / 376.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.2268, allocations: 407.2 kB / 376.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.228, allocations: 2.603 MB / 379.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.2286, allocations: 115.9 kB / 379.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.2287, allocations: 116 kB / 379.6 MB, free: 4.684 MB / 330.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: 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.0005605/0.2293, allocations: 0.5346 MB / 380.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.2296, allocations: 278.8 kB / 380.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.2327, allocations: 2.204 MB / 382.6 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.2327, allocations: 24 kB / 382.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2327, allocations: 7.938 kB / 382.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.2327, allocations: 11.95 kB / 382.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.2372, allocations: 3.793 MB / 386.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2372, allocations: 0 / 386.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.2377, allocations: 255.5 kB / 386.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.2382, allocations: 354.8 kB / 387.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/0.2383, allocations: 67.95 kB / 387.1 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.2396, allocations: 2.556 MB / 389.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2396, allocations: 8.094 kB / 389.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.2427, allocations: 2.809 MB / 392.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005087/0.2432, allocations: 418.4 kB / 392.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.2434, allocations: 75.94 kB / 393 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.2439, allocations: 87.94 kB / 393.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.2442, allocations: 213.6 kB / 393.3 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.2443, allocations: 95.94 kB / 393.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005894/0.2449, allocations: 0.6862 MB / 394.1 MB, free: 5.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2449, allocations: 4 kB / 394.1 MB, free: 5.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00121/0.2461, allocations: 0.683 MB / 394.7 MB, free: 5.148 MB / 346.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: 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.001327/0.2475, allocations: 0.8336 MB / 395.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.2501, allocations: 1.989 MB / 397.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2501, allocations: 0.875 kB / 397.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.2514, allocations: 1.111 MB / 398.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.253, allocations: 0.745 MB / 399.4 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.2578, allocations: 3.945 MB / 403.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.2583, allocations: 455.5 kB / 403.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008958/0.2592, allocations: 488.6 kB / 404.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.2595, allocations: 208.4 kB / 404.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2595, allocations: 0 / 404.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.1343/0.3939, allocations: 42.36 MB / 446.9 MB, free: 122.7 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.036666724132374]