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.001327/0.001327, allocations: 77.88 kB / 21.46 MB, free: 3.047 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.001271/0.001271, allocations: 165.3 kB / 24.86 MB, free: 9.289 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.017/1.017, 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.07679/0.07679, allocations: 18.13 MB / 280 MB, free: 11.15 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 2.335e-06/2.335e-06, allocations: 0 / 358.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.7e-05, allocations: 10.25 kB / 358.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004057/0.004084, allocations: 3.307 MB / 361.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.005419, allocations: 0.9584 MB / 362.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.005586, allocations: 11.88 kB / 362.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.005784, allocations: 99.14 kB / 362.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.006086, allocations: 278.1 kB / 363.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.006483, allocations: 199.6 kB / 363.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.007305, allocations: 1.271 MB / 364.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005694/0.007874, allocations: 0.6801 MB / 365.4 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.008302, allocations: 487 kB / 365.8 MB, free: 204 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.008855, allocations: 0.5261 MB / 366.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.008977, allocations: 128 kB / 366.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.009107, allocations: 136 kB / 366.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.009376, allocations: 415.1 kB / 367 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.009699, allocations: 419.2 kB / 367.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.01032, allocations: 0.8686 MB / 368.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01032, allocations: 3.938 kB / 368.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01032, allocations: 0 / 368.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.01033, allocations: 0 / 368.3 MB, free: 13.72 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001485/0.01181, allocations: 1.252 MB / 369.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.01185, allocations: 8.922 kB / 369.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.01204, allocations: 152.4 kB / 369.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.01252, allocations: 462.1 kB / 370.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.01258, allocations: 80.25 kB / 370.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.01268, allocations: 88.31 kB / 370.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.01322, allocations: 494.1 kB / 370.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.01324, allocations: 192 / 370.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.01329, allocations: 36.12 kB / 370.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.0133, allocations: 16 kB / 370.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.01366, allocations: 241.8 kB / 371.1 MB, free: 10.84 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(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.01618, allocations: 2.004 MB / 373.1 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.01728, allocations: 0.5535 MB / 373.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.01746, allocations: 128.5 kB / 373.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.01749, allocations: 16.5 kB / 373.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.01752, allocations: 37.89 kB / 373.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 1.613e-06/0.01752, allocations: 0 / 373.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.00152/0.01904, allocations: 0.8422 MB / 374.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.01907, allocations: 63.84 kB / 374.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.01936, allocations: 398.4 kB / 375.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.0194, allocations: 29.7 kB / 375.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.01962, allocations: 391.2 kB / 375.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.01978, allocations: 250 kB / 375.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.01996, allocations: 136.2 kB / 375.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.02012, allocations: 0.5429 MB / 376.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.02033, allocations: 155.5 kB / 376.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.02058, allocations: 220.2 kB / 376.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005785/0.02115, allocations: 461.5 kB / 377.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02116, allocations: 0 / 377.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009407/0.0221, allocations: 0.6735 MB / 377.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02212, allocations: 8 kB / 378 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.02212, allocations: 4 kB / 378 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008384/0.02296, allocations: 356.5 kB / 378.3 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.02339, allocations: 171.8 kB / 378.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.03007, allocations: 17.46 MB / 395.9 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.03032, allocations: 59.59 kB / 396 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.03035, allocations: 20.05 kB / 396 MB, free: 428 kB / 314.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.0002808/0.03064, allocations: 202.1 kB / 396.2 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.03073, allocations: 71.67 kB / 396.3 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.03151, allocations: 0.6063 MB / 396.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.03151, allocations: 7.938 kB / 396.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.03152, allocations: 4 kB / 396.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.03152, allocations: 0 / 396.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.03284, allocations: 1.159 MB / 398.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.03284, allocations: 4 kB / 398.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.03334, allocations: 151.8 kB / 398.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006598/0.034, allocations: 336.6 kB / 398.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.03405, allocations: 35.98 kB / 398.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/0.0398, allocations: 17.2 MB / 415.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0398, allocations: 0 / 415.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.04083, allocations: 0.8909 MB / 416.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.0409, allocations: 67.52 kB / 416.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.04096, allocations: 31.98 kB / 416.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.04114, allocations: 12 kB / 416.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.04125, allocations: 68.27 kB / 416.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.04128, allocations: 12 kB / 416.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.04143, allocations: 263 kB / 417.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04143, allocations: 0 / 417.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006377/0.04207, allocations: 299.5 kB / 417.4 MB, free: 9.609 MB / 346.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.0001565/0.04222, allocations: 137.8 kB / 417.5 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.04344, allocations: 2.046 MB / 419.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04344, allocations: 4.125 kB / 419.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.04428, allocations: 1.869 MB / 421.5 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.04473, allocations: 157.2 kB / 421.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.04739, allocations: 2.235 MB / 423.8 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.04755, allocations: 215.4 kB / 424.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.04774, allocations: 64.66 kB / 424.1 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.04809, allocations: 214.1 kB / 424.3 MB, free: 2.25 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04809, allocations: 0 / 424.3 MB, free: 2.25 MB / 346.7 MB Notification: Performance of Templates: time 0.1382/0.1863, allocations: 15.07 MB / 439.4 MB, free: 68.56 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 -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.5798813169822097]