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.000909/0.000909, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.0008937/0.0008937, allocations: 181 kB / 24.08 MB, free: 428 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.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.06551/0.06551, allocations: 18.14 MB / 279.2 MB, free: 11.17 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.252e-06/1.252e-06, allocations: 0 / 358.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.318e-05, allocations: 2.312 kB / 358.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.004674/0.004697, allocations: 4.308 MB / 362.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.006378, allocations: 1.286 MB / 364.2 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.006607, allocations: 23.75 kB / 364.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.006904, allocations: 174.5 kB / 364.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.007488, allocations: 468.9 kB / 364.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.008031, allocations: 327.4 kB / 365.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.009614, allocations: 2.235 MB / 367.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.01063, allocations: 1.216 MB / 368.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.01163, allocations: 0.8537 MB / 369.5 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.01262, allocations: 0.9238 MB / 370.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.01286, allocations: 232 kB / 370.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.01314, allocations: 228 kB / 370.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.01362, allocations: 0.7328 MB / 371.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.01421, allocations: 0.6901 MB / 372.3 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.01542, allocations: 1.523 MB / 373.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01542, allocations: 0 / 373.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01542, allocations: 0 / 373.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.01543, allocations: 7.938 kB / 373.8 MB, free: 8.461 MB / 346.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.002614/0.01805, allocations: 1.903 MB / 375.7 MB, free: 6.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.01808, allocations: 12.92 kB / 375.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.01841, allocations: 252 kB / 376 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.01951, allocations: 0.7206 MB / 376.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.01961, allocations: 120.6 kB / 376.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.0198, allocations: 128.3 kB / 376.9 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.02096, allocations: 0.7682 MB / 377.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02098, allocations: 4.141 kB / 377.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.02108, allocations: 48.12 kB / 377.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.02111, allocations: 28 kB / 377.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.02188, allocations: 409.7 kB / 378.2 MB, free: 3.953 MB / 346.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.005308/0.02719, allocations: 3.562 MB / 381.7 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.02953, allocations: 0.9926 MB / 382.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.02993, allocations: 230.5 kB / 382.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.02999, allocations: 21 kB / 383 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.03002, allocations: 46.39 kB / 383 MB, free: 15.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 2.564e-06/0.03002, allocations: 0 / 383 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.004585/0.0346, allocations: 2.263 MB / 385.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.03464, allocations: 64.41 kB / 385.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.03515, allocations: 0.6161 MB / 386 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.03522, allocations: 41.7 kB / 386 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.03553, allocations: 0.5735 MB / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.03585, allocations: 464.2 kB / 387 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.03623, allocations: 257.1 kB / 387.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.03646, allocations: 0.6053 MB / 387.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.03694, allocations: 286.1 kB / 388.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.03751, allocations: 0.5053 MB / 388.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.03892, allocations: 0.9601 MB / 389.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.03893, allocations: 8 kB / 389.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00204/0.04097, allocations: 1.218 MB / 390.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.04099, allocations: 11.98 kB / 390.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.041, allocations: 11.94 kB / 390.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.04252, allocations: 0.5496 MB / 391.4 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.04366, allocations: 375.6 kB / 391.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.0548, allocations: 26.35 MB / 418.1 MB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.05539, allocations: 39.94 kB / 418.2 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.05548, allocations: 40 kB / 418.2 MB, free: 9.523 MB / 394.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.0004184/0.0559, allocations: 248.4 kB / 418.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.05609, allocations: 131.3 kB / 418.6 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/0.06085, allocations: 1.052 MB / 419.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.06086, allocations: 8 kB / 419.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.06086, allocations: 4 kB / 419.7 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.06087, allocations: 11.97 kB / 419.7 MB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/0.06702, allocations: 2.132 MB / 421.8 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.06703, allocations: 4 kB / 421.8 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.06862, allocations: 311.7 kB / 422.1 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.06967, allocations: 0.5069 MB / 422.6 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.06979, allocations: 59.97 kB / 422.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.149/0.2188, allocations: 25.8 MB / 448.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2188, allocations: 5.719 kB / 448.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2206, allocations: 1.497 MB / 450 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.2207, allocations: 99.81 kB / 450.1 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2208, allocations: 70.03 kB / 450.1 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2212, allocations: 26.44 kB / 450.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.2214, allocations: 97.38 kB / 450.3 MB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.2214, allocations: 27.31 kB / 450.3 MB, free: 105.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.2216, allocations: 382.4 kB / 450.7 MB, free: 105.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2216, allocations: 0 / 450.7 MB, free: 105.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001017/0.2226, allocations: 446 kB / 451.1 MB, free: 105.2 MB / 410.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.0001868/0.2228, allocations: 186.6 kB / 451.3 MB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.2243, allocations: 3.24 MB / 454.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2243, allocations: 0 / 454.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.2252, allocations: 2.865 MB / 457.4 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.2259, allocations: 289.4 kB / 457.7 MB, free: 100 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.2301, allocations: 4.032 MB / 461.7 MB, free: 98.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2304, allocations: 338 kB / 462 MB, free: 97.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.2308, allocations: 130.7 kB / 462.2 MB, free: 97.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.2313, allocations: 349.1 kB / 462.5 MB, free: 97.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2313, allocations: 4 kB / 462.5 MB, free: 97.84 MB / 410.7 MB Notification: Performance of Templates: time 0.0281/0.2594, allocations: 26.85 MB / 489.3 MB, free: 93.46 MB / 410.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.8207397586666048]