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.001389/0.001389, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001473/0.001473, allocations: 214.6 kB / 23.01 MB, free: 4.566 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.1038/0.1038, allocations: 24.13 MB / 337.3 MB, free: 11.46 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 69.78 kB / 474.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3452, allocations: 59.59 MB / 0.5216 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.00486/0.3501, allocations: 4.435 MB / 0.526 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3526, allocations: 1.317 MB / 0.5272 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.353, allocations: 20.66 kB / 0.5273 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.3534, allocations: 174.7 kB / 0.5274 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.3541, allocations: 443.6 kB / 0.5279 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.355, allocations: 318.7 kB / 0.5282 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002635/0.3576, allocations: 2.177 MB / 0.5303 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.3594, allocations: 1.161 MB / 0.5314 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.3609, allocations: 0.8391 MB / 0.5322 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.3625, allocations: 1.016 MB / 0.5332 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.363, allocations: 236.1 kB / 0.5335 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.3635, allocations: 237 kB / 0.5337 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.3641, allocations: 0.6971 MB / 0.5344 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.3651, allocations: 0.9284 MB / 0.5353 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.3682, allocations: 2.595 MB / 0.5378 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3682, allocations: 1.859 kB / 0.5378 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3682, allocations: 0 / 0.5378 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.3682, allocations: 0 / 0.5378 GB, free: 1.422 MB / 382.1 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.005369/0.3736, allocations: 1.987 MB / 0.5397 GB, free: 272 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3736, allocations: 10.27 kB / 0.5398 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.374, allocations: 155.8 kB / 0.5399 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.3759, allocations: 0.8017 MB / 0.5407 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.376, allocations: 117.5 kB / 0.5408 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.3764, allocations: 140.4 kB / 0.5409 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.3796, allocations: 1.589 MB / 0.5425 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.3796, allocations: 1.156 kB / 0.5425 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.3798, allocations: 53.75 kB / 0.5425 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.3798, allocations: 27.81 kB / 0.5426 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.3824, allocations: 1.419 MB / 0.544 GB, free: 13.74 MB / 398.1 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.01273/0.3952, allocations: 7.098 MB / 0.5509 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005118/0.4003, allocations: 1.869 MB / 0.5527 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4017, allocations: 0.723 MB / 0.5534 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.712e-05/0.4018, allocations: 18.14 kB / 0.5534 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.4019, allocations: 48.66 kB / 0.5535 GB, free: 6.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 3.496e-06/0.4019, allocations: 0 / 0.5535 GB, free: 6.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.0111/0.413, allocations: 4.665 MB / 0.558 GB, free: 4.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.4131, allocations: 70.59 kB / 0.5581 GB, free: 4.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4143, allocations: 0.6789 MB / 0.5588 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.4145, allocations: 41.42 kB / 0.5588 GB, free: 3.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.4149, allocations: 0.507 MB / 0.5593 GB, free: 3.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.4155, allocations: 445.4 kB / 0.5597 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.416, allocations: 237.9 kB / 0.56 GB, free: 2.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.4162, allocations: 414.6 kB / 0.5603 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.4177, allocations: 0.8527 MB / 0.5612 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.4192, allocations: 1.022 MB / 0.5622 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01473/0.4339, allocations: 4.491 MB / 0.5666 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.434, allocations: 0 / 0.5666 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005338/0.4393, allocations: 2.488 MB / 0.569 GB, free: 9.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.4393, allocations: 8.031 kB / 0.569 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4393, allocations: 8 kB / 0.569 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.4413, allocations: 0.5317 MB / 0.5695 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.4435, allocations: 403.5 kB / 0.5699 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.4624, allocations: 21.5 MB / 0.5909 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4641, allocations: 75.84 kB / 0.591 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.4643, allocations: 47.98 kB / 0.591 GB, free: 1.492 MB / 430.1 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.001044/0.4654, allocations: 430.8 kB / 0.5914 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.4656, allocations: 99.44 kB / 0.5915 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.4697, allocations: 1.998 MB / 0.5935 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4697, allocations: 15.94 kB / 0.5935 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.4697, allocations: 4 kB / 0.5935 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4697, allocations: 3.984 kB / 0.5935 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007885/0.4776, allocations: 3.939 MB / 0.5974 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4776, allocations: 0 / 0.5974 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/0.4797, allocations: 348 kB / 0.5977 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.4812, allocations: 480.5 kB / 0.5981 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.4814, allocations: 67.94 kB / 0.5982 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/0.4984, allocations: 20.62 MB / 0.6183 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.4985, allocations: 7.984 kB / 0.6184 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/0.504, allocations: 2.795 MB / 0.6211 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.5045, allocations: 107.3 kB / 0.6212 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.5048, allocations: 59.98 kB / 0.6212 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/0.5056, allocations: 59.92 kB / 0.6213 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/0.5059, allocations: 108.7 kB / 0.6214 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.413e-05/0.506, allocations: 27.98 kB / 0.6214 GB, free: 292 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006877/0.5067, allocations: 483 kB / 0.6219 GB, free: 15.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5067, allocations: 0 / 0.6219 GB, free: 15.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001747/0.5085, allocations: 452 kB / 0.6223 GB, free: 15.38 MB / 478.1 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.0003341/0.5088, allocations: 184.7 kB / 0.6225 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.5138, allocations: 3.381 MB / 0.6258 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5138, allocations: 0 / 0.6258 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003233/0.5171, allocations: 2.468 MB / 0.6282 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.5187, allocations: 306.5 kB / 0.6285 GB, free: 8.652 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5296, allocations: 5.732 MB / 0.6341 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.5308, allocations: 1.272 MB / 0.6353 GB, free: 1.555 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.5316, allocations: 83.42 kB / 0.6354 GB, free: 1.473 MB / 478.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5316, allocations: 4 kB / 0.6354 GB, free: 1.469 MB / 478.1 MB Notification: Performance of Templates: time 0.09393/0.6256, allocations: 81.59 MB / 0.7151 GB, free: 15.8 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 23.84694190090522] Failed to read output from testmodel.py, exit status != 0: 0.6359042709227651 0.652226504 0.280457659 Calling exit ...