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.0009551/0.0009551, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.00156/0.00156, allocations: 145.2 kB / 25.59 MB, free: 8.918 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 1.015/1.015, allocations: 173.4 MB / 202.2 MB, free: 8.281 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 2.835e-06/2.835e-06, allocations: 4 kB / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.549e-05, allocations: 5.266 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0102/0.01023, allocations: 11.72 MB / 280.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.01715, allocations: 5.206 MB / 286.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.01843, allocations: 67.44 kB / 286.2 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.01993, allocations: 0.8351 MB / 287 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.02261, allocations: 1.452 MB / 288.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.02596, allocations: 2.124 MB / 290.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.031, allocations: 5.062 MB / 295.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.03339, allocations: 1.789 MB / 297.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.03704, allocations: 2.542 MB / 300 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.0388, allocations: 1.426 MB / 301.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005662/0.03937, allocations: 304 kB / 301.7 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.04066, allocations: 0.636 MB / 302.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.0412, allocations: 0.8763 MB / 303.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007794/0.04197, allocations: 0.9509 MB / 304.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.04434, allocations: 2.643 MB / 306.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.04434, allocations: 4 kB / 306.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04434, allocations: 0 / 306.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.04437, allocations: 4 kB / 306.8 MB, free: 4.082 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.003195/0.04756, allocations: 3.15 MB / 310 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.0476, allocations: 8.031 kB / 310 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.04824, allocations: 0.4911 MB / 310.5 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.04972, allocations: 1.45 MB / 311.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.04992, allocations: 410.8 kB / 312.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003532/0.05027, allocations: 236.2 kB / 312.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.05237, allocations: 2.398 MB / 314.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.05241, allocations: 3.938 kB / 315 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.05255, allocations: 87.98 kB / 315 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.05262, allocations: 99.69 kB / 315.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.05398, allocations: 0.9345 MB / 316.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007126/0.06111, allocations: 9.339 MB / 325.4 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.06225, allocations: 1.119 MB / 326.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.06281, allocations: 0.5701 MB / 327.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004402/0.06721, allocations: 3.517 MB / 330.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.06836, allocations: 1.469 MB / 332.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 4.178e-06/0.06836, allocations: 4 kB / 332.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=217): time 0.00604/0.0744, allocations: 3.814 MB / 335.9 MB, free: 5.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/0.07462, allocations: 0.688 MB / 336.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.07586, allocations: 1.225 MB / 337.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.07601, allocations: 129.7 kB / 337.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005578/0.07657, allocations: 0.9865 MB / 338.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.07697, allocations: 0.6432 MB / 339.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005773/0.07755, allocations: 0.6016 MB / 340.2 MB, free: 1.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.07765, allocations: 484.7 kB / 340.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.07815, allocations: 438.2 kB / 341.1 MB, free: 248 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.07919, allocations: 1.633 MB / 342.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.08095, allocations: 1.82 MB / 344.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.08096, allocations: 8 kB / 344.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.002543/0.08351, allocations: 2.124 MB / 346.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.08358, allocations: 109.1 kB / 346.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.0836, allocations: 20 kB / 346.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.08422, allocations: 375.2 kB / 347.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.08501, allocations: 411.2 kB / 347.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.08623, allocations: 2.571 MB / 350.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.0871, allocations: 111.9 kB / 350.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.08726, allocations: 104 kB / 350.3 MB, free: 5.949 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: 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.001041/0.0883, allocations: 0.5505 MB / 350.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.08868, allocations: 282.7 kB / 351.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/0.0911, allocations: 2.063 MB / 353.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.09111, allocations: 24 kB / 353.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.09112, allocations: 4 kB / 353.3 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.09113, allocations: 11.95 kB / 353.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1158/0.2069, allocations: 3.38 MB / 356.6 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.2069, allocations: 2.75 kB / 356.6 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007025/0.2076, allocations: 253.8 kB / 356.9 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005751/0.2082, allocations: 344.9 kB / 357.2 MB, free: 73.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.2084, allocations: 73.47 kB / 357.3 MB, free: 73.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/0.2093, allocations: 2.548 MB / 359.8 MB, free: 71.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2093, allocations: 8.156 kB / 359.9 MB, free: 71.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003264/0.2125, allocations: 2.583 MB / 362.4 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/0.2131, allocations: 415.1 kB / 362.8 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.2134, allocations: 75.05 kB / 362.9 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.2139, allocations: 87.83 kB / 363 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.2142, allocations: 216 kB / 363.2 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.2143, allocations: 80.95 kB / 363.3 MB, free: 70.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.2147, allocations: 0.6083 MB / 363.9 MB, free: 70.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2147, allocations: 0 / 363.9 MB, free: 70.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001207/0.2159, allocations: 0.6203 MB / 364.5 MB, free: 70.16 MB / 330.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.001243/0.2172, allocations: 0.7015 MB / 365.2 MB, free: 70.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.2192, allocations: 1.819 MB / 367 MB, free: 69.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2192, allocations: 1.016 kB / 367 MB, free: 69.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2203, allocations: 1.032 MB / 368.1 MB, free: 69.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.2219, allocations: 0.754 MB / 368.8 MB, free: 69.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.2263, allocations: 3.896 MB / 372.7 MB, free: 67.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2266, allocations: 455.8 kB / 373.2 MB, free: 67.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009196/0.2275, allocations: 420.7 kB / 373.6 MB, free: 67.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.2288, allocations: 0.8517 MB / 374.4 MB, free: 67.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2288, allocations: 4 kB / 374.4 MB, free: 67.12 MB / 330.7 MB Notification: Performance of Templates: time 0.04295/0.2718, allocations: 45.26 MB / 419.7 MB, free: 25.05 MB / 330.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.210297816898674]