Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 146.6 kB / 24.89 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.933/0.933, allocations: 173.3 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[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_4.0.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.[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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 268.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.167e-05, allocations: 9.969 kB / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.01292/0.01295, allocations: 11.76 MB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.02463, allocations: 5.357 MB / 285.6 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.02665, allocations: 67.44 kB / 285.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.02907, allocations: 0.8234 MB / 286.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.0333, allocations: 1.456 MB / 287.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005859/0.03916, allocations: 2.128 MB / 290.1 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1134/0.1526, allocations: 5.039 MB / 295.1 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.1552, allocations: 1.811 MB / 296.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.1598, allocations: 2.525 MB / 299.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.1619, allocations: 1.371 MB / 300.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007594/0.1627, allocations: 303.6 kB / 301.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1639, allocations: 0.6329 MB / 301.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006676/0.1645, allocations: 0.8818 MB / 302.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.1658, allocations: 0.9497 MB / 303.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.1684, allocations: 2.649 MB / 306.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1684, allocations: 0 / 306.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1684, allocations: 0 / 306.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.268e-05/0.1685, allocations: 0 / 306.2 MB, free: 14.06 MB / 266.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.003338/0.1718, allocations: 2.967 MB / 309.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1719, allocations: 11.92 kB / 309.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005767/0.1725, allocations: 411.5 kB / 309.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.1737, allocations: 1.098 MB / 310.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.1739, allocations: 409.1 kB / 311.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.1741, allocations: 235.1 kB / 311.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.1757, allocations: 2.323 MB / 313.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.1757, allocations: 14.38 kB / 313.7 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.1758, allocations: 90.31 kB / 313.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.1759, allocations: 98.47 kB / 313.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.1768, allocations: 0.8637 MB / 314.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.1815, allocations: 6.693 MB / 321.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.1822, allocations: 1.015 MB / 322.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.1826, allocations: 0.4955 MB / 322.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003224/0.1859, allocations: 2.649 MB / 325.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.1869, allocations: 1.426 MB / 327 MB, free: 12.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=207): time 3.828e-06/0.1869, allocations: 0 / 327 MB, free: 12.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.004962/0.1918, allocations: 3.428 MB / 330.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.192, allocations: 0.6952 MB / 331.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.1929, allocations: 1.131 MB / 332.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.193, allocations: 129.7 kB / 332.4 MB, free: 7.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.1934, allocations: 0.7385 MB / 333.1 MB, free: 6.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.1938, allocations: 0.6432 MB / 333.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.1943, allocations: 0.557 MB / 334.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.1943, allocations: 309.1 kB / 334.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.1948, allocations: 410.2 kB / 335 MB, free: 4.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/0.1957, allocations: 1.312 MB / 336.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.197, allocations: 1.607 MB / 337.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.197, allocations: 4 kB / 337.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.001849/0.1988, allocations: 1.702 MB / 339.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.1989, allocations: 101.1 kB / 339.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.1989, allocations: 20 kB / 339.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/0.1995, allocations: 368.4 kB / 340.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.2002, allocations: 404.5 kB / 340.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009094/0.2011, allocations: 1.763 MB / 342.3 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.2018, allocations: 115.8 kB / 342.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.2019, allocations: 95.97 kB / 342.5 MB, free: 12.79 MB / 298.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],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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$whenCondition3,$whenCondition1,$whenCondition2,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.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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,$whenCondition13,$whenCondition14,$whenCondition15,tankController.normal.T2.condition,tankController.normal.T4.condition,tankController.stateGraphRoot.suspend,tankController.stateGraphRoot.resume) * 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 (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.0005848/0.2025, allocations: 0.4913 MB / 343 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.2028, allocations: 207.8 kB / 343.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.2047, allocations: 1.707 MB / 344.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.2047, allocations: 27.98 kB / 344.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2047, allocations: 4 kB / 344.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.2048, allocations: 15.95 kB / 344.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.2081, allocations: 2.669 MB / 347.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2081, allocations: 0 / 347.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.2087, allocations: 242 kB / 347.8 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004824/0.2091, allocations: 334.7 kB / 348.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.2093, allocations: 63.94 kB / 348.2 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.2102, allocations: 1.745 MB / 350 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2102, allocations: 8.078 kB / 350 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.2124, allocations: 2.127 MB / 352.1 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.2129, allocations: 282.5 kB / 352.4 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.2131, allocations: 79.97 kB / 352.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.2136, allocations: 79.95 kB / 352.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.2138, allocations: 213.3 kB / 352.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.2139, allocations: 75.94 kB / 352.8 MB, free: 2.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003666/0.2143, allocations: 491.5 kB / 353.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2143, allocations: 0 / 353.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001243/0.2156, allocations: 0.613 MB / 353.9 MB, free: 1.379 MB / 298.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.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,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.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,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.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,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,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 (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.001558/0.2171, allocations: 0.8382 MB / 354.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.2189, allocations: 1.694 MB / 356.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.298e-05/0.219, allocations: 20.5 kB / 356.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.2199, allocations: 0.9729 MB / 357.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.2215, allocations: 0.7699 MB / 358.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.2262, allocations: 3.765 MB / 362 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.2266, allocations: 447.6 kB / 362.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009202/0.2275, allocations: 420.9 kB / 362.8 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.2288, allocations: 0.7326 MB / 363.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2288, allocations: 0 / 363.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of Templates: time 0.0536/0.2824, allocations: 44.32 MB / 407.9 MB, free: 12.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.008938145823777]