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.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.001422/0.001422, allocations: 91.56 kB / 20.46 MB, free: 4.113 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.001518/0.001518, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 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.011/1.011, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.0669/0.0669, allocations: 18.13 MB / 278.9 MB, free: 11.32 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_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 1.894e-06/1.894e-06, allocations: 3.938 kB / 357.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.864e-05, allocations: 2.312 kB / 357.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005307/0.005335, allocations: 4.382 MB / 361.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.00763, allocations: 1.298 MB / 363 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.007941, allocations: 27.75 kB / 363 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.008272, allocations: 174.5 kB / 363.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009172/0.009189, allocations: 468.9 kB / 363.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.009865, allocations: 327.3 kB / 364 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.0116, allocations: 2.231 MB / 366.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.0128, allocations: 1.224 MB / 367.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.01373, allocations: 0.8459 MB / 368.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.01493, allocations: 0.9276 MB / 369.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.01523, allocations: 232 kB / 369.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.01554, allocations: 232 kB / 369.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005454/0.01609, allocations: 0.7289 MB / 370.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009535/0.01704, allocations: 0.694 MB / 371.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.01852, allocations: 1.519 MB / 372.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01853, allocations: 0 / 372.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01853, allocations: 0 / 372.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.01855, allocations: 4 kB / 372.6 MB, free: 8.414 MB / 298.7 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.003214/0.02176, allocations: 2.074 MB / 374.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.0218, allocations: 12.92 kB / 374.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.02218, allocations: 252 kB / 374.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.02331, allocations: 0.7815 MB / 375.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.02342, allocations: 120.6 kB / 375.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.02364, allocations: 136.3 kB / 376 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.02523, allocations: 0.8541 MB / 376.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.02526, allocations: 192 / 376.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.02538, allocations: 56.12 kB / 376.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.0254, allocations: 32 kB / 376.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.02662, allocations: 0.4979 MB / 377.4 MB, free: 3.48 MB / 298.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.006415/0.03303, allocations: 3.728 MB / 381.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.036, allocations: 1.147 MB / 382.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.03659, allocations: 278.5 kB / 382.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.03666, allocations: 17 kB / 382.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.03669, allocations: 50.38 kB / 382.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.965e-06/0.03669, allocations: 0 / 382.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.005721/0.04242, allocations: 2.599 MB / 385.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.04245, allocations: 68.34 kB / 385.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.04306, allocations: 0.6205 MB / 385.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.04312, allocations: 45.7 kB / 385.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.04342, allocations: 0.5658 MB / 386.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.04374, allocations: 464.2 kB / 387 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.0441, allocations: 253.2 kB / 387.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.04433, allocations: 0.5938 MB / 387.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/0.04499, allocations: 342.2 kB / 388.1 MB, free: 8.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.04577, allocations: 0.5523 MB / 388.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.04773, allocations: 1.116 MB / 389.8 MB, free: 6.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.04774, allocations: 4 kB / 389.8 MB, free: 6.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002465/0.0502, allocations: 1.347 MB / 391.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.05022, allocations: 8 kB / 391.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.05023, allocations: 7.984 kB / 391.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.05192, allocations: 0.5496 MB / 391.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.05351, allocations: 411.5 kB / 392.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1463/0.1998, allocations: 26.66 MB / 418.8 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/0.2006, allocations: 74.58 kB / 418.9 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.2007, allocations: 53.23 kB / 418.9 MB, free: 51.18 MB / 330.7 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 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 (162): * Single equations (assignments): 147 * 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.0004187/0.2011, allocations: 244.6 kB / 419.2 MB, free: 51.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.2013, allocations: 130.7 kB / 419.3 MB, free: 51.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.203, allocations: 1.138 MB / 420.4 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.203, allocations: 12.27 kB / 420.4 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.203, allocations: 4.375 kB / 420.4 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.203, allocations: 5.812 kB / 420.4 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.2064, allocations: 2.406 MB / 422.8 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2064, allocations: 6.531 kB / 422.9 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.2075, allocations: 345 kB / 423.2 MB, free: 50.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.2086, allocations: 0.5084 MB / 423.7 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.2087, allocations: 64.66 kB / 423.8 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005692/0.2144, allocations: 26.12 MB / 449.9 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2144, allocations: 9.734 kB / 449.9 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.2164, allocations: 1.601 MB / 451.5 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.2166, allocations: 109 kB / 451.6 MB, free: 23.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.2167, allocations: 60.08 kB / 451.7 MB, free: 23.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.217, allocations: 57.91 kB / 451.7 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.2172, allocations: 100.7 kB / 451.8 MB, free: 23.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.2173, allocations: 34.38 kB / 451.9 MB, free: 23.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.2176, allocations: 410.1 kB / 452.3 MB, free: 22.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2176, allocations: 0 / 452.3 MB, free: 22.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009778/0.2186, allocations: 453.4 kB / 452.7 MB, free: 22.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 80 * 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.000185/0.2188, allocations: 190.5 kB / 452.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.2206, allocations: 3.327 MB / 456.2 MB, free: 20.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2206, allocations: 0 / 456.2 MB, free: 20.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.2217, allocations: 2.894 MB / 459.1 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.2224, allocations: 295.9 kB / 459.4 MB, free: 17.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.2271, allocations: 4.163 MB / 463.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2273, allocations: 333.2 kB / 463.9 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.2278, allocations: 293 kB / 464.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.228, allocations: 79.92 kB / 464.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.228, allocations: 0 / 464.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02492/0.2529, allocations: 25.05 MB / 489.3 MB, free: 5.941 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8930121790617704]