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.001414/0.001414, allocations: 104.3 kB / 19.72 MB, free: 1.922 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.001657/0.001657, allocations: 212.1 kB / 23.01 MB, free: 4.98 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.607/1.607, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.11/0.11, allocations: 24.03 MB / 337.2 MB, free: 11.36 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: translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") [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.002086/0.002086, allocations: 67.91 kB / 474.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4521, allocations: 59.57 MB / 0.5214 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002992/0.4551, allocations: 1.867 MB / 0.5232 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006097/0.4557, allocations: 241.2 kB / 0.5234 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.4558, allocations: 2.438 kB / 0.5234 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.4559, allocations: 21.34 kB / 0.5235 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.4564, allocations: 118.3 kB / 0.5236 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.4565, allocations: 54.59 kB / 0.5236 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.4568, allocations: 273.1 kB / 0.5239 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.4569, allocations: 34.52 kB / 0.5239 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.457, allocations: 97.59 kB / 0.524 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.4573, allocations: 125 kB / 0.5241 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.4573, allocations: 17.59 kB / 0.5242 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.4575, allocations: 82.75 kB / 0.5242 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4576, allocations: 79.83 kB / 0.5243 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4577, allocations: 94.05 kB / 0.5244 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.458, allocations: 273.6 kB / 0.5247 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4581, allocations: 1.156 kB / 0.5247 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4581, allocations: 0 / 0.5247 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4581, allocations: 0 / 0.5247 GB, free: 8.48 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.00101/0.4591, allocations: 487.7 kB / 0.5251 GB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4591, allocations: 10.75 kB / 0.5251 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.4592, allocations: 22.98 kB / 0.5252 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.4596, allocations: 264.7 kB / 0.5254 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4596, allocations: 8.562 kB / 0.5254 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.4597, allocations: 16.41 kB / 0.5254 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.46, allocations: 143.8 kB / 0.5256 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.46, allocations: 192 / 0.5256 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.46, allocations: 9.594 kB / 0.5256 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.46, allocations: 2.219 kB / 0.5256 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.4602, allocations: 98.41 kB / 0.5257 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.4611, allocations: 476.9 kB / 0.5261 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.4619, allocations: 255.5 kB / 0.5264 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.462, allocations: 81.5 kB / 0.5265 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4621, allocations: 2.688 kB / 0.5265 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4621, allocations: 40.56 kB / 0.5265 GB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.4621, allocations: 0 / 0.5265 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001016/0.4631, allocations: 345.2 kB / 0.5268 GB, free: 7.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4631, allocations: 56.81 kB / 0.5269 GB, free: 7.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.4635, allocations: 305.6 kB / 0.5272 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.4635, allocations: 29.7 kB / 0.5272 GB, free: 6.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.4636, allocations: 127.2 kB / 0.5273 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.4636, allocations: 58.97 kB / 0.5274 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.4637, allocations: 45.78 kB / 0.5274 GB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.4637, allocations: 330.6 kB / 0.5277 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.4639, allocations: 68.44 kB / 0.5278 GB, free: 6.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.464, allocations: 91.03 kB / 0.5279 GB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.4654, allocations: 470.4 kB / 0.5283 GB, free: 6.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4654, allocations: 0 / 0.5283 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005198/0.4659, allocations: 303.4 kB / 0.5286 GB, free: 6.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4659, allocations: 8.312 kB / 0.5286 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4659, allocations: 5.109 kB / 0.5286 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.4661, allocations: 51.38 kB / 0.5287 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.4664, allocations: 53 kB / 0.5287 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.4681, allocations: 2.562 MB / 0.5312 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.4683, allocations: 16.88 kB / 0.5313 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4683, allocations: 8.188 kB / 0.5313 GB, free: 3.508 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.0002613/0.4686, allocations: 183.3 kB / 0.5314 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.4686, allocations: 20.11 kB / 0.5315 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.4687, allocations: 29.12 kB / 0.5315 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4687, allocations: 1.719 kB / 0.5315 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4687, allocations: 1.125 kB / 0.5315 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4687, allocations: 2.031 kB / 0.5315 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.469, allocations: 204.1 kB / 0.5317 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.469, allocations: 3.938 kB / 0.5317 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.4693, allocations: 49.3 kB / 0.5317 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.4695, allocations: 52.56 kB / 0.5318 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.4695, allocations: 8.375 kB / 0.5318 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.4709, allocations: 2.564 MB / 0.5343 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4709, allocations: 1.062 kB / 0.5343 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.4716, allocations: 415.7 kB / 0.5347 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.4717, allocations: 27.03 kB / 0.5347 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.4717, allocations: 5.344 kB / 0.5347 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4719, allocations: 13.58 kB / 0.5347 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.4719, allocations: 15.03 kB / 0.5348 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4719, allocations: 6.828 kB / 0.5348 GB, free: 336 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.4722, allocations: 234.6 kB / 0.535 GB, free: 216 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4722, allocations: 1.031 kB / 0.535 GB, free: 216 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000452/0.4726, allocations: 74.88 kB / 0.5351 GB, free: 204 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.0001934/0.4728, allocations: 118.4 kB / 0.5352 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007956/0.4736, allocations: 424.8 kB / 0.5356 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4736, allocations: 0 / 0.5356 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.4741, allocations: 310.9 kB / 0.5359 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4745, allocations: 49.31 kB / 0.5359 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4765, allocations: 0.8505 MB / 0.5367 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4768, allocations: 135.2 kB / 0.5369 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.477, allocations: 40.8 kB / 0.5369 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.4771, allocations: 16.98 kB / 0.5369 GB, free: 14.87 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4771, allocations: 0 / 0.5369 GB, free: 14.87 MB / 398.1 MB Notification: Performance of Templates: time 0.01186/0.4889, allocations: 4.3 MB / 0.5411 GB, free: 14.27 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.49339135736227] Failed to read output from testmodel.py, exit status != 0: 0.4982190188020468 0.511752776 0.050563720000000006 Calling exit ...