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.00133/0.00133, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001486/0.001486, allocations: 212.2 kB / 23.01 MB, free: 4.992 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1093/0.1093, allocations: 24.05 MB / 337.2 MB, free: 11.32 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="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.003462/0.003462, allocations: 71.89 kB / 473.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3284, allocations: 59.57 MB / 0.5209 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002729/0.3311, allocations: 1.879 MB / 0.5227 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005509/0.3316, allocations: 230.3 kB / 0.523 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.3317, allocations: 5.25 kB / 0.523 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.3319, allocations: 21.98 kB / 0.523 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3323, allocations: 114.9 kB / 0.5231 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.3324, allocations: 57.58 kB / 0.5232 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.3327, allocations: 265.6 kB / 0.5234 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3328, allocations: 50.92 kB / 0.5235 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.3329, allocations: 92.62 kB / 0.5235 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3331, allocations: 130.5 kB / 0.5237 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.3331, allocations: 16.44 kB / 0.5237 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.3333, allocations: 76.44 kB / 0.5238 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.3334, allocations: 82.56 kB / 0.5238 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.414e-05/0.3335, allocations: 86.86 kB / 0.5239 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.3338, allocations: 277.1 kB / 0.5242 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3338, allocations: 0 / 0.5242 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3338, allocations: 1 kB / 0.5242 GB, free: 8.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3338, allocations: 0 / 0.5242 GB, free: 8.164 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.000911/0.3347, allocations: 490.6 kB / 0.5247 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3348, allocations: 9.984 kB / 0.5247 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3348, allocations: 50.77 kB / 0.5247 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3349, allocations: 21.86 kB / 0.5247 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.3352, allocations: 262.5 kB / 0.525 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3352, allocations: 12.72 kB / 0.525 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.3352, allocations: 12.31 kB / 0.525 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3354, allocations: 144 kB / 0.5251 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3354, allocations: 3.938 kB / 0.5251 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3355, allocations: 1.125 kB / 0.5251 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3355, allocations: 2.188 kB / 0.5252 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3356, allocations: 102.3 kB / 0.5252 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.3364, allocations: 0.5004 MB / 0.5257 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.3372, allocations: 256 kB / 0.526 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.3373, allocations: 82.02 kB / 0.5261 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3373, allocations: 1.5 kB / 0.5261 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.3374, allocations: 36.58 kB / 0.5261 GB, free: 6.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3374, allocations: 0 / 0.5261 GB, free: 6.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009486/0.3383, allocations: 348.6 kB / 0.5264 GB, free: 6.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.3383, allocations: 61.56 kB / 0.5265 GB, free: 6.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.3387, allocations: 316.5 kB / 0.5268 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.3387, allocations: 27.11 kB / 0.5268 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3387, allocations: 128.3 kB / 0.5269 GB, free: 6.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.3388, allocations: 56.39 kB / 0.527 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.3388, allocations: 38.64 kB / 0.527 GB, free: 6.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.3389, allocations: 330.6 kB / 0.5273 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.339, allocations: 67.69 kB / 0.5274 GB, free: 5.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3391, allocations: 88.02 kB / 0.5275 GB, free: 5.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3406, allocations: 470.5 kB / 0.5279 GB, free: 5.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3406, allocations: 7.938 kB / 0.5279 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005077/0.3411, allocations: 307.6 kB / 0.5282 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3411, allocations: 10.22 kB / 0.5283 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3412, allocations: 0.9844 kB / 0.5283 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.3414, allocations: 53.2 kB / 0.5283 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3416, allocations: 49 kB / 0.5283 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3431, allocations: 2.61 MB / 0.5309 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3433, allocations: 18.86 kB / 0.5309 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3433, allocations: 7.5 kB / 0.5309 GB, free: 3.031 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.0002291/0.3435, allocations: 167.8 kB / 0.5311 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.3436, allocations: 15.97 kB / 0.5311 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.3436, allocations: 38.2 kB / 0.5311 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3436, allocations: 1.156 kB / 0.5311 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3436, allocations: 1.906 kB / 0.5311 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3436, allocations: 4.656 kB / 0.5311 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.3439, allocations: 239.3 kB / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3439, allocations: 0 / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.3442, allocations: 49.11 kB / 0.5314 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.3444, allocations: 47.8 kB / 0.5315 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3444, allocations: 13.11 kB / 0.5315 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.3457, allocations: 2.598 MB / 0.534 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3457, allocations: 0 / 0.534 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.3464, allocations: 425.1 kB / 0.5344 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.3465, allocations: 31.2 kB / 0.5344 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3465, allocations: 5.062 kB / 0.5345 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3467, allocations: 11.08 kB / 0.5345 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3467, allocations: 9.703 kB / 0.5345 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3468, allocations: 7.406 kB / 0.5345 GB, free: 15.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.347, allocations: 244.1 kB / 0.5347 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.347, allocations: 0 / 0.5347 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.3474, allocations: 72.53 kB / 0.5348 GB, free: 15.63 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.00106/0.3485, allocations: 0.9621 MB / 0.5357 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.3492, allocations: 412.6 kB / 0.5361 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3492, allocations: 0.6875 kB / 0.5361 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.3496, allocations: 321.5 kB / 0.5364 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.35, allocations: 66.38 kB / 0.5365 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.3545, allocations: 3.118 MB / 0.5395 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3546, allocations: 138.6 kB / 0.5397 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.3548, allocations: 42.78 kB / 0.5397 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3549, allocations: 54.14 kB / 0.5398 GB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3549, allocations: 0 / 0.5398 GB, free: 12.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.3951, allocations: 7.299 MB / 0.5469 GB, free: 9.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 3.781 kB / 0.5469 GB, free: 9.621 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.922097121365368] Failed to read output from testmodel.py, exit status != 0: 12.07900458900258 12.092861958 11.755819122 Calling exit ...