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.0007379/0.0007379, allocations: 80.47 kB / 20.71 MB, free: 3.828 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.0007663/0.0007663, allocations: 169.2 kB / 23.98 MB, free: 0.5508 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 0.8492/0.8492, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.05915/0.05915, allocations: 18.13 MB / 278.9 MB, free: 11.52 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 1.543e-06/1.543e-06, allocations: 0 / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.537e-05, allocations: 2.281 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.004429/0.004455, allocations: 3.964 MB / 421.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.007125, allocations: 1.275 MB / 422.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.007622, allocations: 26.06 kB / 422.4 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.00797, allocations: 175.4 kB / 422.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008486/0.008819, allocations: 460.8 kB / 423 MB, free: 8.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.009708, allocations: 324.2 kB / 423.3 MB, free: 7.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.01197, allocations: 2.24 MB / 425.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.01356, allocations: 1.165 MB / 426.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.01497, allocations: 0.8372 MB / 427.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.01636, allocations: 0.8654 MB / 428.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.0168, allocations: 234.6 kB / 428.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.0171, allocations: 231.5 kB / 428.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004498/0.01755, allocations: 0.7274 MB / 429.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.01839, allocations: 0.6857 MB / 430.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.02043, allocations: 2.679 MB / 433 MB, free: 3.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.02043, allocations: 3.938 kB / 433 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02044, allocations: 0 / 433 MB, free: 3.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.696e-05/0.02049, allocations: 0 / 433 MB, free: 3.598 MB / 330.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.003125/0.02362, allocations: 1.95 MB / 434.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.02366, allocations: 10.73 kB / 434.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.02392, allocations: 161.1 kB / 435.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.02484, allocations: 0.8059 MB / 435.9 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.02492, allocations: 118.4 kB / 436 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.02511, allocations: 137.7 kB / 436.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.02691, allocations: 1.607 MB / 437.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.02693, allocations: 5.297 kB / 437.8 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.02702, allocations: 49.16 kB / 437.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.02704, allocations: 33.41 kB / 437.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.02862, allocations: 1.407 MB / 439.2 MB, free: 15.77 MB / 346.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.005675/0.0343, allocations: 4.709 MB / 443.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.03683, allocations: 1.851 MB / 445.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/0.03756, allocations: 0.7379 MB / 446.5 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.03761, allocations: 9 kB / 446.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.03764, allocations: 45.06 kB / 446.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 2.685e-06/0.03764, allocations: 4 kB / 446.6 MB, free: 9.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.005668/0.04331, allocations: 4.637 MB / 451.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.04334, allocations: 64.41 kB / 451.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.04392, allocations: 0.6603 MB / 452 MB, free: 4.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.04399, allocations: 41.64 kB / 452 MB, free: 4.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.04421, allocations: 0.5279 MB / 452.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.04453, allocations: 448.2 kB / 453 MB, free: 3.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.0448, allocations: 247.6 kB / 453.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.04493, allocations: 410.7 kB / 453.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000838/0.04577, allocations: 0.8585 MB / 454.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.04666, allocations: 1.013 MB / 455.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006992/0.05366, allocations: 4.514 MB / 460 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.05366, allocations: 0 / 460 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002833/0.0565, allocations: 2.485 MB / 462.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.05651, allocations: 4 kB / 462.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.05652, allocations: 8 kB / 462.5 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008352/0.05736, allocations: 0.5317 MB / 463 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.05825, allocations: 411.5 kB / 463.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/0.06745, allocations: 21.08 MB / 484.5 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.06804, allocations: 75.83 kB / 484.6 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.06811, allocations: 51.98 kB / 484.6 MB, free: 1.781 MB / 378.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.0006175/0.06873, allocations: 425.6 kB / 485 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.06884, allocations: 91.44 kB / 485.1 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.07096, allocations: 2.002 MB / 487.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.07096, allocations: 8 kB / 487.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.07097, allocations: 8 kB / 487.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.07098, allocations: 11.97 kB / 487.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003737/0.07471, allocations: 3.517 MB / 490.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.07472, allocations: 0 / 490.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/0.07569, allocations: 347.6 kB / 491 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006184/0.07631, allocations: 492.5 kB / 491.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.07641, allocations: 63.97 kB / 491.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00791/0.08432, allocations: 20.21 MB / 0.4998 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.08432, allocations: 4 kB / 0.4998 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.08706, allocations: 2.789 MB / 0.5025 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.08719, allocations: 99.41 kB / 0.5026 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.08731, allocations: 67.97 kB / 0.5027 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.08768, allocations: 51.94 kB / 0.5027 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.08786, allocations: 108.6 kB / 0.5028 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.08791, allocations: 35.98 kB / 0.5028 GB, free: 1.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.08829, allocations: 459 kB / 0.5033 GB, free: 1.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08829, allocations: 0 / 0.5033 GB, free: 1.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001045/0.08933, allocations: 447.9 kB / 0.5037 GB, free: 0.7422 MB / 410.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.000207/0.08954, allocations: 196 kB / 0.5039 GB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.09206, allocations: 3.361 MB / 0.5072 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.09206, allocations: 0 / 0.5072 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.0935, allocations: 2.464 MB / 0.5096 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.09423, allocations: 311.3 kB / 0.5099 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.09913, allocations: 4.917 MB / 0.5147 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.09964, allocations: 0.6817 MB / 0.5154 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.09995, allocations: 92.48 kB / 0.5154 GB, free: 4.238 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.09995, allocations: 0 / 0.5154 GB, free: 4.238 MB / 426.7 MB Notification: Performance of Templates: time 0.1816/0.2816, allocations: 83.74 MB / 0.5972 GB, free: 153 MB / 490.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.001992394216359] Failed to read output from testmodel.py, exit status != 0: 0.28774859849363565 0.29375553200000004 0.271926634 Calling exit ...