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.001729/0.001729, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002082/0.002082, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.459/1.459, 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.109/0.109, allocations: 24.12 MB / 336.6 MB, free: 11.44 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.003357/0.003357, allocations: 75.88 kB / 473.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3445, allocations: 59.61 MB / 0.5204 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003148/0.3476, allocations: 1.951 MB / 0.5223 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005885/0.3482, allocations: 236.6 kB / 0.5226 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.356e-05/0.3483, allocations: 6.812 kB / 0.5226 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3485, allocations: 20.91 kB / 0.5226 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.349, allocations: 114.2 kB / 0.5227 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.3491, allocations: 59.33 kB / 0.5227 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.3495, allocations: 272.7 kB / 0.523 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3497, allocations: 44.36 kB / 0.523 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3498, allocations: 99.14 kB / 0.5231 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.35, allocations: 130.4 kB / 0.5233 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.3501, allocations: 17.69 kB / 0.5233 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3503, allocations: 78.98 kB / 0.5234 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3504, allocations: 78.75 kB / 0.5234 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3505, allocations: 103.7 kB / 0.5235 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.3509, allocations: 274 kB / 0.5238 GB, free: 8.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3509, allocations: 5.125 kB / 0.5238 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3509, allocations: 0 / 0.5238 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3509, allocations: 0 / 0.5238 GB, free: 8.117 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.001062/0.352, allocations: 490.2 kB / 0.5243 GB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.352, allocations: 11.59 kB / 0.5243 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.3521, allocations: 44.75 kB / 0.5243 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.3521, allocations: 22.11 kB / 0.5243 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.3525, allocations: 264.5 kB / 0.5246 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3525, allocations: 4.312 kB / 0.5246 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.3526, allocations: 12.94 kB / 0.5246 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3528, allocations: 152.8 kB / 0.5248 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3528, allocations: 3.938 kB / 0.5248 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3529, allocations: 5.094 kB / 0.5248 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3529, allocations: 2.188 kB / 0.5248 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.3531, allocations: 99.64 kB / 0.5249 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.354, allocations: 0.6382 MB / 0.5255 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.3548, allocations: 252.4 kB / 0.5257 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.355, allocations: 81.56 kB / 0.5258 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.355, allocations: 1.5 kB / 0.5258 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.355, allocations: 36.8 kB / 0.5258 GB, free: 6.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.355, allocations: 4 kB / 0.5258 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001042/0.356, allocations: 351.4 kB / 0.5262 GB, free: 6.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3561, allocations: 58.48 kB / 0.5262 GB, free: 6.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3564, allocations: 316.8 kB / 0.5265 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3564, allocations: 26.89 kB / 0.5266 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.3565, allocations: 129.2 kB / 0.5267 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.3565, allocations: 56.19 kB / 0.5267 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.3566, allocations: 37.38 kB / 0.5268 GB, free: 6.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.3566, allocations: 328.9 kB / 0.5271 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3567, allocations: 69.69 kB / 0.5272 GB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3569, allocations: 93.19 kB / 0.5272 GB, free: 5.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3583, allocations: 472.5 kB / 0.5277 GB, free: 5.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3583, allocations: 0 / 0.5277 GB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005223/0.3588, allocations: 312.8 kB / 0.528 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3589, allocations: 7.25 kB / 0.528 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3589, allocations: 1.281 kB / 0.528 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.3591, allocations: 55.83 kB / 0.5281 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3593, allocations: 50.17 kB / 0.5281 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.3609, allocations: 2.615 MB / 0.5307 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3611, allocations: 19.88 kB / 0.5307 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.3611, allocations: 8.891 kB / 0.5307 GB, free: 2.836 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.0002588/0.3614, allocations: 169.4 kB / 0.5308 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.3614, allocations: 17.17 kB / 0.5309 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.3615, allocations: 37.62 kB / 0.5309 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3615, allocations: 5.188 kB / 0.5309 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3615, allocations: 1.156 kB / 0.5309 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3615, allocations: 1.219 kB / 0.5309 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.3618, allocations: 257.5 kB / 0.5311 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3618, allocations: 0 / 0.5311 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.3621, allocations: 53.34 kB / 0.5312 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.3623, allocations: 43.84 kB / 0.5312 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3623, allocations: 15.91 kB / 0.5313 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.3639, allocations: 2.614 MB / 0.5338 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3639, allocations: 1.188 kB / 0.5338 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.3647, allocations: 419.4 kB / 0.5342 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.3647, allocations: 30.58 kB / 0.5342 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.3648, allocations: 9.109 kB / 0.5342 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3649, allocations: 6.109 kB / 0.5343 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.365, allocations: 14.16 kB / 0.5343 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.365, allocations: 4.156 kB / 0.5343 GB, free: 15.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.3653, allocations: 246.9 kB / 0.5345 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3653, allocations: 0 / 0.5345 GB, free: 15.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000436/0.3657, allocations: 72.78 kB / 0.5346 GB, free: 15.42 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.001179/0.3669, allocations: 0.957 MB / 0.5355 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.3678, allocations: 422.2 kB / 0.5359 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3678, allocations: 0 / 0.5359 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.3683, allocations: 322.4 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.0004495/0.3687, allocations: 56.08 kB / 0.5363 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.3733, allocations: 3.125 MB / 0.5393 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.3738, allocations: 0.746 MB / 0.5401 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.3739, allocations: 40.91 kB / 0.5401 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.374, allocations: 56.23 kB / 0.5401 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.374, allocations: 0 / 0.5401 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.4157, allocations: 6.613 MB / 0.5466 GB, free: 9.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.14, allocations: 8.188 kB / 0.5466 GB, free: 9.336 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 & /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: 14.994960006093606] Failed to read output from testmodel.py, exit status != 0: 12.253680954920128 12.281179066 11.924409313 Calling exit ...