Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.001063/0.001063, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001017/0.001017, allocations: 173.3 kB / 24.16 MB, free: 336 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.075/1.075, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.06668/0.06668, allocations: 18.14 MB / 279.2 MB, free: 11.21 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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 1.344 kB / 305.4 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.785e-05, allocations: 6.25 kB / 305.4 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.006303/0.006331, allocations: 4.367 MB / 309.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.009549, allocations: 1.321 MB / 311.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.009995, allocations: 27.75 kB / 311.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.01036, allocations: 170.6 kB / 311.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.0112, allocations: 476.8 kB / 311.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009855/0.01218, allocations: 323.4 kB / 312.1 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.0145, allocations: 2.241 MB / 314.3 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.01626, allocations: 1.236 MB / 315.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.01819, allocations: 0.8421 MB / 316.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.02006, allocations: 0.912 MB / 317.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.02042, allocations: 232 kB / 317.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.02078, allocations: 232 kB / 317.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005715/0.02135, allocations: 0.7211 MB / 318.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007778/0.02213, allocations: 0.694 MB / 319.2 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.02383, allocations: 1.531 MB / 320.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02383, allocations: 0 / 320.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02384, allocations: 0 / 320.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.02385, allocations: 0 / 320.7 MB, free: 1.734 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002994/0.02684, allocations: 1.742 MB / 322.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.02688, allocations: 8.922 kB / 322.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.02723, allocations: 208.8 kB / 322.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.02817, allocations: 0.606 MB / 323.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.02828, allocations: 116.6 kB / 323.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.02849, allocations: 140.2 kB / 323.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.02985, allocations: 0.7798 MB / 324.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.02988, allocations: 4.141 kB / 324.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.03001, allocations: 52.12 kB / 324.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.03003, allocations: 32 kB / 324.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/0.03087, allocations: 337.9 kB / 324.7 MB, free: 13.61 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.006126/0.03699, allocations: 3.041 MB / 327.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.03958, allocations: 0.9079 MB / 328.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.03999, allocations: 199.8 kB / 328.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.04005, allocations: 21 kB / 328.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.04009, allocations: 51.5 kB / 328.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=105): time 4.097e-06/0.04009, allocations: 0 / 328.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.004839/0.04493, allocations: 2.015 MB / 330.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.04497, allocations: 60.41 kB / 331 MB, free: 7.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.04551, allocations: 0.5389 MB / 331.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.04559, allocations: 49.64 kB / 331.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.04585, allocations: 457.8 kB / 332 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.04618, allocations: 448.2 kB / 332.5 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006422/0.04682, allocations: 219.5 kB / 332.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.04698, allocations: 418.5 kB / 333.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.04744, allocations: 227.4 kB / 333.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.04799, allocations: 397.6 kB / 333.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.04947, allocations: 0.8494 MB / 334.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.04948, allocations: 3.938 kB / 334.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00198/0.05146, allocations: 1.007 MB / 335.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.05148, allocations: 8 kB / 335.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.0515, allocations: 8 kB / 335.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.05321, allocations: 0.5417 MB / 336.1 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/0.0556, allocations: 0.7202 MB / 336.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.06726, allocations: 18.43 MB / 355.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.06833, allocations: 44.2 kB / 355.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.06848, allocations: 39.98 kB / 355.3 MB, free: 12.94 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.0005516/0.06903, allocations: 196.3 kB / 355.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.06922, allocations: 99.84 kB / 355.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.07093, allocations: 0.9171 MB / 356.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.07094, allocations: 12 kB / 356.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.07095, allocations: 4 kB / 356.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.07096, allocations: 3.984 kB / 356.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.07446, allocations: 1.764 MB / 358.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.07446, allocations: 4.344 kB / 358.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/0.07678, allocations: 0.6223 MB / 359 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.07815, allocations: 0.4949 MB / 359.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.0783, allocations: 67.95 kB / 359.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.08863, allocations: 17.94 MB / 377.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.08864, allocations: 12.22 kB / 377.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.09124, allocations: 1.257 MB / 378.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.09151, allocations: 83.38 kB / 378.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.09169, allocations: 59.92 kB / 378.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.09219, allocations: 23.98 kB / 378.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.09251, allocations: 96.77 kB / 379 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.688e-05/0.0926, allocations: 27.98 kB / 379 MB, free: 3.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003242/0.09293, allocations: 248.6 kB / 379.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09293, allocations: 0 / 379.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001611/0.09454, allocations: 452 kB / 379.7 MB, free: 2.73 MB / 346.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.0002889/0.09483, allocations: 177.3 kB / 379.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.09778, allocations: 2.366 MB / 382.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.0978, allocations: 8.375 kB / 382.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.09952, allocations: 2.012 MB / 384.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.1008, allocations: 312.7 kB / 384.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/0.1073, allocations: 3.153 MB / 387.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1077, allocations: 329.4 kB / 388 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001323/0.1091, allocations: 132.4 kB / 388.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009908/0.11, allocations: 313.1 kB / 388.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of SimCode: time 2.865e-06/0.1101, allocations: 0 / 388.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of Templates: time 0.03519/0.1452, allocations: 27.53 MB / 416 MB, free: 14.38 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6502735940739512]