Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 101.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 250 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09902/0.09902, allocations: 22.69 MB / 327.7 MB, free: 2.969 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 461 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 58.02 MB / 0.5069 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005586/0.1243, allocations: 4.444 MB / 0.5112 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2123/0.3366, allocations: 1.269 MB / 0.5125 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.3372, allocations: 19.62 kB / 0.5125 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.3375, allocations: 171.6 kB / 0.5126 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007099/0.3382, allocations: 452.3 kB / 0.5131 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.3389, allocations: 315.9 kB / 0.5134 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3406, allocations: 2.173 MB / 0.5155 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.3419, allocations: 1.332 MB / 0.5168 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.3428, allocations: 0.8464 MB / 0.5176 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3441, allocations: 0.9996 MB / 0.5186 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003544/0.3445, allocations: 229.8 kB / 0.5188 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3449, allocations: 231.2 kB / 0.519 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.3455, allocations: 0.6857 MB / 0.5197 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009622/0.3464, allocations: 0.9199 MB / 0.5206 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.349, allocations: 2.577 MB / 0.5231 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.349, allocations: 0 / 0.5231 GB, free: 8.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.349, allocations: 4 kB / 0.5231 GB, free: 8.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.349, allocations: 1.094 kB / 0.5231 GB, free: 8.918 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.004466/0.3535, allocations: 2.042 MB / 0.5251 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3535, allocations: 8.969 kB / 0.5251 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3538, allocations: 160.9 kB / 0.5253 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.3551, allocations: 0.8707 MB / 0.5261 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/0.3552, allocations: 119.2 kB / 0.5263 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.3555, allocations: 143.1 kB / 0.5264 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.3581, allocations: 1.588 MB / 0.5279 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.3582, allocations: 0 / 0.5279 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.3583, allocations: 47.03 kB / 0.528 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.3583, allocations: 28.31 kB / 0.528 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.3604, allocations: 1.41 MB / 0.5294 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009077/0.3695, allocations: 7.094 MB / 0.5363 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.374, allocations: 1.858 MB / 0.5381 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.3752, allocations: 0.7176 MB / 0.5388 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-05/0.3753, allocations: 16.38 kB / 0.5388 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.3753, allocations: 43.97 kB / 0.5389 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.535e-06/0.3753, allocations: 0 / 0.5389 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.007234/0.3826, allocations: 3.927 MB / 0.5427 GB, free: 12.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.3826, allocations: 62.44 kB / 0.5428 GB, free: 12.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3836, allocations: 0.6847 MB / 0.5435 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.3837, allocations: 45.36 kB / 0.5435 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.3841, allocations: 0.519 MB / 0.544 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004964/0.3846, allocations: 439.9 kB / 0.5444 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.3851, allocations: 242.3 kB / 0.5447 GB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.3853, allocations: 414.2 kB / 0.545 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3867, allocations: 0.8481 MB / 0.5459 GB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3883, allocations: 1.002 MB / 0.5469 GB, free: 9.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.4025, allocations: 4.467 MB / 0.5512 GB, free: 7.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.4025, allocations: 0 / 0.5512 GB, free: 7.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005469/0.408, allocations: 2.458 MB / 0.5536 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.408, allocations: 7.594 kB / 0.5536 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.408, allocations: 9.484 kB / 0.5536 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.4099, allocations: 0.5333 MB / 0.5542 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4118, allocations: 403.4 kB / 0.5545 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.431, allocations: 23.07 MB / 0.5771 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4325, allocations: 147.6 kB / 0.5772 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.4329, allocations: 51.98 kB / 0.5773 GB, free: 11.59 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 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 CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (160): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 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%), (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.001217/0.4341, allocations: 426.1 kB / 0.5777 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/0.4345, allocations: 95.95 kB / 0.5778 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.4386, allocations: 1.983 MB / 0.5797 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4386, allocations: 8 kB / 0.5797 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.4386, allocations: 4 kB / 0.5797 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4386, allocations: 3.984 kB / 0.5797 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.4453, allocations: 3.704 MB / 0.5833 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4453, allocations: 0 / 0.5833 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.4473, allocations: 347.9 kB / 0.5837 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.4487, allocations: 480.5 kB / 0.5841 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/0.4489, allocations: 67.95 kB / 0.5842 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/0.4666, allocations: 22.17 MB / 0.6058 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4666, allocations: 4.031 kB / 0.6058 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/0.4722, allocations: 2.725 MB / 0.6085 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/0.4727, allocations: 200.2 kB / 0.6087 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.473, allocations: 59.98 kB / 0.6087 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.474, allocations: 55.92 kB / 0.6088 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.4743, allocations: 104.7 kB / 0.6089 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.4745, allocations: 31.98 kB / 0.6089 GB, free: 8.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008401/0.4753, allocations: 475 kB / 0.6094 GB, free: 8.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4753, allocations: 0 / 0.6094 GB, free: 8.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002056/0.4773, allocations: 0.4993 MB / 0.6099 GB, free: 7.773 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,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],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.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 (92): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 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%), (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.0003392/0.4777, allocations: 184.3 kB / 0.61 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005016/0.4827, allocations: 3.354 MB / 0.6133 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4827, allocations: 1.312 kB / 0.6133 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.4858, allocations: 2.447 MB / 0.6157 GB, free: 1.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.4875, allocations: 318.2 kB / 0.616 GB, free: 1.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.4985, allocations: 5.727 MB / 0.6216 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.4999, allocations: 1.271 MB / 0.6228 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000789/0.5007, allocations: 95.36 kB / 0.6229 GB, free: 9.941 MB / 478.1 MB Notification: Performance of SimCode: time 1.412e-06/0.5007, allocations: 0 / 0.6229 GB, free: 9.941 MB / 478.1 MB Notification: Performance of Templates: time 0.09224/0.5929, allocations: 81.94 MB / 0.703 GB, free: 7.918 MB / 0.545 GB [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 480]