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.001367/0.001367, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001506/0.001506, allocations: 214.7 kB / 22.25 MB, free: 5.082 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 MB, free: 7.996 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.1054/0.1054, allocations: 24.12 MB / 336.6 MB, free: 11.43 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.002171/0.002171, allocations: 71.89 kB / 473.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3187, allocations: 59.58 MB / 0.5204 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002666/0.3214, allocations: 1.966 MB / 0.5223 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.3219, allocations: 229.4 kB / 0.5225 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.322, allocations: 5.125 kB / 0.5226 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.3221, allocations: 26.44 kB / 0.5226 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.3225, allocations: 118.7 kB / 0.5227 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.3226, allocations: 53.19 kB / 0.5227 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.3229, allocations: 270.2 kB / 0.523 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.323, allocations: 42.75 kB / 0.523 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.3231, allocations: 101.1 kB / 0.5231 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3234, allocations: 129.5 kB / 0.5233 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3234, allocations: 21.31 kB / 0.5233 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3236, allocations: 79.89 kB / 0.5234 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.3236, allocations: 74.02 kB / 0.5234 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3237, allocations: 112.6 kB / 0.5235 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.324, allocations: 271.6 kB / 0.5238 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3241, allocations: 1.188 kB / 0.5238 GB, free: 8.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3241, allocations: 0 / 0.5238 GB, free: 8.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3241, allocations: 0 / 0.5238 GB, free: 8.129 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.0009444/0.325, allocations: 488.7 kB / 0.5243 GB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.325, allocations: 9.953 kB / 0.5243 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3251, allocations: 53.66 kB / 0.5243 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.3251, allocations: 22.52 kB / 0.5243 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3254, allocations: 261.6 kB / 0.5246 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3254, allocations: 8.156 kB / 0.5246 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3255, allocations: 12 kB / 0.5246 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.3257, allocations: 143.8 kB / 0.5247 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3257, allocations: 5.625 kB / 0.5248 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3257, allocations: 4 kB / 0.5248 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3257, allocations: 2.25 kB / 0.5248 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3259, allocations: 98.44 kB / 0.5249 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.3267, allocations: 0.6422 MB / 0.5255 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.3275, allocations: 254 kB / 0.5257 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3277, allocations: 85.28 kB / 0.5258 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3277, allocations: 5.094 kB / 0.5258 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.3277, allocations: 32.5 kB / 0.5258 GB, free: 6.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3277, allocations: 1.062 kB / 0.5258 GB, free: 6.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009914/0.3287, allocations: 356.2 kB / 0.5262 GB, free: 6.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.3287, allocations: 53.23 kB / 0.5262 GB, free: 6.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.329, allocations: 316 kB / 0.5265 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.329, allocations: 25.7 kB / 0.5266 GB, free: 6.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3291, allocations: 125 kB / 0.5267 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.3291, allocations: 56.2 kB / 0.5267 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.3292, allocations: 42.34 kB / 0.5268 GB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.3292, allocations: 333.8 kB / 0.5271 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3293, allocations: 64.28 kB / 0.5272 GB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3295, allocations: 92.42 kB / 0.5272 GB, free: 5.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.3309, allocations: 471.9 kB / 0.5277 GB, free: 5.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3309, allocations: 0 / 0.5277 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000512/0.3314, allocations: 305.3 kB / 0.528 GB, free: 5.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3314, allocations: 10.55 kB / 0.528 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3314, allocations: 0 / 0.528 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.3316, allocations: 60.42 kB / 0.528 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.3319, allocations: 49.81 kB / 0.5281 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.3333, allocations: 2.615 MB / 0.5306 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3335, allocations: 21.25 kB / 0.5307 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3335, allocations: 4.5 kB / 0.5307 GB, free: 2.848 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.0001981/0.3337, allocations: 171.2 kB / 0.5308 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3338, allocations: 16.56 kB / 0.5309 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.3338, allocations: 33.47 kB / 0.5309 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3338, allocations: 6.188 kB / 0.5309 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3338, allocations: 0.9375 kB / 0.5309 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3338, allocations: 0.75 kB / 0.5309 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3341, allocations: 265 kB / 0.5311 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3341, allocations: 0 / 0.5311 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.3344, allocations: 54.19 kB / 0.5312 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.3346, allocations: 47.78 kB / 0.5312 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3346, allocations: 8.344 kB / 0.5313 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.336, allocations: 2.61 MB / 0.5338 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.336, allocations: 5.094 kB / 0.5338 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.3367, allocations: 424.3 kB / 0.5342 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3368, allocations: 27.75 kB / 0.5342 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3368, allocations: 7.781 kB / 0.5342 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.337, allocations: 10.78 kB / 0.5343 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.337, allocations: 10.17 kB / 0.5343 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3371, allocations: 3 kB / 0.5343 GB, free: 15.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.3373, allocations: 248.1 kB / 0.5345 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 0 / 0.5345 GB, free: 15.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.3377, allocations: 76.38 kB / 0.5346 GB, free: 15.43 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.001047/0.3388, allocations: 0.9594 MB / 0.5355 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006912/0.3394, allocations: 415.3 kB / 0.5359 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3395, allocations: 4 kB / 0.5359 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.3399, allocations: 324.9 kB / 0.5362 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.3403, allocations: 63.86 kB / 0.5363 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.3451, allocations: 3.126 MB / 0.5393 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3456, allocations: 0.7452 MB / 0.5401 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.3457, allocations: 41.23 kB / 0.5401 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3458, allocations: 55.42 kB / 0.5402 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3458, allocations: 1.156 kB / 0.5402 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3843, allocations: 6.607 MB / 0.5466 GB, free: 9.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 8.797 kB / 0.5466 GB, free: 9.34 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.934183845005464] Failed to read output from testmodel.py, exit status != 0: 12.099379328996292 12.115271982 11.788217076 Calling exit ...