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.001031/0.001031, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.001116/0.001116, allocations: 177.3 kB / 24.17 MB, free: 328 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.9877/0.9877, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.07145/0.07145, allocations: 18.13 MB / 279.2 MB, free: 11.18 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.654e-06/1.654e-06, allocations: 0 / 304.5 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.262e-05, allocations: 4.703 kB / 304.5 MB, free: 396 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.005077/0.00509, allocations: 4.306 MB / 308.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.007584, allocations: 1.318 MB / 310.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.007859, allocations: 19.81 kB / 310.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.008225, allocations: 176.2 kB / 310.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007782/0.009003, allocations: 465.6 kB / 310.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.00972, allocations: 323.3 kB / 311.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.0117, allocations: 2.214 MB / 313.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.01305, allocations: 1.232 MB / 314.5 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.01397, allocations: 0.8303 MB / 315.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.01518, allocations: 0.912 MB / 316.3 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.01548, allocations: 236 kB / 316.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.01579, allocations: 240 kB / 316.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005836/0.01638, allocations: 0.7366 MB / 317.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.01739, allocations: 0.7018 MB / 318.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.01886, allocations: 1.523 MB / 319.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01887, allocations: 0 / 319.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01887, allocations: 0 / 319.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.01889, allocations: 0 / 319.7 MB, free: 2.543 MB / 282.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.002884/0.02178, allocations: 1.754 MB / 321.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.02181, allocations: 8.922 kB / 321.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.02216, allocations: 204.8 kB / 321.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.02308, allocations: 0.5905 MB / 322.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.02318, allocations: 120.6 kB / 322.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.02341, allocations: 136.2 kB / 322.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.02471, allocations: 0.7718 MB / 323.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.02473, allocations: 192 / 323.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.02486, allocations: 52.12 kB / 323.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.02489, allocations: 28 kB / 323.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.0257, allocations: 341.8 kB / 323.7 MB, free: 14.43 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.004932/0.03063, allocations: 3.033 MB / 326.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.03242, allocations: 0.904 MB / 327.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.03268, allocations: 194 kB / 327.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.03273, allocations: 17 kB / 327.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.03276, allocations: 43.56 kB / 327.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.034e-06/0.03276, allocations: 0 / 327.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.003014/0.03578, allocations: 2.007 MB / 329.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.0358, allocations: 64.41 kB / 330 MB, free: 8.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.03613, allocations: 0.5389 MB / 330.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.03619, allocations: 41.7 kB / 330.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.03659, allocations: 453.8 kB / 331 MB, free: 6.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.03681, allocations: 440.2 kB / 331.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.03704, allocations: 223.5 kB / 331.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.03715, allocations: 418.5 kB / 332 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.03743, allocations: 219.3 kB / 332.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.03777, allocations: 389.6 kB / 332.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008964/0.03867, allocations: 0.8415 MB / 333.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.03867, allocations: 4 kB / 333.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001222/0.03989, allocations: 0.9958 MB / 334.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.0399, allocations: 12.03 kB / 334.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.03991, allocations: 4 kB / 334.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.04098, allocations: 0.534 MB / 335 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/0.04174, allocations: 367.5 kB / 335.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.04931, allocations: 18.41 MB / 353.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.04964, allocations: 47.89 kB / 353.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.0497, allocations: 40.19 kB / 353.9 MB, free: 14.22 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.0002731/0.04997, allocations: 197.5 kB / 354.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.0501, allocations: 91.91 kB / 354.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.05115, allocations: 0.8975 MB / 355.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.05116, allocations: 8 kB / 355.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.05116, allocations: 4 kB / 355.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.05117, allocations: 3.984 kB / 355.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.05328, allocations: 1.754 MB / 356.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.05328, allocations: 4 kB / 356.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.05417, allocations: 303.7 kB / 357.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008848/0.05505, allocations: 0.507 MB / 357.6 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.05514, allocations: 55.95 kB / 357.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.06559, allocations: 17.93 MB / 375.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.06559, allocations: 12.22 kB / 375.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.06808, allocations: 1.235 MB / 376.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.0683, allocations: 79.44 kB / 376.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.06849, allocations: 59.97 kB / 377 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.06897, allocations: 19.94 kB / 377 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.06924, allocations: 104.7 kB / 377.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.06931, allocations: 24 kB / 377.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003235/0.06964, allocations: 248.6 kB / 377.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.06964, allocations: 0 / 377.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001513/0.07115, allocations: 452 kB / 377.8 MB, free: 4.395 MB / 346.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.00033/0.07148, allocations: 165.4 kB / 378 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003044/0.07452, allocations: 2.354 MB / 380.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/0.07455, allocations: 8 kB / 380.4 MB, free: 1.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.07624, allocations: 2.008 MB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.07738, allocations: 309 kB / 382.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005867/0.08325, allocations: 3.119 MB / 385.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.08377, allocations: 329 kB / 386.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008575/0.08463, allocations: 115.9 kB / 386.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.08579, allocations: 301.1 kB / 386.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.0858, allocations: 0 / 386.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.03797/0.1238, allocations: 26.85 MB / 413.4 MB, free: 0.8047 MB / 378.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.7142044799402356]