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.001374/0.001374, allocations: 109.7 kB / 17.14 MB, free: 5.93 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.001477/0.001477, allocations: 204 kB / 20.11 MB, free: 2.977 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.1071/0.1071, allocations: 24.03 MB / 333.6 MB, free: 1.57 MB / 254.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: "" <> 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 72.03 kB / 468.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 59.54 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003457/0.1107, allocations: 1.942 MB / 0.5175 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.1113, allocations: 235.3 kB / 0.5177 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.1114, allocations: 4 kB / 0.5177 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1115, allocations: 23.78 kB / 0.5177 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.112, allocations: 123.4 kB / 0.5178 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.1121, allocations: 51.92 kB / 0.5179 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1124, allocations: 263.1 kB / 0.5181 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1126, allocations: 41.03 kB / 0.5182 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1127, allocations: 103.7 kB / 0.5183 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1129, allocations: 127.6 kB / 0.5184 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.113, allocations: 20 kB / 0.5184 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1132, allocations: 71.94 kB / 0.5185 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1133, allocations: 75.72 kB / 0.5186 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1134, allocations: 107.5 kB / 0.5187 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.1138, allocations: 279 kB / 0.5189 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1138, allocations: 0 / 0.5189 GB, free: 8.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1138, allocations: 0 / 0.5189 GB, free: 8.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1138, allocations: 0 / 0.5189 GB, free: 8.848 MB / 382.1 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.001214/0.115, allocations: 0.553 MB / 0.5195 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1151, allocations: 8.625 kB / 0.5195 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.1151, allocations: 46.73 kB / 0.5195 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.1152, allocations: 28.8 kB / 0.5195 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1156, allocations: 323.8 kB / 0.5199 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1157, allocations: 4.375 kB / 0.5199 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.1157, allocations: 16.36 kB / 0.5199 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.116, allocations: 140.6 kB / 0.52 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.116, allocations: 3.938 kB / 0.52 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.116, allocations: 4 kB / 0.52 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.116, allocations: 0 / 0.52 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1162, allocations: 99.94 kB / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1174, allocations: 0.6786 MB / 0.5208 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.1183, allocations: 254.3 kB / 0.521 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1184, allocations: 87.69 kB / 0.5211 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1184, allocations: 4 kB / 0.5211 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1185, allocations: 30.81 kB / 0.5211 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1185, allocations: 0 / 0.5211 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001252/0.1197, allocations: 0.4895 MB / 0.5216 GB, free: 5.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1198, allocations: 59.39 kB / 0.5217 GB, free: 5.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.1202, allocations: 312.8 kB / 0.522 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1202, allocations: 25.7 kB / 0.522 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1203, allocations: 124 kB / 0.5221 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.1204, allocations: 59.52 kB / 0.5222 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.852e-05/0.1205, allocations: 37.7 kB / 0.5222 GB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1206, allocations: 330.8 kB / 0.5225 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1208, allocations: 67.95 kB / 0.5226 GB, free: 4.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1209, allocations: 88.2 kB / 0.5227 GB, free: 4.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1225, allocations: 479.8 kB / 0.5231 GB, free: 4.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1225, allocations: 7.938 kB / 0.5231 GB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006102/0.1231, allocations: 303 kB / 0.5234 GB, free: 3.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1231, allocations: 10.34 kB / 0.5234 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1231, allocations: 0 / 0.5234 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.1234, allocations: 57.64 kB / 0.5235 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1236, allocations: 55.91 kB / 0.5235 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.1263, allocations: 2.809 MB / 0.5263 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.1265, allocations: 23.81 kB / 0.5263 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1265, allocations: 4 kB / 0.5263 GB, free: 0.6836 MB / 382.1 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.000289/0.1268, allocations: 174.4 kB / 0.5265 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.1269, allocations: 15.91 kB / 0.5265 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.127, allocations: 33.45 kB / 0.5265 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.127, allocations: 7.984 kB / 0.5265 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.127, allocations: 0 / 0.5265 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.127, allocations: 0 / 0.5265 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.1274, allocations: 293.4 kB / 0.5268 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1274, allocations: 0 / 0.5268 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.1277, allocations: 51.97 kB / 0.5269 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/0.1279, allocations: 57.61 kB / 0.5269 GB, free: 0 / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.128, allocations: 8.016 kB / 0.5269 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.1305, allocations: 2.805 MB / 0.5297 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1305, allocations: 0 / 0.5297 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.1312, allocations: 421 kB / 0.5301 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1313, allocations: 101 kB / 0.5302 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.1313, allocations: 7.984 kB / 0.5302 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1315, allocations: 8 kB / 0.5302 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1315, allocations: 7.984 kB / 0.5302 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1315, allocations: 7.938 kB / 0.5302 GB, free: 12.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1318, allocations: 244.4 kB / 0.5304 GB, free: 12.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1318, allocations: 4 kB / 0.5304 GB, free: 12.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.1322, allocations: 75.94 kB / 0.5305 GB, free: 12 MB / 398.1 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.00112/0.1333, allocations: 0.967 MB / 0.5314 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007567/0.1341, allocations: 417.1 kB / 0.5318 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1341, allocations: 3.938 kB / 0.5318 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1345, allocations: 317.3 kB / 0.5321 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1349, allocations: 59.98 kB / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.1393, allocations: 3.124 MB / 0.5353 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1398, allocations: 0.744 MB / 0.536 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1399, allocations: 41.53 kB / 0.536 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.14, allocations: 55.41 kB / 0.5361 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.14, allocations: 0 / 0.5361 GB, free: 6.098 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.1785, allocations: 6.448 MB / 0.5424 GB, free: 15.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.21, allocations: 4 kB / 0.5424 GB, free: 15.81 MB / 414.1 MB " [Timeout remaining time 650] (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: 13.188980737933889] Failed to read output from testmodel.py, exit status != 0: 10.297657880932093 10.326403646 10.207442896 Calling exit ...