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.001408/0.001408, allocations: 76.27 kB / 19.96 MB, free: 1.746 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.001987/0.001987, allocations: 171.7 kB / 23.24 MB, free: 4.859 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.46/1.46, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.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.1032/0.1032, allocations: 18.13 MB / 278.1 MB, free: 15.04 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.157e-05, allocations: 2.281 kB / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.006069/0.006101, allocations: 3.935 MB / 419.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.009097, allocations: 1.267 MB / 420.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.009636, allocations: 23.75 kB / 420.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.01017, allocations: 170.6 kB / 421 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.01143, allocations: 461 kB / 421.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.01254, allocations: 327.3 kB / 421.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002934/0.01547, allocations: 2.219 MB / 424 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.01761, allocations: 1.153 MB / 425.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.01942, allocations: 0.8186 MB / 425.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.02148, allocations: 0.8691 MB / 426.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007443/0.02223, allocations: 236 kB / 427 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009114/0.02314, allocations: 239.9 kB / 427.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.02429, allocations: 0.7289 MB / 428 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.02604, allocations: 0.694 MB / 428.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.0302, allocations: 2.704 MB / 431.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.03021, allocations: 3.938 kB / 431.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.03021, allocations: 0 / 431.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.03031, allocations: 0 / 431.4 MB, free: 2.641 MB / 350.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.006424/0.03674, allocations: 1.962 MB / 433.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.03679, allocations: 12.92 kB / 433.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.03713, allocations: 160 kB / 433.5 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.03868, allocations: 0.8062 MB / 434.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.03881, allocations: 116.6 kB / 434.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.0391, allocations: 136.3 kB / 434.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.0422, allocations: 1.611 MB / 436.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.04223, allocations: 192 / 436.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.0424, allocations: 52.12 kB / 436.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.04244, allocations: 28 kB / 436.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.04513, allocations: 1.423 MB / 437.7 MB, free: 12.23 MB / 366.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.01003/0.05516, allocations: 4.723 MB / 442.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/0.06037, allocations: 1.858 MB / 444.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.06163, allocations: 0.73 MB / 445 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.06171, allocations: 13 kB / 445 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.06175, allocations: 47.56 kB / 445.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.06175, allocations: 3.938 kB / 445.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=105): time 0.01113/0.07288, allocations: 4.661 MB / 449.7 MB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1835/0.2563, allocations: 62.97 kB / 449.8 MB, free: 46.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.2574, allocations: 0.6569 MB / 450.4 MB, free: 46.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003517/0.2577, allocations: 46.92 kB / 450.5 MB, free: 46.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.258, allocations: 0.5123 MB / 451 MB, free: 45.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.2584, allocations: 444.6 kB / 451.4 MB, free: 45.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/0.2588, allocations: 239 kB / 451.7 MB, free: 45.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.259, allocations: 413.3 kB / 452.1 MB, free: 45.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.2603, allocations: 0.8578 MB / 452.9 MB, free: 44.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.2617, allocations: 1.022 MB / 454 MB, free: 44.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/0.2759, allocations: 4.48 MB / 458.4 MB, free: 42.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.2759, allocations: 6.344 kB / 458.4 MB, free: 42.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00505/0.281, allocations: 2.476 MB / 460.9 MB, free: 41.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.281, allocations: 8.188 kB / 460.9 MB, free: 41.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.2811, allocations: 6.25 kB / 460.9 MB, free: 41.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.2833, allocations: 0.5391 MB / 461.5 MB, free: 41.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.2855, allocations: 403.9 kB / 461.9 MB, free: 41.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.3002, allocations: 21.08 MB / 482.9 MB, free: 21.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.3024, allocations: 77.38 kB / 483 MB, free: 21.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004599/0.3028, allocations: 46.67 kB / 483.1 MB, free: 21.62 MB / 366.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.001248/0.3041, allocations: 420.6 kB / 483.5 MB, free: 21.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/0.3044, allocations: 98.33 kB / 483.6 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.3085, allocations: 2.004 MB / 485.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3085, allocations: 11.56 kB / 485.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/0.3085, allocations: 3.875 kB / 485.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.3085, allocations: 7.453 kB / 485.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006301/0.3148, allocations: 3.52 MB / 489.1 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3148, allocations: 8 kB / 489.1 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.3167, allocations: 344 kB / 489.5 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.318, allocations: 476.6 kB / 489.9 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.3181, allocations: 67.94 kB / 490 MB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.33, allocations: 20.21 MB / 0.4982 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.33, allocations: 3.938 kB / 0.4983 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/0.3358, allocations: 2.785 MB / 0.501 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.3361, allocations: 99.41 kB / 0.5011 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/0.3364, allocations: 63.97 kB / 0.5011 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.3372, allocations: 55.94 kB / 0.5012 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.3376, allocations: 104.7 kB / 0.5013 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.3377, allocations: 31.98 kB / 0.5013 GB, free: 7.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006764/0.3384, allocations: 467 kB / 0.5018 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3384, allocations: 0 / 0.5018 GB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001705/0.3401, allocations: 455.8 kB / 0.5022 GB, free: 7.059 MB / 382.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.0003161/0.3404, allocations: 190.7 kB / 0.5024 GB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005122/0.3455, allocations: 3.372 MB / 0.5057 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3455, allocations: 0 / 0.5057 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003406/0.3489, allocations: 2.45 MB / 0.5081 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.3505, allocations: 320.1 kB / 0.5084 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/0.3602, allocations: 4.76 MB / 0.513 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.3612, allocations: 0.6787 MB / 0.5137 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.3626, allocations: 351.6 kB / 0.514 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.3631, allocations: 80.48 kB / 0.5141 GB, free: 10.44 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3631, allocations: 3.938 kB / 0.5141 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Templates: time 0.04586/0.409, allocations: 24.75 MB / 0.5383 GB, free: 2.062 MB / 414.1 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.931315701454878] Failed to read output from testmodel.py, exit status != 0: 0.41952065005898476 0.434594244 0.401019269 Calling exit ...