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.001534/0.001534, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001556/0.001556, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1027/0.1027, allocations: 22.94 MB / 336.1 MB, free: 12.4 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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="cs",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.002944/0.002944, allocations: 75.88 kB / 472.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.397, allocations: 59.28 MB / 0.519 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002797/0.3998, allocations: 1.878 MB / 0.5208 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.4003, allocations: 225.8 kB / 0.5211 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.4004, allocations: 2.219 kB / 0.5211 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.4006, allocations: 25.88 kB / 0.5211 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.401, allocations: 118.8 kB / 0.5212 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.4011, allocations: 54.45 kB / 0.5213 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.4014, allocations: 273.4 kB / 0.5215 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.4016, allocations: 50.94 kB / 0.5216 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4017, allocations: 96.05 kB / 0.5217 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.402, allocations: 134.1 kB / 0.5218 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.402, allocations: 17.31 kB / 0.5218 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.4022, allocations: 75.92 kB / 0.5219 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.4023, allocations: 83.16 kB / 0.5219 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.4025, allocations: 87.42 kB / 0.522 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.4029, allocations: 275.5 kB / 0.5223 GB, free: 8.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4029, allocations: 1.281 kB / 0.5223 GB, free: 8.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4029, allocations: 4.609 kB / 0.5223 GB, free: 8.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4029, allocations: 0 / 0.5223 GB, free: 8.766 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.001115/0.404, allocations: 487.4 kB / 0.5228 GB, free: 8.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.404, allocations: 9.859 kB / 0.5228 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.854e-05/0.4041, allocations: 7.25 kB / 0.5228 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.4041, allocations: 41.36 kB / 0.5228 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.4042, allocations: 22.98 kB / 0.5228 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.4045, allocations: 265.4 kB / 0.5231 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.4046, allocations: 8.625 kB / 0.5231 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4046, allocations: 16.48 kB / 0.5231 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.4049, allocations: 147.5 kB / 0.5233 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4049, allocations: 1.188 kB / 0.5233 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4049, allocations: 9.062 kB / 0.5233 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.4049, allocations: 2.156 kB / 0.5233 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.4051, allocations: 98.5 kB / 0.5234 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.4061, allocations: 0.4971 MB / 0.5239 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.407, allocations: 252.2 kB / 0.5241 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.4071, allocations: 93.59 kB / 0.5242 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4071, allocations: 2.344 kB / 0.5242 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.4072, allocations: 31.62 kB / 0.5242 GB, free: 7.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.4072, allocations: 0 / 0.5242 GB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001052/0.4082, allocations: 355.1 kB / 0.5246 GB, free: 7.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4082, allocations: 53.53 kB / 0.5246 GB, free: 7.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4086, allocations: 315.3 kB / 0.5249 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4086, allocations: 25.7 kB / 0.5249 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4087, allocations: 126.1 kB / 0.525 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.4087, allocations: 55.23 kB / 0.5251 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.4088, allocations: 33.56 kB / 0.5251 GB, free: 6.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.4088, allocations: 333.8 kB / 0.5255 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4089, allocations: 66.28 kB / 0.5255 GB, free: 6.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.4091, allocations: 89.11 kB / 0.5256 GB, free: 6.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4106, allocations: 480.8 kB / 0.5261 GB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4106, allocations: 1.312 kB / 0.5261 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005657/0.4112, allocations: 303.4 kB / 0.5263 GB, free: 6.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4112, allocations: 5.719 kB / 0.5264 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4112, allocations: 1.062 kB / 0.5264 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.4114, allocations: 56.92 kB / 0.5264 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.4117, allocations: 54.25 kB / 0.5265 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.4133, allocations: 2.61 MB / 0.529 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.4135, allocations: 21.11 kB / 0.529 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.4135, allocations: 4.031 kB / 0.529 GB, free: 3.641 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.0002577/0.4138, allocations: 175.1 kB / 0.5292 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.4139, allocations: 24.47 kB / 0.5292 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.4139, allocations: 34 kB / 0.5293 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4139, allocations: 1.219 kB / 0.5293 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4139, allocations: 1.188 kB / 0.5293 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4139, allocations: 0.8438 kB / 0.5293 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.4142, allocations: 234.6 kB / 0.5295 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4142, allocations: 0 / 0.5295 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.4146, allocations: 49.73 kB / 0.5295 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.4148, allocations: 55.84 kB / 0.5296 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.4148, allocations: 12.2 kB / 0.5296 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.4164, allocations: 2.603 MB / 0.5321 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4164, allocations: 1.984 kB / 0.5321 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.4171, allocations: 418.6 kB / 0.5325 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.4172, allocations: 27.64 kB / 0.5326 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.4173, allocations: 4.281 kB / 0.5326 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.4174, allocations: 12.34 kB / 0.5326 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.4175, allocations: 9.156 kB / 0.5326 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4175, allocations: 7.359 kB / 0.5326 GB, free: 380 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4178, allocations: 243.7 kB / 0.5328 GB, free: 256 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4178, allocations: 8.031 kB / 0.5328 GB, free: 248 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.4182, allocations: 73.16 kB / 0.5329 GB, free: 240 kB / 382.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.001089/0.4193, allocations: 0.9602 MB / 0.5338 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.4201, allocations: 422.1 kB / 0.5342 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4201, allocations: 0 / 0.5342 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.4205, allocations: 314.4 kB / 0.5345 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4209, allocations: 59.19 kB / 0.5346 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.4257, allocations: 3.123 MB / 0.5377 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.4259, allocations: 129.9 kB / 0.5378 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.4261, allocations: 51.02 kB / 0.5378 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4262, allocations: 53.36 kB / 0.5379 GB, free: 12.71 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4262, allocations: 1.219 kB / 0.5379 GB, free: 12.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.4803, allocations: 6.965 MB / 0.5447 GB, free: 10.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.53, allocations: 13.08 kB / 0.5447 GB, free: 10.8 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Containment_elements_fmu --startTime=0 --stopTime=100000 --stepSize=10 --timeout=50 --tolerance=1e-06 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: 15.427403906942345] Failed to read output from testmodel.py, exit status != 0: 12.70187309407629 12.724272725 12.316497591 Calling exit ...