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.0007344/0.0007344, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.0007802/0.0007802, allocations: 169.2 kB / 23.98 MB, free: 0.582 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.8533/0.8533, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.05977/0.05977, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.643e-06/1.643e-06, allocations: 0.6562 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.595e-05, allocations: 3.438 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.003201/0.003227, allocations: 3.929 MB / 420.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.004861, allocations: 1.284 MB / 421.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.005072, allocations: 20.78 kB / 421.5 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.005336, allocations: 174.8 kB / 421.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.005808, allocations: 455.4 kB / 422.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.006382, allocations: 320.7 kB / 422.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.007765, allocations: 2.214 MB / 424.7 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.008831, allocations: 1.157 MB / 425.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008889/0.00972, allocations: 0.8241 MB / 426.7 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.0108, allocations: 0.8687 MB / 427.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.01104, allocations: 239.4 kB / 427.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.01132, allocations: 238 kB / 428 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.01179, allocations: 0.7312 MB / 428.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.01235, allocations: 0.6958 MB / 429.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.01436, allocations: 2.702 MB / 432.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01437, allocations: 0 / 432.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01437, allocations: 1.344 kB / 432.1 MB, free: 4.059 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.01439, allocations: 0 / 432.1 MB, free: 4.059 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002766/0.01716, allocations: 1.963 MB / 434.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.01721, allocations: 18.12 kB / 434.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.01744, allocations: 152 kB / 434.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/0.01836, allocations: 0.8002 MB / 435.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.01845, allocations: 118.2 kB / 435.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.01865, allocations: 141.5 kB / 435.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.02046, allocations: 1.611 MB / 436.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.02048, allocations: 1.625 kB / 436.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.02057, allocations: 48.97 kB / 437 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.02059, allocations: 28.28 kB / 437 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.02217, allocations: 1.421 MB / 438.4 MB, free: 228 kB / 330.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.006088/0.02826, allocations: 4.723 MB / 443.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.03083, allocations: 1.855 MB / 445 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.03155, allocations: 0.7291 MB / 445.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.03161, allocations: 16.94 kB / 445.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.03164, allocations: 49.06 kB / 445.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.03165, allocations: 0 / 445.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.005903/0.03755, allocations: 4.664 MB / 450.5 MB, free: 5.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.03759, allocations: 64.41 kB / 450.5 MB, free: 5.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.03819, allocations: 0.6603 MB / 451.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.03826, allocations: 41.7 kB / 451.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.0385, allocations: 0.5163 MB / 451.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.03882, allocations: 440.2 kB / 452.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.03907, allocations: 239.6 kB / 452.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.0392, allocations: 414.7 kB / 452.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008467/0.04005, allocations: 0.8662 MB / 453.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/0.04094, allocations: 1.021 MB / 454.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/0.04775, allocations: 4.491 MB / 459.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.04775, allocations: 0 / 459.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002686/0.05044, allocations: 2.488 MB / 461.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.05046, allocations: 10.03 kB / 461.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.05047, allocations: 4 kB / 461.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.05132, allocations: 0.5395 MB / 462.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.05222, allocations: 399.5 kB / 462.6 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009495/0.06172, allocations: 21.07 MB / 483.7 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.06278, allocations: 92.19 kB / 483.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.06285, allocations: 44 kB / 483.8 MB, free: 2.566 MB / 378.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.0007159/0.06356, allocations: 417.4 kB / 484.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.06367, allocations: 95.39 kB / 484.3 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.06587, allocations: 2.01 MB / 486.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.06587, allocations: 8 kB / 486.3 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.06588, allocations: 4 kB / 486.3 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.06588, allocations: 7.969 kB / 486.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.06974, allocations: 3.515 MB / 489.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.06974, allocations: 4 kB / 489.9 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.07073, allocations: 343.6 kB / 490.2 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006388/0.07136, allocations: 488.8 kB / 490.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.07146, allocations: 63.91 kB / 490.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/0.07972, allocations: 20.21 MB / 0.499 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.07973, allocations: 4 kB / 0.499 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.083, allocations: 2.791 MB / 0.5017 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/0.08325, allocations: 107.4 kB / 0.5018 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.08339, allocations: 55.98 kB / 0.5019 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.08379, allocations: 55.92 kB / 0.5019 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.08402, allocations: 104.7 kB / 0.502 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.08407, allocations: 31.98 kB / 0.5021 GB, free: 2.418 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004194/0.08449, allocations: 459.1 kB / 0.5025 GB, free: 1.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08449, allocations: 4 kB / 0.5025 GB, free: 1.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001189/0.08568, allocations: 448 kB / 0.5029 GB, free: 1.531 MB / 410.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.0002264/0.08591, allocations: 189.4 kB / 0.5031 GB, free: 1.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.0886, allocations: 3.369 MB / 0.5064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.08861, allocations: 5.312 kB / 0.5064 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.09021, allocations: 2.451 MB / 0.5088 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.09108, allocations: 323.2 kB / 0.5091 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.09628, allocations: 4.879 MB / 0.5139 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.0968, allocations: 0.6718 MB / 0.5145 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/0.09722, allocations: 84.47 kB / 0.5146 GB, free: 5.078 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.09722, allocations: 0 / 0.5146 GB, free: 5.078 MB / 426.7 MB Notification: Performance of Templates: time 0.1952/0.2924, allocations: 83.07 MB / 0.5957 GB, free: 154 MB / 490.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: 13.003330947831273] Failed to read output from testmodel.py, exit status != 0: 0.29861319437623024 0.305253709 0.28954912399999994 Calling exit ...