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.001444/0.001444, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001571/0.001571, allocations: 157.6 kB / 23.53 MB, free: 0.9023 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.457/1.457, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.1095/0.1095, allocations: 18.15 MB / 278.5 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_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.684e-06/1.684e-06, allocations: 0 / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.144e-05, allocations: 5.125 kB / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.006329/0.006361, allocations: 3.943 MB / 360.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.009561, allocations: 1.274 MB / 361.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.009918, allocations: 23.81 kB / 361.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.01031, allocations: 174.5 kB / 361.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.01119, allocations: 457 kB / 362.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.01206, allocations: 319.4 kB / 362.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.01465, allocations: 2.219 MB / 364.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.01646, allocations: 1.208 MB / 366.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.01777, allocations: 0.8108 MB / 366.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.0192, allocations: 0.8769 MB / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.01954, allocations: 236 kB / 368 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.01993, allocations: 236 kB / 368.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008864/0.02082, allocations: 0.7327 MB / 369 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009316/0.02175, allocations: 0.6901 MB / 369.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.0248, allocations: 2.712 MB / 372.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.02481, allocations: 0 / 372.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02481, allocations: 0 / 372.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.02484, allocations: 0 / 372.4 MB, free: 8.238 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.005112/0.02995, allocations: 1.966 MB / 374.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.02999, allocations: 12.92 kB / 374.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.03052, allocations: 244 kB / 374.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.03212, allocations: 0.8178 MB / 375.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.03227, allocations: 120.6 kB / 375.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.03258, allocations: 136.3 kB / 375.7 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003297/0.03587, allocations: 1.611 MB / 377.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.0359, allocations: 192 / 377.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.03606, allocations: 52.12 kB / 377.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.03609, allocations: 32 kB / 377.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.03886, allocations: 1.423 MB / 378.8 MB, free: 1.719 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.0108/0.04966, allocations: 4.731 MB / 383.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/0.055, allocations: 1.871 MB / 385.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.05634, allocations: 0.7248 MB / 386.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.05643, allocations: 17 kB / 386.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.05648, allocations: 51.5 kB / 386.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.436e-06/0.05648, allocations: 0 / 386.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.01161/0.06809, allocations: 4.699 MB / 390.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.06815, allocations: 60.41 kB / 390.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.06918, allocations: 0.6681 MB / 391.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.953e-05/0.06928, allocations: 45.7 kB / 391.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.06974, allocations: 0.5085 MB / 392.2 MB, free: 4.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.07021, allocations: 448.2 kB / 392.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004911/0.0707, allocations: 235.6 kB / 392.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002772/0.07098, allocations: 418.7 kB / 393.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.07251, allocations: 0.8507 MB / 394.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.07427, allocations: 1.021 MB / 395.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/0.08883, allocations: 4.487 MB / 399.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.08884, allocations: 7.938 kB / 399.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005502/0.09435, allocations: 2.531 MB / 402.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.09437, allocations: 11.12 kB / 402.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.09439, allocations: 8 kB / 402.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/0.09772, allocations: 0.7112 MB / 402.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.09974, allocations: 399.5 kB / 403.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1536/0.2533, allocations: 21.1 MB / 424.4 MB, free: 52.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.2549, allocations: 86.17 kB / 424.4 MB, free: 52.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.2553, allocations: 49.89 kB / 424.5 MB, free: 52.27 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.001401/0.2567, allocations: 425.1 kB / 424.9 MB, free: 52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/0.2572, allocations: 126.5 kB / 425 MB, free: 51.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.2614, allocations: 2.007 MB / 427 MB, free: 51.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2615, allocations: 10.22 kB / 427.1 MB, free: 51.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.291e-05/0.2615, allocations: 4.188 kB / 427.1 MB, free: 51.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2615, allocations: 6.938 kB / 427.1 MB, free: 51.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/0.2687, allocations: 3.521 MB / 430.6 MB, free: 49.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.2687, allocations: 3.375 kB / 430.6 MB, free: 49.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.2707, allocations: 339.2 kB / 430.9 MB, free: 49.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/0.2731, allocations: 0.6352 MB / 431.6 MB, free: 49.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.2733, allocations: 69.23 kB / 431.6 MB, free: 49.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009659/0.2829, allocations: 20.24 MB / 451.9 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2829, allocations: 3.625 kB / 451.9 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.2871, allocations: 2.828 MB / 454.7 MB, free: 27.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.2874, allocations: 100.3 kB / 454.8 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.2877, allocations: 66.8 kB / 454.9 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.2886, allocations: 52.25 kB / 454.9 MB, free: 27.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.2889, allocations: 108.3 kB / 455 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.059e-05/0.289, allocations: 32 kB / 455 MB, free: 27.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005465/0.2895, allocations: 463 kB / 455.5 MB, free: 27.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 4 kB / 455.5 MB, free: 27.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001493/0.291, allocations: 448 kB / 455.9 MB, free: 26.8 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.0002491/0.2912, allocations: 184.5 kB / 456.1 MB, free: 26.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003487/0.2947, allocations: 3.379 MB / 459.5 MB, free: 23.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.2947, allocations: 0 / 459.5 MB, free: 23.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.2968, allocations: 2.46 MB / 462 MB, free: 20.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.298, allocations: 323.7 kB / 462.3 MB, free: 20.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.3053, allocations: 4.81 MB / 467.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.3061, allocations: 0.6742 MB / 467.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001122/0.3072, allocations: 355.6 kB / 468.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.3076, allocations: 76.5 kB / 468.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3076, allocations: 0 / 468.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Templates: time 0.03871/0.3463, allocations: 24.89 MB / 493.1 MB, free: 5.637 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.899917044909671]