Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 72.83 kB / 20.74 MB, free: 3.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 173 kB / 24.17 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08305/0.08305, allocations: 18.14 MB / 279.2 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 304.6 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.665e-05, allocations: 2.312 kB / 304.6 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.006525/0.006552, allocations: 4.344 MB / 308.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.01025, allocations: 1.32 MB / 310.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.01085, allocations: 23.81 kB / 310.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.01131, allocations: 168.6 kB / 310.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.01236, allocations: 466.9 kB / 310.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.01341, allocations: 319.4 kB / 311.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.01578, allocations: 2.222 MB / 313.4 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.01712, allocations: 1.232 MB / 314.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.01825, allocations: 0.8187 MB / 315.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.01959, allocations: 0.9199 MB / 316.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.02, allocations: 236 kB / 316.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.02027, allocations: 236 kB / 316.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.02081, allocations: 0.7366 MB / 317.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008127/0.02162, allocations: 0.6979 MB / 318.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.02314, allocations: 1.531 MB / 319.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.02314, allocations: 0 / 319.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02315, allocations: 0 / 319.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/0.02319, allocations: 4 kB / 319.8 MB, free: 2.441 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002669/0.02586, allocations: 1.746 MB / 321.6 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.0259, allocations: 8.922 kB / 321.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.02619, allocations: 208.7 kB / 321.8 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.02697, allocations: 0.5828 MB / 322.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.02706, allocations: 124.6 kB / 322.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.02731, allocations: 136.1 kB / 322.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.0283, allocations: 0.7718 MB / 323.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.02833, allocations: 8.188 kB / 323.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.02841, allocations: 52.12 kB / 323.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.02843, allocations: 31.98 kB / 323.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.029, allocations: 341.7 kB / 323.8 MB, free: 14.33 MB / 298.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(delivery.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.03321, allocations: 3.022 MB / 326.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.03495, allocations: 0.9117 MB / 327.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.03522, allocations: 183.8 kB / 327.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.03528, allocations: 17 kB / 327.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.03531, allocations: 47.55 kB / 328 MB, free: 10.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.324e-06/0.03531, allocations: 0 / 328 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.003395/0.03871, allocations: 1.999 MB / 330 MB, free: 8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.03874, allocations: 64.39 kB / 330 MB, free: 7.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.03909, allocations: 0.535 MB / 330.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.03915, allocations: 41.7 kB / 330.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.03933, allocations: 453.8 kB / 331.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.03956, allocations: 448.2 kB / 331.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.03982, allocations: 223.4 kB / 331.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.03994, allocations: 414.5 kB / 332.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.04023, allocations: 227.3 kB / 332.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.04058, allocations: 389.7 kB / 332.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.04155, allocations: 0.8453 MB / 333.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.04155, allocations: 4 kB / 333.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001308/0.04286, allocations: 0.9919 MB / 334.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.04288, allocations: 8 kB / 334.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.04289, allocations: 7.984 kB / 334.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.04402, allocations: 0.5379 MB / 335.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.04555, allocations: 0.7171 MB / 335.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.05326, allocations: 18.42 MB / 354.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.05395, allocations: 48.16 kB / 354.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.05402, allocations: 35.98 kB / 354.3 MB, free: 13.77 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.pipeline.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.05444, allocations: 193.4 kB / 354.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.0546, allocations: 99.84 kB / 354.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.05574, allocations: 0.9052 MB / 355.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.05575, allocations: 12 kB / 355.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.05575, allocations: 4 kB / 355.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.05576, allocations: 7.969 kB / 355.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.0587, allocations: 1.743 MB / 357.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.05871, allocations: 0 / 357.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/0.06089, allocations: 0.6315 MB / 357.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.06211, allocations: 0.5027 MB / 358.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.06225, allocations: 63.97 kB / 358.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008721/0.07097, allocations: 17.93 MB / 376.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.07098, allocations: 15.95 kB / 376.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.07317, allocations: 1.232 MB / 377.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.0734, allocations: 79.36 kB / 377.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.07356, allocations: 59.97 kB / 377.8 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.07399, allocations: 20 kB / 377.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.07427, allocations: 100.7 kB / 377.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.941e-05/0.07434, allocations: 27.98 kB / 377.9 MB, free: 4.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.07461, allocations: 252.6 kB / 378.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07461, allocations: 0 / 378.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001379/0.07599, allocations: 452 kB / 378.6 MB, free: 3.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 42 (CH.Tfo,CH.Ec,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002488/0.07624, allocations: 165.4 kB / 378.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002268/0.0785, allocations: 2.35 MB / 381.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.29e-05/0.07853, allocations: 8 kB / 381.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.07997, allocations: 2.009 MB / 383.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.08099, allocations: 312.5 kB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.0863, allocations: 3.114 MB / 386.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.08666, allocations: 329.2 kB / 386.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005788/0.08724, allocations: 120.2 kB / 387 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/0.08799, allocations: 317.1 kB / 387.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.08799, allocations: 0 / 387.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.03742/0.1254, allocations: 27.67 MB / 415 MB, free: 15.2 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6432241881266236]