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.0009792/0.0009792, allocations: 77.97 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.0009768/0.0009768, allocations: 162.6 kB / 24.85 MB, free: 8.652 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.103/1.103, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.06657/0.06657, allocations: 18.15 MB / 280 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.203e-06/1.203e-06, allocations: 0 / 359.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.533e-05, allocations: 5.547 kB / 359.4 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.003863/0.003889, allocations: 4.312 MB / 363.7 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.005473, allocations: 1.286 MB / 365 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.005701, allocations: 19.81 kB / 365 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.005994, allocations: 178.5 kB / 365.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.006495, allocations: 468.9 kB / 365.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.007015, allocations: 323.4 kB / 365.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.008415, allocations: 2.231 MB / 368.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.009346, allocations: 1.228 MB / 369.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.01007, allocations: 0.8382 MB / 370.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.01108, allocations: 0.9315 MB / 371.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.01135, allocations: 232 kB / 371.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.01159, allocations: 228 kB / 371.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.01205, allocations: 0.7328 MB / 372.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.0126, allocations: 0.694 MB / 373.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.01365, allocations: 1.519 MB / 374.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01366, allocations: 0 / 374.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01366, allocations: 0 / 374.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.01367, allocations: 0 / 374.6 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.002163/0.01583, allocations: 1.918 MB / 376.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.01587, allocations: 8.922 kB / 376.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.01615, allocations: 256 kB / 376.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.01688, allocations: 0.7089 MB / 377.5 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.01696, allocations: 116.6 kB / 377.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.01712, allocations: 140.3 kB / 377.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.01804, allocations: 0.7603 MB / 378.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.01806, allocations: 8.141 kB / 378.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.01815, allocations: 52.12 kB / 378.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.01816, allocations: 28 kB / 378.6 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.01877, allocations: 405.7 kB / 379 MB, free: 3.945 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.004274/0.02304, allocations: 3.562 MB / 382.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.0249, allocations: 0.9929 MB / 383.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.02521, allocations: 226.5 kB / 383.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.02526, allocations: 21 kB / 383.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.02529, allocations: 46.39 kB / 383.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 2.174e-06/0.02529, allocations: 4 kB / 383.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.003581/0.02887, allocations: 2.259 MB / 386.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.0289, allocations: 60.41 kB / 386.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.02931, allocations: 0.62 MB / 386.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.02938, allocations: 41.7 kB / 386.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.02964, allocations: 0.5696 MB / 387.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.0299, allocations: 460.2 kB / 387.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.03019, allocations: 261.1 kB / 388.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.03038, allocations: 0.6131 MB / 388.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.03075, allocations: 282.1 kB / 388.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.03118, allocations: 0.5014 MB / 389.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.03227, allocations: 0.9756 MB / 390.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.03228, allocations: 0 / 390.4 MB, free: 8.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001567/0.03384, allocations: 1.218 MB / 391.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.03386, allocations: 8 kB / 391.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.03387, allocations: 8 kB / 391.6 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.03512, allocations: 0.5534 MB / 392.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.03601, allocations: 375.6 kB / 392.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009563/0.04557, allocations: 26.32 MB / 418.9 MB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.04602, allocations: 44.05 kB / 418.9 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/0.04609, allocations: 43.92 kB / 419 MB, free: 9.543 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.000342/0.04643, allocations: 244.2 kB / 419.2 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.0466, allocations: 135.3 kB / 419.4 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.04794, allocations: 1.056 MB / 420.4 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.04795, allocations: 12 kB / 420.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.04795, allocations: 7.938 kB / 420.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.04796, allocations: 3.984 kB / 420.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.05079, allocations: 2.132 MB / 422.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.05079, allocations: 7.938 kB / 422.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.0518, allocations: 315.7 kB / 422.9 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.05283, allocations: 0.499 MB / 423.4 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.05293, allocations: 63.95 kB / 423.4 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1494/0.2023, allocations: 25.79 MB / 449.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2023, allocations: 13.16 kB / 449.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.2041, allocations: 1.486 MB / 450.7 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2043, allocations: 104.1 kB / 450.8 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.2044, allocations: 58.59 kB / 450.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.2048, allocations: 27.67 kB / 450.9 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.205, allocations: 104.8 kB / 451 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.205, allocations: 26.58 kB / 451 MB, free: 105.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2052, allocations: 380.9 kB / 451.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2052, allocations: 0 / 451.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009888/0.2062, allocations: 446.2 kB / 451.9 MB, free: 105.1 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.0001753/0.2064, allocations: 192.3 kB / 452 MB, free: 105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.2078, allocations: 3.235 MB / 455.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.2078, allocations: 3.219 kB / 455.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.2087, allocations: 2.861 MB / 458.1 MB, free: 99.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.2094, allocations: 281.9 kB / 458.4 MB, free: 99.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.2136, allocations: 4.034 MB / 462.4 MB, free: 97.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.2138, allocations: 340.4 kB / 462.8 MB, free: 97.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.2142, allocations: 130 kB / 462.9 MB, free: 97.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.2147, allocations: 350.5 kB / 463.2 MB, free: 97.71 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2147, allocations: 0 / 463.2 MB, free: 97.71 MB / 410.7 MB Notification: Performance of Templates: time 0.02745/0.2421, allocations: 27.41 MB / 490.7 MB, free: 93.02 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.9916953779757023]