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.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.0007369/0.0007369, allocations: 71.59 kB / 20.8 MB, free: 3.711 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.0007808/0.0007808, allocations: 165.3 kB / 24.09 MB, free: 424 kB / 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 0.9016/0.9016, allocations: 177.1 MB / 204.4 MB, free: 5.707 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.06082/0.06082, allocations: 18.12 MB / 279 MB, free: 11.49 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_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 1.673e-06/1.673e-06, allocations: 0 / 416.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.532e-05, allocations: 6.281 kB / 416.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.003176/0.003202, allocations: 3.937 MB / 420.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.004567, allocations: 1.28 MB / 421.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.004755, allocations: 21.09 kB / 421.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.005052, allocations: 167.4 kB / 422 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.005531, allocations: 464.7 kB / 422.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.006045, allocations: 316.9 kB / 422.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.007389, allocations: 2.217 MB / 424.9 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009813/0.00837, allocations: 1.161 MB / 426.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000683/0.009053, allocations: 0.8166 MB / 426.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008947/0.009948, allocations: 0.8681 MB / 427.8 MB, free: 6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.01019, allocations: 235.9 kB / 428 MB, free: 6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.01046, allocations: 237.4 kB / 428.2 MB, free: 6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.01091, allocations: 0.7366 MB / 429 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.01146, allocations: 0.6948 MB / 429.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.01324, allocations: 2.71 MB / 432.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01324, allocations: 0 / 432.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01324, allocations: 0 / 432.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.01326, allocations: 4 kB / 432.4 MB, free: 4.055 MB / 330.7 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.002431/0.01569, allocations: 1.959 MB / 434.3 MB, free: 2.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.01573, allocations: 9.828 kB / 434.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.01594, allocations: 152 kB / 434.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.0168, allocations: 0.7983 MB / 435.3 MB, free: 2.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.01688, allocations: 117.1 kB / 435.4 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.01706, allocations: 141.8 kB / 435.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.01885, allocations: 1.611 MB / 437.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.01887, allocations: 4.188 kB / 437.2 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.01896, allocations: 53.88 kB / 437.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.01899, allocations: 28.72 kB / 437.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.02056, allocations: 1.42 MB / 438.7 MB, free: 232 kB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(delivery.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/0.02652, allocations: 4.715 MB / 443.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.02941, allocations: 1.871 MB / 445.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.03035, allocations: 0.7222 MB / 446 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.03041, allocations: 13 kB / 446 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.03043, allocations: 47.55 kB / 446 MB, free: 10.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 5.15e-06/0.03044, allocations: 0 / 446 MB, free: 10.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.006046/0.03649, allocations: 4.657 MB / 450.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.03652, allocations: 64.41 kB / 450.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.03711, allocations: 0.6642 MB / 451.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.03718, allocations: 45.7 kB / 451.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.03741, allocations: 0.524 MB / 452 MB, free: 4.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.03773, allocations: 436.3 kB / 452.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.038, allocations: 243.6 kB / 452.7 MB, free: 3.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.03814, allocations: 418.6 kB / 453.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/0.03899, allocations: 0.8508 MB / 453.9 MB, free: 2.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/0.03992, allocations: 1.021 MB / 454.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.04695, allocations: 4.491 MB / 459.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.04695, allocations: 0 / 459.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002736/0.04969, allocations: 2.485 MB / 461.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.04971, allocations: 4 kB / 461.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.04972, allocations: 11.94 kB / 461.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008541/0.05058, allocations: 0.5399 MB / 462.5 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.05154, allocations: 399.5 kB / 462.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00986/0.0614, allocations: 21.07 MB / 483.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.06206, allocations: 79.81 kB / 484 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.06214, allocations: 51.98 kB / 484.1 MB, free: 2.465 MB / 378.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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.pipeline.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (159): * Single equations (assignments): 144 * 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.0005935/0.06273, allocations: 417.5 kB / 484.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.06284, allocations: 95.39 kB / 484.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.06502, allocations: 2.006 MB / 486.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.06502, allocations: 8 kB / 486.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.06503, allocations: 8 kB / 486.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.06503, allocations: 7.969 kB / 486.6 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.06905, allocations: 3.519 MB / 490.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.06905, allocations: 96 / 490.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.07009, allocations: 344 kB / 490.4 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006263/0.07072, allocations: 488.4 kB / 490.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.07082, allocations: 71.95 kB / 491 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00908/0.0799, allocations: 20.2 MB / 0.4992 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.0799, allocations: 4 kB / 0.4992 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.08276, allocations: 2.799 MB / 0.5019 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.08294, allocations: 99.41 kB / 0.502 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.08307, allocations: 55.98 kB / 0.5021 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.08346, allocations: 59.92 kB / 0.5022 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.08367, allocations: 104.7 kB / 0.5023 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.08373, allocations: 31.98 kB / 0.5023 GB, free: 2.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004019/0.08413, allocations: 467.1 kB / 0.5027 GB, free: 1.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08413, allocations: 3.938 kB / 0.5027 GB, free: 1.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001146/0.08527, allocations: 452 kB / 0.5032 GB, free: 1.414 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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.0001929/0.08547, allocations: 181.5 kB / 0.5033 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.08825, allocations: 3.366 MB / 0.5066 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.08825, allocations: 4 kB / 0.5066 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.08971, allocations: 2.448 MB / 0.509 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.09045, allocations: 316.9 kB / 0.5093 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.09547, allocations: 4.774 MB / 0.514 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.09596, allocations: 0.6748 MB / 0.5146 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005279/0.09649, allocations: 351.6 kB / 0.515 GB, free: 4.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.09671, allocations: 84.47 kB / 0.5151 GB, free: 4.746 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.09672, allocations: 0 / 0.5151 GB, free: 4.746 MB / 426.7 MB Notification: Performance of Templates: time 0.02437/0.1211, allocations: 24.73 MB / 0.5392 GB, free: 12.36 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.7767077507451177] Failed to read output from testmodel.py, exit status != 0: 0.1265742313116789 0.13500440399999994 0.12010015499999994 Calling exit ...