Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.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.000795/0.000795, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.0008091/0.0008091, allocations: 169.6 kB / 23.23 MB, free: 1.324 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.9489/0.9489, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.06397/0.06397, allocations: 18.12 MB / 278.1 MB, free: 11.55 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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.318e-05, allocations: 6.781 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002415/0.002439, allocations: 1.878 MB / 416.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005078/0.002946, allocations: 238.7 kB / 417.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.00302, allocations: 1.375 kB / 417.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.003191, allocations: 22.86 kB / 417.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.003629, allocations: 114.5 kB / 417.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.003764, allocations: 62.39 kB / 417.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.00407, allocations: 277.4 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.004214, allocations: 37.72 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.004333, allocations: 93.28 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.004529, allocations: 114.4 kB / 417.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.004561, allocations: 17.59 kB / 417.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.004714, allocations: 78.5 kB / 418 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.004829, allocations: 83.39 kB / 418.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.004907, allocations: 83.44 kB / 418.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.005243, allocations: 286.5 kB / 418.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005244, allocations: 4 kB / 418.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005246, allocations: 0 / 418.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.00525, allocations: 1.469 kB / 418.4 MB, free: 10.82 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007756/0.006026, allocations: 487.7 kB / 418.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006064, allocations: 11.05 kB / 418.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.006099, allocations: 40.95 kB / 419 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.006142, allocations: 22.67 kB / 419 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.006414, allocations: 269.1 kB / 419.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.006427, allocations: 4.781 kB / 419.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.006455, allocations: 11.94 kB / 419.3 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.006666, allocations: 144.4 kB / 419.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.006675, allocations: 4.188 kB / 419.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.006689, allocations: 5.656 kB / 419.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.006695, allocations: 6.688 kB / 419.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.006851, allocations: 102.6 kB / 419.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.00753, allocations: 0.4934 MB / 420 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.00804, allocations: 260.7 kB / 420.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.008139, allocations: 85.2 kB / 420.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.008154, allocations: 1.469 kB / 420.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.008167, allocations: 32.53 kB / 420.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.008169, allocations: 0 / 420.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006754/0.008845, allocations: 354.5 kB / 420.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.008867, allocations: 54.33 kB / 420.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.009138, allocations: 317 kB / 421.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.009151, allocations: 25.7 kB / 421.1 MB, free: 9.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.009222, allocations: 130.1 kB / 421.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.009267, allocations: 62.86 kB / 421.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.009316, allocations: 34.28 kB / 421.3 MB, free: 9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.009357, allocations: 334.4 kB / 421.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.009447, allocations: 64.55 kB / 421.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.009546, allocations: 93.64 kB / 421.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.01048, allocations: 484.6 kB / 422.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01049, allocations: 0.7969 kB / 422.3 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003836/0.01087, allocations: 301.6 kB / 422.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01089, allocations: 6.375 kB / 422.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01089, allocations: 0 / 422.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.01105, allocations: 53.2 kB / 422.6 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.01119, allocations: 54.59 kB / 422.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.01229, allocations: 2.602 MB / 425.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.01239, allocations: 16.52 kB / 425.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.0124, allocations: 13.91 kB / 425.3 MB, free: 5.703 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 variables: homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.000186/0.01258, allocations: 182.1 kB / 425.5 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01262, allocations: 17.86 kB / 425.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.01265, allocations: 32.88 kB / 425.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01265, allocations: 2.125 kB / 425.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01266, allocations: 1.094 kB / 425.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01267, allocations: 5.203 kB / 425.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01287, allocations: 230.1 kB / 425.8 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01288, allocations: 3.938 kB / 425.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.01305, allocations: 49.58 kB / 425.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.01316, allocations: 55.89 kB / 425.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01318, allocations: 8.109 kB / 425.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009405/0.01412, allocations: 2.596 MB / 428.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01412, allocations: 9 kB / 428.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.01472, allocations: 413.6 kB / 428.9 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.01478, allocations: 26.78 kB / 428.9 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.01482, allocations: 9.922 kB / 428.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01495, allocations: 6.828 kB / 429 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.015, allocations: 14.55 kB / 429 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.015, allocations: 7.344 kB / 429 MB, free: 2.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.0152, allocations: 252.2 kB / 429.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0152, allocations: 0 / 429.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.01552, allocations: 71.78 kB / 429.3 MB, free: 2.297 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.000689/0.01621, allocations: 0.9601 MB / 430.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.01671, allocations: 418.4 kB / 430.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01671, allocations: 0 / 430.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.01692, allocations: 318.5 kB / 431 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01722, allocations: 60.14 kB / 431 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.0202, allocations: 3.023 MB / 434 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.02035, allocations: 130.7 kB / 434.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.0205, allocations: 49.42 kB / 434.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.0206, allocations: 57.59 kB / 434.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0206, allocations: 0 / 434.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.04748, allocations: 7.421 MB / 441.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.258, allocations: 11.42 kB / 441.7 MB, free: 11.94 MB / 346.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_component_models.Containment_elements_res.csv --start-time 0 --stop-time 100000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 10 AES_AES_Coursework_ThermSys_component_models_Containment_elements.fmu > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.490789954550564] Failed to read output from testmodel.py, exit status != 0: 7.345529980957508 7.353886038 7.346972591 Calling exit ...