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.0009715/0.0009715, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002447, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007556/0.0007556, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000925/0.001681, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8341/0.8341, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1467/0.9807, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.382e-06/1.382e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.931e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.008615/0.008634, allocations: 11.84 MB / 251.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006428/0.01506, allocations: 5.408 MB / 257 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006335/0.01569, allocations: 67.44 kB / 257.1 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.01672, allocations: 0.8233 MB / 257.9 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.01823, allocations: 1.472 MB / 259.3 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.02065, allocations: 2.116 MB / 261.5 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.02365, allocations: 5.08 MB / 266.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.02497, allocations: 1.718 MB / 268.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.02692, allocations: 2.484 MB / 270.7 MB, free: 7.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.02798, allocations: 1.371 MB / 272.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.02826, allocations: 300 kB / 272.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.02904, allocations: 0.6595 MB / 273.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.02946, allocations: 0.7012 MB / 273.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.03003, allocations: 0.7447 MB / 274.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.03219, allocations: 2.379 MB / 276.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.547e-06/0.0322, allocations: 0 / 276.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0322, allocations: 4 kB / 276.9 MB, free: 1.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.03223, allocations: 0 / 276.9 MB, free: 1.082 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.002914/0.03515, allocations: 3.569 MB / 280.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.525e-05/0.03517, allocations: 8.031 kB / 280.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.03567, allocations: 416.3 kB / 280.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.03686, allocations: 1.095 MB / 282 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.03704, allocations: 422.7 kB / 282.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.03741, allocations: 228.4 kB / 282.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.03917, allocations: 2.329 MB / 284.9 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.0392, allocations: 7.938 kB / 284.9 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.03932, allocations: 91.97 kB / 285 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.03939, allocations: 103.7 kB / 285.1 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.04034, allocations: 0.8635 MB / 286 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.04556, allocations: 6.694 MB / 292.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.04641, allocations: 1.025 MB / 293.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.04683, allocations: 0.4985 MB / 294.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003007/0.04984, allocations: 2.643 MB / 296.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/0.05076, allocations: 1.442 MB / 298.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 2.695e-06/0.05076, allocations: 3.938 kB / 298.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=217): time 0.007191/0.05795, allocations: 4.511 MB / 302.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.05813, allocations: 0.6322 MB / 303.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.05885, allocations: 1.139 MB / 304.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.05899, allocations: 129.7 kB / 304.7 MB, free: 3.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.05932, allocations: 0.7434 MB / 305.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.05967, allocations: 0.6355 MB / 306.1 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.06013, allocations: 0.556 MB / 306.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.581e-05/0.06019, allocations: 305.2 kB / 306.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.06063, allocations: 418.2 kB / 307.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.06138, allocations: 1.324 MB / 308.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.06262, allocations: 1.66 MB / 310.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.06263, allocations: 4 kB / 310.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.001706/0.06433, allocations: 1.713 MB / 312.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.06439, allocations: 109.5 kB / 312.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.06441, allocations: 24 kB / 312.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.06489, allocations: 362.8 kB / 312.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.06571, allocations: 499.1 kB / 313 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008741/0.06658, allocations: 1.763 MB / 314.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.06718, allocations: 107.9 kB / 314.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.0673, allocations: 99.97 kB / 315 MB, free: 8.723 MB / 314.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.0004632/0.06777, allocations: 0.4959 MB / 315.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.06798, allocations: 215.7 kB / 315.7 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.06973, allocations: 1.731 MB / 317.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.06975, allocations: 24 kB / 317.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.06975, allocations: 4 kB / 317.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.06976, allocations: 11.95 kB / 317.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.07271, allocations: 2.69 MB / 320.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.07271, allocations: 4 kB / 320.2 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.0733, allocations: 299.5 kB / 320.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.07369, allocations: 290.4 kB / 320.7 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.07412, allocations: 338.8 kB / 321.1 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.07421, allocations: 67.88 kB / 321.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008574/0.07506, allocations: 1.736 MB / 322.9 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.07507, allocations: 8.062 kB / 322.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.0771, allocations: 2.172 MB / 325.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.07729, allocations: 71.98 kB / 325.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.07772, allocations: 83.95 kB / 325.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.07799, allocations: 213.5 kB / 325.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.0781, allocations: 75.94 kB / 325.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003329/0.07843, allocations: 481.7 kB / 326 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.07843, allocations: 4 kB / 326 MB, free: 13.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009385/0.07937, allocations: 0.6169 MB / 326.6 MB, free: 12.7 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.001502/0.08087, allocations: 0.8961 MB / 327.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.08251, allocations: 1.744 MB / 329.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.874e-05/0.08255, allocations: 36.44 kB / 329.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.08355, allocations: 1.079 MB / 330.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.08603, allocations: 4.679 MB / 335 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/0.1882, allocations: 3.816 MB / 338.8 MB, free: 71.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1887, allocations: 451 kB / 339.3 MB, free: 71.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001181/0.1899, allocations: 425.2 kB / 339.7 MB, free: 71.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.1912, allocations: 0.739 MB / 340.4 MB, free: 71.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1912, allocations: 2.25 kB / 340.4 MB, free: 71.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03907/0.2303, allocations: 45.72 MB / 386.1 MB, free: 39.8 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.709802416153252]