Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.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.09478/0.09478, allocations: 22.68 MB / 327.2 MB, free: 7.219 MB / 254.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.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_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 65.12 kB / 460.6 MB, free: 41.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1312, allocations: 58.03 MB / 0.5065 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.003999/0.1352, allocations: 4.426 MB / 0.5108 GB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1372, allocations: 1.271 MB / 0.5121 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1374, allocations: 15.88 kB / 0.5121 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.1377, allocations: 170.6 kB / 0.5123 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.1383, allocations: 445.5 kB / 0.5127 GB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.139, allocations: 311.6 kB / 0.513 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.1413, allocations: 2.157 MB / 0.5151 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.1428, allocations: 1.157 MB / 0.5162 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1438, allocations: 0.8262 MB / 0.517 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.1452, allocations: 0.9972 MB / 0.518 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.1455, allocations: 236 kB / 0.5182 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.1458, allocations: 236 kB / 0.5184 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.1465, allocations: 0.7053 MB / 0.5191 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1476, allocations: 0.9223 MB / 0.52 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.1502, allocations: 2.601 MB / 0.5226 GB, free: 6.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1502, allocations: 0 / 0.5226 GB, free: 6.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1502, allocations: 0 / 0.5226 GB, free: 6.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.1503, allocations: 0 / 0.5226 GB, free: 6.102 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004681/0.1549, allocations: 2.045 MB / 0.5246 GB, free: 3.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.155, allocations: 12.69 kB / 0.5246 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.1553, allocations: 156 kB / 0.5247 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1567, allocations: 0.8725 MB / 0.5256 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.1568, allocations: 116.6 kB / 0.5257 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.1571, allocations: 140.3 kB / 0.5258 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.1599, allocations: 1.585 MB / 0.5274 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.1599, allocations: 0 / 0.5274 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1601, allocations: 52 kB / 0.5274 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.1602, allocations: 28 kB / 0.5275 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.1628, allocations: 1.419 MB / 0.5288 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.1738, allocations: 7.13 MB / 0.5358 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004992/0.1788, allocations: 1.87 MB / 0.5376 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.1801, allocations: 0.7041 MB / 0.5383 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.1802, allocations: 16.97 kB / 0.5383 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.1802, allocations: 43.56 kB / 0.5384 GB, free: 5.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 3.196e-06/0.1802, allocations: 0 / 0.5384 GB, free: 5.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007651/0.1879, allocations: 3.944 MB / 0.5422 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1879, allocations: 60.41 kB / 0.5423 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.189, allocations: 0.6916 MB / 0.543 GB, free: 212 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.1891, allocations: 41.7 kB / 0.543 GB, free: 164 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.1895, allocations: 0.5161 MB / 0.5435 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000465/0.19, allocations: 432.4 kB / 0.5439 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/0.1905, allocations: 239.6 kB / 0.5441 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.1907, allocations: 414.7 kB / 0.5445 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.1921, allocations: 0.8429 MB / 0.5454 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.1936, allocations: 1.008 MB / 0.5463 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/0.207, allocations: 4.439 MB / 0.5507 GB, free: 8.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.207, allocations: 4 kB / 0.5507 GB, free: 8.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004799/0.2118, allocations: 2.473 MB / 0.5531 GB, free: 5.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2119, allocations: 8 kB / 0.5531 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.2119, allocations: 4 kB / 0.5531 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/0.2137, allocations: 0.5356 MB / 0.5536 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.2155, allocations: 399.5 kB / 0.554 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.2351, allocations: 23.04 MB / 0.5765 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.2366, allocations: 147.1 kB / 0.5767 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.2367, allocations: 47.98 kB / 0.5767 GB, free: 11.21 MB / 446.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: 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 (157): * Single equations (assignments): 142 * 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.001046/0.2378, allocations: 436.9 kB / 0.5771 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.238, allocations: 95.39 kB / 0.5772 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.2417, allocations: 1.963 MB / 0.5791 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2417, allocations: 12 kB / 0.5791 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2417, allocations: 4 kB / 0.5791 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2417, allocations: 3.984 kB / 0.5791 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.2474, allocations: 3.566 MB / 0.5826 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2474, allocations: 0 / 0.5826 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.2493, allocations: 335.6 kB / 0.5829 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.2507, allocations: 472.8 kB / 0.5834 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.2508, allocations: 67.97 kB / 0.5835 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.2682, allocations: 22.17 MB / 0.6051 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2682, allocations: 0 / 0.6051 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.2732, allocations: 2.727 MB / 0.6078 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.2735, allocations: 200.2 kB / 0.608 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.2737, allocations: 63.97 kB / 0.608 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007226/0.2744, allocations: 55.92 kB / 0.6081 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/0.2747, allocations: 92.77 kB / 0.6082 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/0.2748, allocations: 31.98 kB / 0.6082 GB, free: 8.512 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.2755, allocations: 483 kB / 0.6087 GB, free: 8.043 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2755, allocations: 4 kB / 0.6087 GB, free: 8.039 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001498/0.277, allocations: 0.4955 MB / 0.6091 GB, free: 7.543 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 42 (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],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 (89): * Single equations (assignments): 74 * 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.0002894/0.2773, allocations: 193.6 kB / 0.6093 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.2819, allocations: 3.354 MB / 0.6126 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.2819, allocations: 4 kB / 0.6126 GB, free: 3.793 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/0.2849, allocations: 2.448 MB / 0.615 GB, free: 1.148 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.2862, allocations: 306.5 kB / 0.6153 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2948/0.5811, allocations: 5.59 MB / 0.6208 GB, free: 100.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/0.582, allocations: 1.262 MB / 0.622 GB, free: 99.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.5833, allocations: 357.1 kB / 0.6223 GB, free: 99.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.5836, allocations: 81.44 kB / 0.6224 GB, free: 99.63 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5836, allocations: 0 / 0.6224 GB, free: 99.63 MB / 478.1 MB Notification: Performance of Templates: time 0.0408/0.6244, allocations: 23.8 MB / 0.6456 GB, free: 88.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.278884921222925]