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.001293/0.001293, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001465/0.001465, 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.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.06765/0.06765, allocations: 18.13 MB / 278.9 MB, free: 11.29 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.583e-06/1.583e-06, allocations: 3.938 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.307e-05, allocations: 6.25 kB / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005678/0.005701, allocations: 4.359 MB / 361.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.008339, allocations: 1.282 MB / 362.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.008618, allocations: 23.81 kB / 363 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.008903, allocations: 174.6 kB / 363.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.009389, allocations: 453 kB / 363.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.009918, allocations: 331.3 kB / 363.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.01134, allocations: 2.215 MB / 366.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.01238, allocations: 1.224 MB / 367.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.01308, allocations: 0.8187 MB / 368.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007882/0.01387, allocations: 0.9316 MB / 369.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.01407, allocations: 232 kB / 369.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.01429, allocations: 236 kB / 369.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.01471, allocations: 0.7367 MB / 370.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004801/0.01519, allocations: 0.7096 MB / 371 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.01621, allocations: 1.527 MB / 372.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01621, allocations: 0 / 372.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01621, allocations: 0 / 372.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.01622, allocations: 0 / 372.5 MB, free: 8.5 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002359/0.01858, allocations: 2.074 MB / 374.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.01862, allocations: 12.92 kB / 374.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.0189, allocations: 252 kB / 374.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.01971, allocations: 0.7636 MB / 375.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.0198, allocations: 120.6 kB / 375.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.01996, allocations: 128.3 kB / 375.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.02118, allocations: 0.8539 MB / 376.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.0212, allocations: 4.141 kB / 376.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.02129, allocations: 48.12 kB / 376.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.02131, allocations: 28 kB / 376.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000892/0.0222, allocations: 0.49 MB / 377.3 MB, free: 3.609 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.00455/0.02675, allocations: 3.731 MB / 381 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.02891, allocations: 1.137 MB / 382.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.02932, allocations: 265 kB / 382.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.02938, allocations: 17 kB / 382.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.02941, allocations: 46.39 kB / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.02941, allocations: 0 / 382.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.004228/0.03364, allocations: 2.582 MB / 385.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.03367, allocations: 68.41 kB / 385.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.03416, allocations: 0.6243 MB / 385.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.03422, allocations: 49.7 kB / 385.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.0345, allocations: 0.5619 MB / 386.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.03476, allocations: 456.3 kB / 386.8 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.03504, allocations: 245.2 kB / 387 MB, free: 9.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.03524, allocations: 0.6015 MB / 387.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.03576, allocations: 326.2 kB / 388 MB, free: 8.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.03635, allocations: 0.5484 MB / 388.5 MB, free: 8.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.03788, allocations: 1.109 MB / 389.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.03788, allocations: 0 / 389.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00189/0.03977, allocations: 1.331 MB / 390.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.03979, allocations: 6.969 kB / 391 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.0398, allocations: 8 kB / 391 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.04108, allocations: 0.5574 MB / 391.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/0.04198, allocations: 395.5 kB / 391.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/0.1877, allocations: 26.68 MB / 418.6 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.1886, allocations: 69.45 kB / 418.7 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.1887, allocations: 51.12 kB / 418.7 MB, free: 51.36 MB / 330.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.0004383/0.1891, allocations: 240.8 kB / 418.9 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.1893, allocations: 128.6 kB / 419.1 MB, free: 51.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.191, allocations: 1.118 MB / 420.2 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.191, allocations: 11.22 kB / 420.2 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.191, allocations: 4.125 kB / 420.2 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.191, allocations: 7.547 kB / 420.2 MB, free: 50.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.1943, allocations: 2.386 MB / 422.6 MB, free: 50.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.1943, allocations: 3.469 kB / 422.6 MB, free: 50.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.1954, allocations: 345.4 kB / 422.9 MB, free: 50.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.1965, allocations: 0.5074 MB / 423.4 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.1966, allocations: 60.38 kB / 423.5 MB, free: 50.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.2026, allocations: 26.13 MB / 449.6 MB, free: 24.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2026, allocations: 3.406 kB / 449.6 MB, free: 24.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.2047, allocations: 1.581 MB / 451.2 MB, free: 23.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2048, allocations: 102.1 kB / 451.3 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.205, allocations: 53.83 kB / 451.4 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.2053, allocations: 59.78 kB / 451.4 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.2056, allocations: 104.6 kB / 451.5 MB, free: 23.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.2056, allocations: 30.48 kB / 451.6 MB, free: 23.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003394/0.206, allocations: 412.3 kB / 452 MB, free: 23.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.206, allocations: 0 / 452 MB, free: 23.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001085/0.207, allocations: 449.9 kB / 452.4 MB, free: 23.09 MB / 330.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.0001983/0.2072, allocations: 182.1 kB / 452.6 MB, free: 22.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.209, allocations: 3.32 MB / 455.9 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.209, allocations: 0.7656 kB / 455.9 MB, free: 20.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.2101, allocations: 2.89 MB / 458.8 MB, free: 17.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.2107, allocations: 287.9 kB / 459.1 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.2152, allocations: 4.127 MB / 463.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2154, allocations: 329.7 kB / 463.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004572/0.2159, allocations: 275.8 kB / 463.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.2161, allocations: 81.52 kB / 463.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2161, allocations: 0 / 463.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of Templates: time 0.02516/0.2413, allocations: 25.88 MB / 489.7 MB, free: 5.418 MB / 346.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.8868773421272635]