Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.0009425/0.0009425, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009571/0.0009571, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 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.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.06323/0.06323, allocations: 18.13 MB / 278.9 MB, free: 11.34 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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 358.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.126e-05, allocations: 5.406 kB / 358.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.006094/0.006125, allocations: 4.386 MB / 362.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.009035, allocations: 1.286 MB / 363.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.009426, allocations: 23.75 kB / 363.8 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.009839, allocations: 178.5 kB / 364 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.01077, allocations: 472.9 kB / 364.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.01171, allocations: 319.4 kB / 364.8 MB, free: 336 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.01382, allocations: 2.235 MB / 367 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.01513, allocations: 1.224 MB / 368.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.01635, allocations: 0.8382 MB / 369.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.01755, allocations: 0.9315 MB / 370 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.01788, allocations: 232 kB / 370.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.01815, allocations: 232 kB / 370.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.01862, allocations: 0.7327 MB / 371.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.01914, allocations: 0.6901 MB / 371.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.0206, allocations: 1.519 MB / 373.4 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.02061, allocations: 4 kB / 373.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02061, allocations: 0 / 373.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.02062, allocations: 0 / 373.4 MB, free: 7.645 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.00247/0.02309, allocations: 2.074 MB / 375.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.02313, allocations: 8.922 kB / 375.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.02343, allocations: 256 kB / 375.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.02428, allocations: 0.7675 MB / 376.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.02439, allocations: 116.6 kB / 376.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.02458, allocations: 140.3 kB / 376.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.02589, allocations: 0.8541 MB / 377.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.02592, allocations: 192 / 377.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.02601, allocations: 52.12 kB / 377.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.02604, allocations: 28 kB / 377.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009138/0.02695, allocations: 0.5018 MB / 378.2 MB, free: 2.73 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.005319/0.03227, allocations: 3.735 MB / 381.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.03449, allocations: 1.143 MB / 383 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.03491, allocations: 274.5 kB / 383.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/0.03497, allocations: 21 kB / 383.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.035, allocations: 42.39 kB / 383.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.965e-06/0.035, allocations: 0 / 383.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.004288/0.03929, allocations: 2.607 MB / 386 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.03932, allocations: 60.41 kB / 386 MB, free: 10.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.03982, allocations: 0.6282 MB / 386.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.03989, allocations: 41.7 kB / 386.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.04043, allocations: 0.5736 MB / 387.3 MB, free: 9.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.04069, allocations: 460.3 kB / 387.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.04099, allocations: 249.2 kB / 388 MB, free: 8.684 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.04118, allocations: 0.5977 MB / 388.6 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.04169, allocations: 342.2 kB / 388.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.04228, allocations: 0.5484 MB / 389.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.04384, allocations: 1.116 MB / 390.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.04385, allocations: 4 kB / 390.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001972/0.04582, allocations: 1.347 MB / 391.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.04584, allocations: 8 kB / 391.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.04585, allocations: 4 kB / 391.9 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.04715, allocations: 0.5574 MB / 392.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.04809, allocations: 411.4 kB / 392.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1448/0.1929, allocations: 26.66 MB / 419.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009376/0.1938, allocations: 75.94 kB / 419.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.1939, allocations: 49.69 kB / 419.7 MB, free: 51.01 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 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 CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) 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 (162): * Single equations (assignments): 147 * 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.0005978/0.1945, allocations: 248.9 kB / 419.9 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.1947, allocations: 130.2 kB / 420.1 MB, free: 50.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.1966, allocations: 1.138 MB / 421.2 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.1966, allocations: 10.78 kB / 421.2 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1966, allocations: 7.75 kB / 421.2 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.1966, allocations: 6.859 kB / 421.2 MB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.2, allocations: 2.399 MB / 423.6 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.2, allocations: 10.06 kB / 423.6 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.2012, allocations: 342.9 kB / 424 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.2024, allocations: 0.5099 MB / 424.5 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.2025, allocations: 67.62 kB / 424.5 MB, free: 49.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006595/0.2091, allocations: 26.12 MB / 450.7 MB, free: 23.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2091, allocations: 4.016 kB / 450.7 MB, free: 23.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.2112, allocations: 1.611 MB / 452.3 MB, free: 23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.2113, allocations: 104.4 kB / 452.4 MB, free: 22.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.2115, allocations: 58.41 kB / 452.4 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.2118, allocations: 55.47 kB / 452.5 MB, free: 22.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.2121, allocations: 99.47 kB / 452.6 MB, free: 22.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.2121, allocations: 35.73 kB / 452.6 MB, free: 22.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003613/0.2125, allocations: 411.9 kB / 453 MB, free: 22.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2125, allocations: 4.594 kB / 453 MB, free: 22.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009502/0.2134, allocations: 450.6 kB / 453.5 MB, free: 22.67 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,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 (95): * Single equations (assignments): 80 * 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.0001884/0.2136, allocations: 184 kB / 453.6 MB, free: 22.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2154, allocations: 3.329 MB / 457 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2154, allocations: 0 / 457 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.2165, allocations: 2.895 MB / 459.9 MB, free: 17.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.2172, allocations: 296.4 kB / 460.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.2219, allocations: 4.166 MB / 464.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.2222, allocations: 327.9 kB / 464.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.2227, allocations: 282.6 kB / 464.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.2229, allocations: 80.11 kB / 465 MB, free: 14.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2229, allocations: 0 / 465 MB, free: 14.1 MB / 330.7 MB Notification: Performance of Templates: time 0.02548/0.2484, allocations: 25.86 MB / 490.9 MB, free: 4.844 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.888105266261846]