Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.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.0009961/0.0009961, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001105/0.001105, allocations: 173 kB / 24.17 MB, free: 336 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.058/1.058, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.06742/0.06742, allocations: 18.15 MB / 279.2 MB, free: 11.18 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_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 304.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.424e-05, allocations: 2.859 kB / 304.6 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.003891/0.003915, allocations: 3.36 MB / 307.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.005982, allocations: 0.9734 MB / 308.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.006223, allocations: 11.88 kB / 308.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.006459, allocations: 103.7 kB / 309 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.006864, allocations: 278.4 kB / 309.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.0074, allocations: 200.9 kB / 309.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009912/0.008391, allocations: 1.261 MB / 310.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006942/0.009085, allocations: 0.6996 MB / 311.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.009715, allocations: 487 kB / 311.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007022/0.01042, allocations: 0.5106 MB / 312.4 MB, free: 10 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.01058, allocations: 132 kB / 312.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.01073, allocations: 132 kB / 312.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.01099, allocations: 431 kB / 313.1 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.01134, allocations: 403.3 kB / 313.5 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.01209, allocations: 0.8725 MB / 314.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.0121, allocations: 0 / 314.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0121, allocations: 0 / 314.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.01212, allocations: 0 / 314.4 MB, free: 8.055 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001357/0.01347, allocations: 1.102 MB / 315.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.01352, allocations: 12.92 kB / 315.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.01368, allocations: 120.8 kB / 315.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.01415, allocations: 399.4 kB / 316 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.01422, allocations: 88.23 kB / 316.1 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-05/0.01432, allocations: 84.33 kB / 316.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.01487, allocations: 498.1 kB / 316.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.01489, allocations: 4.172 kB / 316.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.01494, allocations: 32.12 kB / 316.7 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01495, allocations: 16 kB / 316.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.01527, allocations: 205.9 kB / 316.9 MB, free: 5.457 MB / 282.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.01764, allocations: 1.705 MB / 318.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.01868, allocations: 0.5108 MB / 319.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.01883, allocations: 106.3 kB / 319.2 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.01887, allocations: 8.5 kB / 319.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.0189, allocations: 39.06 kB / 319.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.923e-06/0.0189, allocations: 0 / 319.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.001335/0.02024, allocations: 0.738 MB / 320 MB, free: 2.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.02026, allocations: 55.91 kB / 320.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.02048, allocations: 347.1 kB / 320.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.02052, allocations: 37.7 kB / 320.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.02064, allocations: 293.5 kB / 320.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.02078, allocations: 242 kB / 321 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.02092, allocations: 118.6 kB / 321.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.02104, allocations: 370.7 kB / 321.4 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.0212, allocations: 116.8 kB / 321.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.02138, allocations: 172.5 kB / 321.7 MB, free: 476 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.02188, allocations: 416.3 kB / 322.1 MB, free: 36 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02188, allocations: 0 / 322.1 MB, free: 36 kB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007522/0.02264, allocations: 0.5623 MB / 322.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02265, allocations: 4 kB / 322.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.02266, allocations: 4 kB / 322.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.02342, allocations: 356.7 kB / 323.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.02419, allocations: 337 kB / 323.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005738/0.02993, allocations: 12.21 MB / 335.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.03026, allocations: 51.56 kB / 335.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-05/0.03029, allocations: 20.25 kB / 335.7 MB, free: 1.41 MB / 298.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.0306, allocations: 160.5 kB / 335.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.03069, allocations: 43.95 kB / 335.9 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.03138, allocations: 0.5331 MB / 336.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.03138, allocations: 8 kB / 336.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.03139, allocations: 11.92 kB / 336.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.03139, allocations: 0 / 336.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.03291, allocations: 0.9661 MB / 337.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.03291, allocations: 4 kB / 337.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.03369, allocations: 321.5 kB / 337.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006006/0.03429, allocations: 328.5 kB / 338 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.03434, allocations: 31.98 kB / 338 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/0.03926, allocations: 11.95 MB / 350 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03926, allocations: 0 / 350 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.04025, allocations: 0.7611 MB / 350.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.04061, allocations: 55.55 kB / 350.8 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.04067, allocations: 35.98 kB / 350.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.04085, allocations: 4 kB / 350.9 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.04098, allocations: 60.34 kB / 350.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.04101, allocations: 23.97 kB / 350.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.04113, allocations: 140.7 kB / 351.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04113, allocations: 0 / 351.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006585/0.04179, allocations: 299.5 kB / 351.4 MB, free: 480 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (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]) * 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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001633/0.04195, allocations: 117.4 kB / 351.5 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.04303, allocations: 1.473 MB / 352.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.04303, allocations: 4 kB / 353 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.04374, allocations: 1.304 MB / 354.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.04422, allocations: 171.5 kB / 354.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.04674, allocations: 1.803 MB / 356.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.04691, allocations: 211.5 kB / 356.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.04714, allocations: 64.75 kB / 356.5 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.04747, allocations: 185.3 kB / 356.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.04747, allocations: 0 / 356.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01808/0.06555, allocations: 15.17 MB / 371.8 MB, free: 11.95 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3634743290022016]