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.0009676/0.0009676, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009463/0.0009463, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.972/0.972, 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.0709/0.0709, allocations: 18.14 MB / 278.9 MB, free: 11.32 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.694e-06/1.694e-06, allocations: 0 / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.778e-05, allocations: 2.312 kB / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004508/0.004536, allocations: 3.347 MB / 360.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.006796, allocations: 0.9545 MB / 361.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.007146, allocations: 15.88 kB / 361.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.007421, allocations: 107.1 kB / 361.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.007936, allocations: 274.2 kB / 362 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.008544, allocations: 203.5 kB / 362.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.009788, allocations: 1.263 MB / 363.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.01076, allocations: 0.6879 MB / 364.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000808/0.01157, allocations: 479 kB / 364.6 MB, free: 468 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008978/0.01247, allocations: 0.53 MB / 365.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.01273, allocations: 132 kB / 365.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.01295, allocations: 132 kB / 365.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.01331, allocations: 415.1 kB / 365.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000501/0.01381, allocations: 415.1 kB / 366.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.01491, allocations: 0.8765 MB / 367.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01491, allocations: 0 / 367.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01492, allocations: 3.938 kB / 367.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.01494, allocations: 0 / 367.1 MB, free: 13.97 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.002466/0.0174, allocations: 1.33 MB / 368.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.01746, allocations: 8.922 kB / 368.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.01774, allocations: 152.4 kB / 368.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.0187, allocations: 494.1 kB / 369.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.01881, allocations: 80.27 kB / 369.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.01896, allocations: 76.33 kB / 369.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.02008, allocations: 0.5411 MB / 369.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.02011, allocations: 192 / 369.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.051e-05/0.02019, allocations: 32.12 kB / 369.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.02021, allocations: 20 kB / 369.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.021, allocations: 303.8 kB / 370.1 MB, free: 10.88 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.004574/0.02557, allocations: 2.188 MB / 372.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.02765, allocations: 0.6465 MB / 372.9 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.02803, allocations: 145.1 kB / 373.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.02808, allocations: 8.5 kB / 373.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.02811, allocations: 49.88 kB / 373.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.695e-06/0.02812, allocations: 3.938 kB / 373.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.00267/0.03079, allocations: 0.9086 MB / 374 MB, free: 6.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.03084, allocations: 59.91 kB / 374.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.03167, allocations: 410.6 kB / 374.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.03173, allocations: 33.7 kB / 374.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.03199, allocations: 387.3 kB / 374.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.0322, allocations: 242 kB / 375.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.03245, allocations: 136.3 kB / 375.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.03267, allocations: 0.5391 MB / 375.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.03312, allocations: 183.5 kB / 376 MB, free: 4.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.03357, allocations: 244.4 kB / 376.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008364/0.03441, allocations: 0.5367 MB / 376.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.03442, allocations: 0 / 376.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001061/0.03548, allocations: 0.7359 MB / 377.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.0355, allocations: 11.31 kB / 377.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.03551, allocations: 4 kB / 377.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000912/0.03642, allocations: 360.5 kB / 377.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.03688, allocations: 187.8 kB / 378.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007424/0.0443, allocations: 17.69 MB / 395.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.04489, allocations: 63.53 kB / 395.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.04493, allocations: 28.25 kB / 395.8 MB, free: 15.53 MB / 330.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.0002594/0.04519, allocations: 200.4 kB / 396 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.04528, allocations: 75.61 kB / 396.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/0.04613, allocations: 0.6532 MB / 396.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.04614, allocations: 4 kB / 396.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.04614, allocations: 7.938 kB / 396.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.04614, allocations: 0 / 396.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.04762, allocations: 1.287 MB / 398.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.04763, allocations: 3.938 kB / 398.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.04813, allocations: 167.8 kB / 398.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.04882, allocations: 336.7 kB / 398.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.04887, allocations: 31.98 kB / 398.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.05547, allocations: 17.42 MB / 416 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.05547, allocations: 3.938 kB / 416 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.05666, allocations: 0.9495 MB / 417 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.05676, allocations: 67.53 kB / 417 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.05682, allocations: 31.98 kB / 417.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.05736, allocations: 27.97 kB / 417.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.05752, allocations: 60.27 kB / 417.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.05754, allocations: 16 kB / 417.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.05776, allocations: 283.1 kB / 417.4 MB, free: 8.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05776, allocations: 0 / 417.4 MB, free: 8.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007449/0.05851, allocations: 303.5 kB / 417.7 MB, free: 8.117 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.0001654/0.05867, allocations: 141.7 kB / 417.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.06005, allocations: 2.093 MB / 420 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.06006, allocations: 0 / 420 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.06109, allocations: 1.881 MB / 421.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.06159, allocations: 163.7 kB / 422 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.06506, allocations: 2.312 MB / 424.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.06523, allocations: 207.5 kB / 424.5 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002441/0.06548, allocations: 128.5 kB / 424.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.0656, allocations: 44.5 kB / 424.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.06561, allocations: 0 / 424.7 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of Templates: time 0.1359/0.2015, allocations: 14.23 MB / 438.9 MB, free: 70.36 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.453580031171441]