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.001414/0.001414, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 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.001691/0.001691, allocations: 209.5 kB / 23.01 MB, free: 4.621 MB / 14.72 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.1123/0.1123, allocations: 24.03 MB / 337.2 MB, free: 11.38 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 75.89 kB / 474.3 MB, free: 5.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4213, allocations: 59.56 MB / 0.5214 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004122/0.4254, allocations: 3.064 MB / 0.5244 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.4273, allocations: 0.949 MB / 0.5253 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.4276, allocations: 8.906 kB / 0.5253 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.4278, allocations: 107.8 kB / 0.5254 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.4283, allocations: 262.6 kB / 0.5257 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.429, allocations: 196.5 kB / 0.5259 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4302, allocations: 1.241 MB / 0.5271 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.4312, allocations: 0.6514 MB / 0.5277 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/0.432, allocations: 499.5 kB / 0.5282 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009426/0.4329, allocations: 0.5266 MB / 0.5287 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.4332, allocations: 132.9 kB / 0.5288 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.4335, allocations: 133.1 kB / 0.5289 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.4339, allocations: 403.5 kB / 0.5293 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.4345, allocations: 465 kB / 0.5298 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.4364, allocations: 1.467 MB / 0.5312 GB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4364, allocations: 4 kB / 0.5312 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4364, allocations: 1.156 kB / 0.5312 GB, free: 5.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.4365, allocations: 0 / 0.5312 GB, free: 5.059 MB / 382.1 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.003747/0.4402, allocations: 1.236 MB / 0.5324 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.4403, allocations: 12.17 kB / 0.5324 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.4405, allocations: 89.17 kB / 0.5325 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4416, allocations: 0.5038 MB / 0.533 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.4417, allocations: 82.89 kB / 0.5331 GB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.4419, allocations: 81.06 kB / 0.5332 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.4438, allocations: 0.9539 MB / 0.5341 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.4438, allocations: 1.812 kB / 0.5341 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.4439, allocations: 33.5 kB / 0.5341 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.4439, allocations: 17.78 kB / 0.5341 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.4454, allocations: 0.8073 MB / 0.5349 GB, free: 3.148 MB / 382.1 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.006184/0.4516, allocations: 2.684 MB / 0.5376 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.4544, allocations: 1.014 MB / 0.5385 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.455, allocations: 405.8 kB / 0.5389 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.4551, allocations: 11.38 kB / 0.5389 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4551, allocations: 38.11 kB / 0.539 GB, free: 1.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=58): time 3.266e-06/0.4551, allocations: 1.094 kB / 0.539 GB, free: 1.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.004114/0.4592, allocations: 1.613 MB / 0.5406 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4593, allocations: 58.78 kB / 0.5406 GB, free: 0.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.4598, allocations: 400.8 kB / 0.541 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.4599, allocations: 36.45 kB / 0.541 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.4601, allocations: 333.9 kB / 0.5413 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.4604, allocations: 250.8 kB / 0.5416 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.4607, allocations: 123 kB / 0.5417 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4608, allocations: 365.9 kB / 0.5421 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.4616, allocations: 453.5 kB / 0.5425 GB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.4623, allocations: 0.4977 MB / 0.543 GB, free: 14.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/0.4699, allocations: 2.362 MB / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4699, allocations: 0 / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002761/0.4726, allocations: 1.336 MB / 0.5466 GB, free: 12.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4727, allocations: 14.02 kB / 0.5466 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4727, allocations: 0.9375 kB / 0.5466 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4739, allocations: 342.7 kB / 0.5469 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.4748, allocations: 183.3 kB / 0.5471 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.4881, allocations: 13.86 MB / 0.5606 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4891, allocations: 76.22 kB / 0.5607 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.4892, allocations: 24.38 kB / 0.5607 GB, free: 14.82 MB / 414.1 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.000708/0.4899, allocations: 279.2 kB / 0.561 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.49, allocations: 52.02 kB / 0.561 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.4925, allocations: 1.14 MB / 0.5622 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4926, allocations: 5.625 kB / 0.5622 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.4926, allocations: 2.594 kB / 0.5622 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4926, allocations: 1.031 kB / 0.5622 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.4965, allocations: 1.861 MB / 0.564 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4965, allocations: 1.156 kB / 0.564 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.4975, allocations: 166.8 kB / 0.5641 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009313/0.4984, allocations: 308.4 kB / 0.5644 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.4985, allocations: 35.86 kB / 0.5645 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.511, allocations: 13.43 MB / 0.5776 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.511, allocations: 5.062 kB / 0.5776 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.5149, allocations: 1.603 MB / 0.5792 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004078/0.5153, allocations: 63.53 kB / 0.5792 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/0.5156, allocations: 36.17 kB / 0.5793 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.5162, allocations: 27.91 kB / 0.5793 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.5164, allocations: 60.28 kB / 0.5793 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.5165, allocations: 19.98 kB / 0.5794 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004241/0.5169, allocations: 279.2 kB / 0.5796 GB, free: 13.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5169, allocations: 4 kB / 0.5796 GB, free: 13.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001466/0.5184, allocations: 299.5 kB / 0.5799 GB, free: 12.77 MB / 430.1 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.0002726/0.5186, allocations: 145.7 kB / 0.5801 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.5218, allocations: 2.008 MB / 0.582 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.5218, allocations: 0 / 0.582 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.5237, allocations: 1.549 MB / 0.5835 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008976/0.5246, allocations: 167.3 kB / 0.5837 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.5306, allocations: 3.09 MB / 0.5867 GB, free: 5.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.5313, allocations: 416.5 kB / 0.5871 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.5318, allocations: 168.5 kB / 0.5873 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.532, allocations: 39.44 kB / 0.5873 GB, free: 4.879 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.532, allocations: 0 / 0.5873 GB, free: 4.879 MB / 430.1 MB Notification: Performance of Templates: time 0.02723/0.5593, allocations: 14.59 MB / 0.6015 GB, free: 6.5 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.001316519454122] Failed to read output from testmodel.py, exit status != 0: 0.5698965322226286 0.5858532719999999 0.14598048699999994 Calling exit ...