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.001176/0.001176, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.00134/0.00134, allocations: 165 kB / 23.82 MB, free: 0.7578 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.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.06753/0.06753, allocations: 18.13 MB / 278.9 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 8.194e-05/8.194e-05, allocations: 0 / 357.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/0.0001068, allocations: 2.312 kB / 357.3 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004013/0.00412, allocations: 3.342 MB / 360.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.005778, allocations: 0.9545 MB / 361.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.006065, allocations: 15.88 kB / 361.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.006323, allocations: 103.1 kB / 361.7 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.006715, allocations: 278.1 kB / 362 MB, free: 4.133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.007299, allocations: 191.6 kB / 362.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.008294, allocations: 1.259 MB / 363.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007427/0.009036, allocations: 0.6918 MB / 364.1 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.009643, allocations: 487 kB / 364.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.01032, allocations: 0.5222 MB / 365.1 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.01046, allocations: 132 kB / 365.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.01061, allocations: 136 kB / 365.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.01088, allocations: 427 kB / 365.8 MB, free: 304 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.01124, allocations: 411.2 kB / 366.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.01199, allocations: 0.8726 MB / 367.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01199, allocations: 0 / 367.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01199, allocations: 0 / 367.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.01201, allocations: 0 / 367.1 MB, free: 15.02 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001714/0.01372, allocations: 1.338 MB / 368.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.01376, allocations: 8.922 kB / 368.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.01399, allocations: 152.4 kB / 368.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.01458, allocations: 0.4884 MB / 369.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.01466, allocations: 80.27 kB / 369.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.01476, allocations: 80.33 kB / 369.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.01553, allocations: 0.5412 MB / 369.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01555, allocations: 192 / 369.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.0156, allocations: 36.06 kB / 369.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.01562, allocations: 20 kB / 369.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.01618, allocations: 299.8 kB / 370.1 MB, free: 11.91 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(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.01924, allocations: 2.191 MB / 372.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.02062, allocations: 0.6494 MB / 372.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.02088, allocations: 149.1 kB / 373.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.02093, allocations: 12.5 kB / 373.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.02096, allocations: 41.89 kB / 373.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.093e-06/0.02096, allocations: 0 / 373.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.00179/0.02275, allocations: 0.9125 MB / 374.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.02279, allocations: 63.91 kB / 374.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.02312, allocations: 410.6 kB / 374.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.02317, allocations: 37.7 kB / 374.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.02335, allocations: 379.3 kB / 374.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.02372, allocations: 246 kB / 375.2 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.02393, allocations: 136.3 kB / 375.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.02413, allocations: 0.543 MB / 375.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.02448, allocations: 179.6 kB / 376 MB, free: 5.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.0248, allocations: 240.4 kB / 376.3 MB, free: 5.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.02563, allocations: 0.5405 MB / 376.8 MB, free: 4.973 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.02563, allocations: 4 kB / 376.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001292/0.02692, allocations: 0.7399 MB / 377.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.02695, allocations: 4 kB / 377.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.02696, allocations: 7.938 kB / 377.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009597/0.02792, allocations: 352.6 kB / 377.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/0.02842, allocations: 187.8 kB / 378.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/0.03654, allocations: 17.68 MB / 395.8 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.03694, allocations: 71.53 kB / 395.8 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.03698, allocations: 27.98 kB / 395.9 MB, free: 0.5508 MB / 362.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.0002976/0.03728, allocations: 200.5 kB / 396.1 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.03738, allocations: 71.61 kB / 396.1 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.03839, allocations: 0.6571 MB / 396.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.0384, allocations: 4 kB / 396.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.0384, allocations: 4 kB / 396.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.03841, allocations: 3.984 kB / 396.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.04002, allocations: 1.284 MB / 398.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.04002, allocations: 3.938 kB / 398.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.04055, allocations: 172 kB / 398.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000877/0.04143, allocations: 336.5 kB / 398.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.04149, allocations: 31.98 kB / 398.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006967/0.04845, allocations: 17.42 MB / 416 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.04846, allocations: 3.984 kB / 416 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.05012, allocations: 0.9534 MB / 417 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.05021, allocations: 63.53 kB / 417.1 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.05028, allocations: 27.98 kB / 417.1 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.0505, allocations: 35.97 kB / 417.1 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.05063, allocations: 60.28 kB / 417.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.05066, allocations: 19.98 kB / 417.2 MB, free: 9.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.05087, allocations: 279.1 kB / 417.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05087, allocations: 0 / 417.5 MB, free: 9.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.05165, allocations: 299.5 kB / 417.8 MB, free: 9.137 MB / 394.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.0001791/0.05183, allocations: 141.8 kB / 417.9 MB, free: 8.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.05341, allocations: 2.093 MB / 420 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.05341, allocations: 4 kB / 420 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.05443, allocations: 1.881 MB / 421.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.05495, allocations: 145.3 kB / 422 MB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.05845, allocations: 2.312 MB / 424.3 MB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.05865, allocations: 211.5 kB / 424.5 MB, free: 1.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.05893, allocations: 124.5 kB / 424.7 MB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.05907, allocations: 44.5 kB / 424.7 MB, free: 1.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.05907, allocations: 4 kB / 424.7 MB, free: 1.758 MB / 394.7 MB Notification: Performance of Templates: time 0.01652/0.07558, allocations: 13.81 MB / 438.5 MB, free: 4.156 MB / 410.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.609849242027849]