Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.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.001337/0.001337, allocations: 106.4 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.00142/0.00142, 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.386/1.386, allocations: 225.6 MB / 249.9 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.1004/0.1004, allocations: 22.7 MB / 327.7 MB, free: 2.875 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_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 63.89 kB / 461 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1341, allocations: 58.04 MB / 0.5069 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.006153/0.1403, allocations: 4.405 MB / 0.5112 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1998/0.34, allocations: 1.252 MB / 0.5124 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.3406, allocations: 15.75 kB / 0.5124 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.341, allocations: 172.4 kB / 0.5126 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007295/0.3418, allocations: 448.4 kB / 0.513 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007565/0.3425, allocations: 309.2 kB / 0.5133 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3443, allocations: 2.151 MB / 0.5154 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.3457, allocations: 1.334 MB / 0.5167 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3467, allocations: 0.8211 MB / 0.5175 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.348, allocations: 1.009 MB / 0.5185 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.3484, allocations: 235.6 kB / 0.5187 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3488, allocations: 237.9 kB / 0.519 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000603/0.3494, allocations: 0.7025 MB / 0.5196 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009234/0.3503, allocations: 0.9171 MB / 0.5205 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.3529, allocations: 2.598 MB / 0.5231 GB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3529, allocations: 0 / 0.5231 GB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3529, allocations: 0 / 0.5231 GB, free: 8.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.3529, allocations: 1.406 kB / 0.5231 GB, free: 8.945 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.004519/0.3575, allocations: 2.05 MB / 0.5251 GB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3575, allocations: 7.094 kB / 0.5251 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.3578, allocations: 154.7 kB / 0.5252 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.3592, allocations: 0.8692 MB / 0.5261 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.3593, allocations: 113.1 kB / 0.5262 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.3595, allocations: 139.1 kB / 0.5263 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.3623, allocations: 1.59 MB / 0.5279 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3623, allocations: 1.156 kB / 0.5279 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.3625, allocations: 49.31 kB / 0.5279 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.3625, allocations: 29.31 kB / 0.528 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.3647, allocations: 1.424 MB / 0.5293 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009571/0.3743, allocations: 7.123 MB / 0.5363 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004705/0.379, allocations: 1.868 MB / 0.5381 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.3806, allocations: 0.7057 MB / 0.5388 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.3807, allocations: 20.36 kB / 0.5388 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3808, allocations: 42.66 kB / 0.5389 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 3.246e-06/0.3808, allocations: 5.188 kB / 0.5389 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007641/0.3884, allocations: 3.929 MB / 0.5427 GB, free: 12.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3885, allocations: 67.34 kB / 0.5428 GB, free: 12.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3896, allocations: 0.6861 MB / 0.5434 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.3898, allocations: 40.39 kB / 0.5435 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.3902, allocations: 0.5178 MB / 0.544 GB, free: 11.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.3908, allocations: 435.8 kB / 0.5444 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/0.3912, allocations: 233.2 kB / 0.5446 GB, free: 11.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.3915, allocations: 417.8 kB / 0.545 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3929, allocations: 0.8493 MB / 0.5459 GB, free: 10.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.3944, allocations: 1.007 MB / 0.5468 GB, free: 9.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/0.409, allocations: 4.441 MB / 0.5512 GB, free: 7.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.409, allocations: 0 / 0.5512 GB, free: 7.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005115/0.4141, allocations: 2.467 MB / 0.5536 GB, free: 5.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4142, allocations: 7.094 kB / 0.5536 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4142, allocations: 6.578 kB / 0.5536 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.4161, allocations: 0.5386 MB / 0.5541 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.4181, allocations: 399.5 kB / 0.5545 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/0.438, allocations: 23.05 MB / 0.577 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.4396, allocations: 147.1 kB / 0.5772 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.4397, allocations: 47.98 kB / 0.5772 GB, free: 11.64 MB / 430.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.0009331/0.4406, allocations: 424.9 kB / 0.5776 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.4409, allocations: 99.39 kB / 0.5777 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.4449, allocations: 1.967 MB / 0.5796 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4449, allocations: 12 kB / 0.5796 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.4449, allocations: 4.094 kB / 0.5796 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.4449, allocations: 7.969 kB / 0.5796 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/0.4513, allocations: 3.552 MB / 0.5831 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4513, allocations: 4 kB / 0.5831 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.4534, allocations: 335.6 kB / 0.5834 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.4548, allocations: 480.7 kB / 0.5839 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.455, allocations: 63.97 kB / 0.584 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.4734, allocations: 22.16 MB / 0.6056 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4734, allocations: 4 kB / 0.6056 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/0.4788, allocations: 2.731 MB / 0.6083 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.4792, allocations: 196.2 kB / 0.6085 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.4794, allocations: 63.98 kB / 0.6085 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.4802, allocations: 55.92 kB / 0.6086 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.4805, allocations: 100.7 kB / 0.6087 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/0.4806, allocations: 28 kB / 0.6087 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.4813, allocations: 487 kB / 0.6092 GB, free: 8.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4813, allocations: 0 / 0.6092 GB, free: 8.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001682/0.483, allocations: 0.5032 MB / 0.6097 GB, free: 7.988 MB / 462.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.000287/0.4833, allocations: 182.9 kB / 0.6098 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.4881, allocations: 3.354 MB / 0.6131 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4881, allocations: 0 / 0.6131 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.4913, allocations: 2.449 MB / 0.6155 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.4927, allocations: 313.4 kB / 0.6158 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.5029, allocations: 5.686 MB / 0.6213 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.5041, allocations: 1.272 MB / 0.6226 GB, free: 10.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.5047, allocations: 79.42 kB / 0.6227 GB, free: 10.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5047, allocations: 3.938 kB / 0.6227 GB, free: 10.2 MB / 478.1 MB Notification: Performance of Templates: time 0.09167/0.5964, allocations: 81.28 MB / 0.702 GB, free: 8.836 MB / 0.545 GB [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 480]