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.00132/0.00132, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001098/0.001098, allocations: 177 kB / 24.07 MB, free: 436 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 1.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.06477/0.06477, allocations: 18.14 MB / 279.2 MB, free: 11.15 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.703e-06/1.703e-06, allocations: 0 / 357.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.222e-05, allocations: 6.312 kB / 357.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.003919/0.003941, allocations: 4.293 MB / 362.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.006006, allocations: 1.278 MB / 363.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.006266, allocations: 19.81 kB / 363.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.00655, allocations: 174.5 kB / 363.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.007089, allocations: 461 kB / 364 MB, free: 2.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.007726, allocations: 327.3 kB / 364.3 MB, free: 2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.009325, allocations: 2.215 MB / 366.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.01053, allocations: 1.208 MB / 367.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.0116, allocations: 0.8265 MB / 368.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.0129, allocations: 0.9316 MB / 369.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.01331, allocations: 236 kB / 369.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.01359, allocations: 236 kB / 369.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.01402, allocations: 0.7445 MB / 370.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006173/0.01463, allocations: 0.694 MB / 371.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.01576, allocations: 1.527 MB / 372.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01576, allocations: 0 / 372.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01576, allocations: 0 / 372.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.01578, allocations: 0 / 372.9 MB, free: 9.336 MB / 346.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.002307/0.01809, allocations: 1.926 MB / 374.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01813, allocations: 12.92 kB / 374.8 MB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.01841, allocations: 244 kB / 375.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.01911, allocations: 0.7089 MB / 375.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.01919, allocations: 116.6 kB / 375.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.01935, allocations: 136.3 kB / 376 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.02029, allocations: 0.7485 MB / 376.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.02031, allocations: 8.172 kB / 376.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.02039, allocations: 52.12 kB / 376.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.02041, allocations: 28 kB / 376.9 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.02101, allocations: 401.5 kB / 377.3 MB, free: 4.84 MB / 346.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.004461/0.02547, allocations: 3.562 MB / 380.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.0273, allocations: 0.9989 MB / 381.8 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.0276, allocations: 210.6 kB / 382 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.02766, allocations: 17 kB / 382.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.02769, allocations: 50.33 kB / 382.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.02769, allocations: 4 kB / 382.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.003828/0.03152, allocations: 2.249 MB / 384.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.03155, allocations: 64.41 kB / 384.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.03198, allocations: 0.6045 MB / 385 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.03204, allocations: 49.69 kB / 385.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.03231, allocations: 0.5657 MB / 385.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.03257, allocations: 460.2 kB / 386.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.03286, allocations: 249.1 kB / 386.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.03308, allocations: 0.6169 MB / 386.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.03344, allocations: 278.1 kB / 387.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.03389, allocations: 0.4975 MB / 387.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.03499, allocations: 0.9484 MB / 388.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.03499, allocations: 0 / 388.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001571/0.03656, allocations: 1.222 MB / 389.9 MB, free: 7.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.03658, allocations: 4 kB / 389.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.03659, allocations: 8 kB / 389.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.03782, allocations: 0.5457 MB / 390.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.03868, allocations: 371.6 kB / 390.8 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.04966, allocations: 26.34 MB / 417.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/0.05052, allocations: 48.19 kB / 417.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.05059, allocations: 32 kB / 417.2 MB, free: 10.51 MB / 394.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.0004784/0.05106, allocations: 240.2 kB / 417.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.05124, allocations: 135.3 kB / 417.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.05259, allocations: 1.04 MB / 418.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.05259, allocations: 12 kB / 418.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.0526, allocations: 4 kB / 418.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.05261, allocations: 4.078 kB / 418.7 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.05544, allocations: 2.114 MB / 420.8 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.05545, allocations: 7.984 kB / 420.8 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.05642, allocations: 316 kB / 421.1 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.05747, allocations: 0.4989 MB / 421.6 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.05758, allocations: 63.95 kB / 421.6 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1574/0.215, allocations: 25.81 MB / 447.5 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.215, allocations: 6.719 kB / 447.5 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.217, allocations: 1.466 MB / 448.9 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2172, allocations: 103.9 kB / 449 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2173, allocations: 59.05 kB / 449.1 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.2177, allocations: 24.2 kB / 449.1 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.2179, allocations: 102.2 kB / 449.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.2179, allocations: 25.58 kB / 449.2 MB, free: 105.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.2181, allocations: 378.1 kB / 449.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2181, allocations: 0.5 kB / 449.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001086/0.2192, allocations: 452.4 kB / 450 MB, free: 105.4 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.0002064/0.2194, allocations: 185.9 kB / 450.2 MB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.2211, allocations: 3.221 MB / 453.5 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2211, allocations: 3.188 kB / 453.5 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.2222, allocations: 2.865 MB / 456.3 MB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.2229, allocations: 281.6 kB / 456.6 MB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.2274, allocations: 3.984 MB / 460.6 MB, free: 98.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2277, allocations: 331.4 kB / 460.9 MB, free: 98.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.2282, allocations: 124.3 kB / 461 MB, free: 98.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/0.2287, allocations: 345 kB / 461.4 MB, free: 98.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2287, allocations: 0 / 461.4 MB, free: 98.11 MB / 410.7 MB Notification: Performance of Templates: time 0.02943/0.2581, allocations: 26.87 MB / 488.2 MB, free: 93.79 MB / 410.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.945214335806668]