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.001509/0.001509, allocations: 91.56 kB / 20.45 MB, free: 4.113 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.001252/0.001252, allocations: 169 kB / 23.82 MB, free: 0.75 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.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.06604/0.06604, allocations: 18.14 MB / 278.9 MB, free: 11.31 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.773e-06/1.773e-06, allocations: 0 / 358.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.786e-05, allocations: 2.312 kB / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.005145/0.005173, allocations: 4.367 MB / 362.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.007276, allocations: 1.294 MB / 363.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.007557, allocations: 27.75 kB / 363.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.007894, allocations: 174.6 kB / 364 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.008579, allocations: 465 kB / 364.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007437/0.009323, allocations: 331.3 kB / 364.7 MB, free: 340 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.01124, allocations: 2.239 MB / 367 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.01254, allocations: 1.216 MB / 368.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/0.01352, allocations: 0.8498 MB / 369 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.01471, allocations: 0.9238 MB / 370 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.01502, allocations: 232 kB / 370.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.01533, allocations: 232 kB / 370.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.01588, allocations: 0.7328 MB / 371.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007377/0.01662, allocations: 0.6901 MB / 371.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.01811, allocations: 1.535 MB / 373.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01812, allocations: 0 / 373.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01812, allocations: 0 / 373.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.01814, allocations: 0 / 373.4 MB, free: 7.637 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.003322/0.02146, allocations: 2.07 MB / 375.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.0215, allocations: 8.922 kB / 375.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.02191, allocations: 252 kB / 375.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.02311, allocations: 0.7815 MB / 376.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.02323, allocations: 120.6 kB / 376.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.02346, allocations: 136.3 kB / 376.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.02509, allocations: 0.8541 MB / 377.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.02511, allocations: 4.125 kB / 377.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006118/0.03123, allocations: 52.12 kB / 377.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.03126, allocations: 31.98 kB / 377.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.03244, allocations: 0.5018 MB / 378.2 MB, free: 2.707 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.01828/0.05072, allocations: 3.732 MB / 381.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008988/0.0597, allocations: 1.147 MB / 383.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.06029, allocations: 270.5 kB / 383.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-05/0.06036, allocations: 21 kB / 383.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.06039, allocations: 46.39 kB / 383.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.946e-06/0.06039, allocations: 0 / 383.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.009992/0.07038, allocations: 2.591 MB / 386 MB, free: 10.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.07042, allocations: 68.34 kB / 386.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.07091, allocations: 0.6321 MB / 386.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.07096, allocations: 45.7 kB / 386.7 MB, free: 9.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.07123, allocations: 0.5658 MB / 387.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.07149, allocations: 460.3 kB / 387.7 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.07178, allocations: 249.2 kB / 388 MB, free: 8.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.07198, allocations: 0.6016 MB / 388.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.07249, allocations: 330.2 kB / 388.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.07307, allocations: 0.5601 MB / 389.5 MB, free: 7.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.07458, allocations: 1.116 MB / 390.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.07459, allocations: 4 kB / 390.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001851/0.07644, allocations: 1.351 MB / 391.9 MB, free: 4.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.07646, allocations: 12.97 kB / 392 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.07647, allocations: 7.984 kB / 392 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.07772, allocations: 0.5535 MB / 392.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.07864, allocations: 403.5 kB / 392.9 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1363/0.215, allocations: 26.67 MB / 419.6 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/0.2158, allocations: 76.05 kB / 419.6 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/0.2159, allocations: 47.47 kB / 419.7 MB, free: 47.96 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.0003912/0.2163, allocations: 240.4 kB / 419.9 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.2164, allocations: 132.6 kB / 420.1 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.218, allocations: 1.137 MB / 421.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.218, allocations: 12.72 kB / 421.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.218, allocations: 3.875 kB / 421.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.218, allocations: 5.016 kB / 421.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.2211, allocations: 2.401 MB / 423.6 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.2211, allocations: 11.52 kB / 423.6 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.2222, allocations: 345 kB / 424 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.2232, allocations: 0.5116 MB / 424.5 MB, free: 46.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.2233, allocations: 60.27 kB / 424.5 MB, free: 46.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/0.2289, allocations: 26.12 MB / 450.7 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.229, allocations: 11.59 kB / 450.7 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.2309, allocations: 1.602 MB / 452.3 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.231, allocations: 110.3 kB / 452.4 MB, free: 20.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2311, allocations: 55.64 kB / 452.4 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.2315, allocations: 54.48 kB / 452.5 MB, free: 20.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.2316, allocations: 112.7 kB / 452.6 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.2317, allocations: 31.17 kB / 452.6 MB, free: 20.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003476/0.232, allocations: 416.8 kB / 453 MB, free: 20.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.232, allocations: 0 / 453 MB, free: 20.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009936/0.233, allocations: 445 kB / 453.5 MB, free: 20.05 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.000202/0.2332, allocations: 182.6 kB / 453.7 MB, free: 19.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2352, allocations: 3.331 MB / 457 MB, free: 17.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2352, allocations: 0 / 457 MB, free: 17.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.2363, allocations: 2.897 MB / 459.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.2369, allocations: 294.7 kB / 460.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.2413, allocations: 4.165 MB / 464.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2416, allocations: 334.5 kB / 464.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004911/0.2421, allocations: 283 kB / 464.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.2423, allocations: 85.19 kB / 465 MB, free: 11.86 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2423, allocations: 6.078 kB / 465 MB, free: 11.86 MB / 330.7 MB Notification: Performance of Templates: time 0.02337/0.2657, allocations: 25.04 MB / 490.1 MB, free: 3.883 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.9530001170933247]