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.001287/0.001287, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001481/0.001481, allocations: 218 kB / 23.04 MB, free: 5.074 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.1049/0.1049, allocations: 22.94 MB / 336.2 MB, free: 12.71 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.00211/0.00211, allocations: 64.17 kB / 472.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 59.29 MB / 0.5191 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003113/0.3723, allocations: 1.958 MB / 0.521 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.3728, allocations: 236 kB / 0.5212 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3729, allocations: 2.906 kB / 0.5212 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.373, allocations: 22.33 kB / 0.5213 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.3734, allocations: 126.5 kB / 0.5214 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.3736, allocations: 50.11 kB / 0.5214 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.3739, allocations: 272.9 kB / 0.5217 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.374, allocations: 47.33 kB / 0.5217 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3741, allocations: 97.06 kB / 0.5218 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3743, allocations: 130.5 kB / 0.522 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.3743, allocations: 16.25 kB / 0.522 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3745, allocations: 80.05 kB / 0.5221 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.3746, allocations: 78.67 kB / 0.5221 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3747, allocations: 107.3 kB / 0.5222 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.3751, allocations: 275.2 kB / 0.5225 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3751, allocations: 0 / 0.5225 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3751, allocations: 4 kB / 0.5225 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3751, allocations: 0 / 0.5225 GB, free: 8.699 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.000993/0.3761, allocations: 491 kB / 0.523 GB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3761, allocations: 10.44 kB / 0.523 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.708e-05/0.3761, allocations: 2.656 kB / 0.523 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.3762, allocations: 45.39 kB / 0.523 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3762, allocations: 22.08 kB / 0.523 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3765, allocations: 261.3 kB / 0.5233 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3766, allocations: 7.719 kB / 0.5233 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3766, allocations: 16.89 kB / 0.5233 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3769, allocations: 144 kB / 0.5234 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3769, allocations: 0.8438 kB / 0.5235 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3769, allocations: 5.188 kB / 0.5235 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3769, allocations: 3.531 kB / 0.5235 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.3771, allocations: 97.61 kB / 0.5236 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.378, allocations: 0.6419 MB / 0.5242 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.3788, allocations: 257.9 kB / 0.5244 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3789, allocations: 83.23 kB / 0.5245 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.3789, allocations: 1.625 kB / 0.5245 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.3789, allocations: 31.66 kB / 0.5245 GB, free: 7.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.3789, allocations: 4 kB / 0.5245 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009849/0.3799, allocations: 348.1 kB / 0.5249 GB, free: 7.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3799, allocations: 57.19 kB / 0.5249 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.3802, allocations: 315.5 kB / 0.5252 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3803, allocations: 30.45 kB / 0.5253 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3803, allocations: 123.2 kB / 0.5254 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3804, allocations: 55.86 kB / 0.5254 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.3804, allocations: 36.67 kB / 0.5255 GB, free: 6.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.3805, allocations: 335.4 kB / 0.5258 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3806, allocations: 67.16 kB / 0.5258 GB, free: 6.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3807, allocations: 96.92 kB / 0.5259 GB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3821, allocations: 472.8 kB / 0.5264 GB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3821, allocations: 0 / 0.5264 GB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005211/0.3826, allocations: 307.7 kB / 0.5267 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3827, allocations: 7.953 kB / 0.5267 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3827, allocations: 0 / 0.5267 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.3829, allocations: 53.7 kB / 0.5267 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3831, allocations: 53.11 kB / 0.5268 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.3846, allocations: 2.613 MB / 0.5293 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3848, allocations: 21.12 kB / 0.5294 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3848, allocations: 4.125 kB / 0.5294 GB, free: 3.43 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.0002424/0.385, allocations: 180.2 kB / 0.5295 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.3851, allocations: 15.88 kB / 0.5296 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.3851, allocations: 38.81 kB / 0.5296 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3851, allocations: 2.312 kB / 0.5296 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3851, allocations: 0.7031 kB / 0.5296 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3851, allocations: 2.156 kB / 0.5296 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.3855, allocations: 264.5 kB / 0.5298 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3855, allocations: 0 / 0.5298 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.3858, allocations: 49.08 kB / 0.5299 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.386, allocations: 51.27 kB / 0.5299 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.386, allocations: 13.45 kB / 0.53 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.3874, allocations: 2.607 MB / 0.5325 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3874, allocations: 0 / 0.5325 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.3881, allocations: 418 kB / 0.5329 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3881, allocations: 31.77 kB / 0.5329 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3882, allocations: 7.953 kB / 0.5329 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3884, allocations: 11.22 kB / 0.533 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.3884, allocations: 13.69 kB / 0.533 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3884, allocations: 3.203 kB / 0.533 GB, free: 148 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002604/0.3887, allocations: 243.8 kB / 0.5332 GB, free: 24 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3887, allocations: 0 / 0.5332 GB, free: 24 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000443/0.3891, allocations: 76.22 kB / 0.5333 GB, free: 12 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.001192/0.3903, allocations: 0.9742 MB / 0.5342 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007406/0.3911, allocations: 414.6 kB / 0.5346 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3911, allocations: 5.031 kB / 0.5346 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3915, allocations: 316.8 kB / 0.5349 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3919, allocations: 66 kB / 0.535 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.3965, allocations: 3.105 MB / 0.538 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.397, allocations: 0.7455 MB / 0.5387 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.3971, allocations: 41.75 kB / 0.5388 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3972, allocations: 55.06 kB / 0.5388 GB, free: 11.86 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3972, allocations: 0 / 0.5388 GB, free: 11.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.434, allocations: 6.642 MB / 0.5453 GB, free: 10.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.23, allocations: 7.953 kB / 0.5453 GB, free: 10.1 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: 15.12300120596774] Failed to read output from testmodel.py, exit status != 0: 12.392335813958198 12.411296953999999 12.032215602 Calling exit ...