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.001237/0.001237, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001067/0.001067, allocations: 161.9 kB / 24.86 MB, free: 8.766 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 0.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.07005/0.07005, allocations: 18.14 MB / 280 MB, free: 11.14 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 3.016e-06/3.016e-06, allocations: 3.984 kB / 358.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.821e-05, allocations: 5.125 kB / 358.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005109/0.005137, allocations: 4.285 MB / 362.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.00755, allocations: 1.278 MB / 364.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.007866, allocations: 27.75 kB / 364.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.00821, allocations: 166.6 kB / 364.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.008954, allocations: 464.9 kB / 364.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.01021, allocations: 327.4 kB / 365.1 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.01204, allocations: 2.219 MB / 367.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.01314, allocations: 1.208 MB / 368.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.01409, allocations: 0.8264 MB / 369.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.01505, allocations: 0.9354 MB / 370.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.01535, allocations: 236 kB / 370.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.01559, allocations: 240 kB / 370.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.01617, allocations: 0.7367 MB / 371.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.01674, allocations: 0.6979 MB / 372.2 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.01796, allocations: 1.527 MB / 373.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01797, allocations: 0 / 373.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01797, allocations: 0 / 373.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.018, allocations: 0 / 373.7 MB, free: 8.281 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002813/0.02081, allocations: 1.922 MB / 375.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.02085, allocations: 8.922 kB / 375.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.02115, allocations: 248 kB / 375.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.02194, allocations: 0.705 MB / 376.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.02202, allocations: 120.6 kB / 376.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.02219, allocations: 136.2 kB / 376.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.02319, allocations: 0.7485 MB / 377.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.02321, allocations: 4.141 kB / 377.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.0233, allocations: 48.12 kB / 377.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.02332, allocations: 31.98 kB / 377.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.02394, allocations: 405.6 kB / 378.1 MB, free: 3.789 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.004986/0.02893, allocations: 3.562 MB / 381.6 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.03114, allocations: 0.989 MB / 382.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.03146, allocations: 218.5 kB / 382.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.03151, allocations: 17 kB / 382.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.03154, allocations: 50.38 kB / 382.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.03155, allocations: 4 kB / 382.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.003888/0.03543, allocations: 2.235 MB / 385.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.03546, allocations: 68.41 kB / 385.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.03592, allocations: 0.6084 MB / 385.8 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.03598, allocations: 45.7 kB / 385.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.03629, allocations: 0.5735 MB / 386.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.03659, allocations: 460.1 kB / 386.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.03688, allocations: 249.1 kB / 387.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.03709, allocations: 0.613 MB / 387.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.03747, allocations: 274.1 kB / 388 MB, free: 9.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.03792, allocations: 0.5014 MB / 388.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.03933, allocations: 0.9522 MB / 389.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.03934, allocations: 0 / 389.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001686/0.04102, allocations: 1.21 MB / 390.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.04104, allocations: 8 kB / 390.7 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.04106, allocations: 12.03 kB / 390.7 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.04234, allocations: 0.5457 MB / 391.2 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.04324, allocations: 367.6 kB / 391.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.141/0.1842, allocations: 26.32 MB / 417.9 MB, free: 52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.1851, allocations: 43.17 kB / 417.9 MB, free: 52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.1852, allocations: 40.77 kB / 418 MB, free: 52 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.0004906/0.1857, allocations: 245.3 kB / 418.2 MB, free: 51.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.1859, allocations: 127.4 kB / 418.3 MB, free: 51.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.1874, allocations: 1.035 MB / 419.4 MB, free: 51.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.1874, allocations: 10.41 kB / 419.4 MB, free: 51.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.1875, allocations: 5.688 kB / 419.4 MB, free: 51.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.1875, allocations: 6.391 kB / 419.4 MB, free: 51.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.1907, allocations: 2.121 MB / 421.5 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1907, allocations: 2.562 kB / 421.5 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.1917, allocations: 308.9 kB / 421.8 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.193, allocations: 0.5035 MB / 422.3 MB, free: 50.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.1931, allocations: 60.11 kB / 422.4 MB, free: 50.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/0.2002, allocations: 25.81 MB / 448.2 MB, free: 25.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2002, allocations: 10.42 kB / 448.2 MB, free: 25.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.2024, allocations: 1.473 MB / 449.7 MB, free: 24.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2026, allocations: 105.3 kB / 449.8 MB, free: 24.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.2027, allocations: 58.66 kB / 449.8 MB, free: 24.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.2031, allocations: 19.12 kB / 449.9 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.2033, allocations: 104.5 kB / 450 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.2034, allocations: 25.53 kB / 450 MB, free: 24.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.2037, allocations: 380 kB / 450.4 MB, free: 24.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2037, allocations: 0 / 450.4 MB, free: 24.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001315/0.205, allocations: 451.9 kB / 450.8 MB, free: 24.41 MB / 330.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.0002232/0.2052, allocations: 178.3 kB / 451 MB, free: 24.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.207, allocations: 3.222 MB / 454.2 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.207, allocations: 4.062 kB / 454.2 MB, free: 21.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.2081, allocations: 2.855 MB / 457.1 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.2088, allocations: 295.4 kB / 457.3 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.2134, allocations: 3.994 MB / 461.3 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2138, allocations: 330.3 kB / 461.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.2142, allocations: 119.7 kB / 461.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.2148, allocations: 344.3 kB / 462.1 MB, free: 16.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.834e-06/0.2148, allocations: 0 / 462.1 MB, free: 16.24 MB / 330.7 MB Notification: Performance of Templates: time 0.02908/0.2439, allocations: 27.45 MB / 489.6 MB, free: 5.695 MB / 346.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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.859293171670288]