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.00161/0.00161, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001767/0.001767, allocations: 216.4 kB / 23.01 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.107/0.107, allocations: 24.13 MB / 337.3 MB, free: 11.42 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.002055/0.002055, allocations: 63.91 kB / 474.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4236, allocations: 59.6 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002786/0.4263, allocations: 1.963 MB / 0.5236 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005573/0.4269, allocations: 237 kB / 0.5238 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.427, allocations: 2.5 kB / 0.5238 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.4271, allocations: 25.05 kB / 0.5238 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.4276, allocations: 119 kB / 0.5239 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.4277, allocations: 50.45 kB / 0.524 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.428, allocations: 274 kB / 0.5242 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4281, allocations: 40.48 kB / 0.5243 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4282, allocations: 104.7 kB / 0.5244 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.4284, allocations: 126.6 kB / 0.5245 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.4285, allocations: 17.06 kB / 0.5245 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.4286, allocations: 87.44 kB / 0.5246 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.4288, allocations: 78.52 kB / 0.5247 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.4289, allocations: 108.4 kB / 0.5248 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.4292, allocations: 270 kB / 0.525 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4292, allocations: 1.406 kB / 0.525 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4292, allocations: 0 / 0.525 GB, free: 8.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4292, allocations: 0 / 0.525 GB, free: 8.395 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.001059/0.4303, allocations: 497.9 kB / 0.5255 GB, free: 8.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.4303, allocations: 10.77 kB / 0.5255 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.4304, allocations: 23.2 kB / 0.5255 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.4308, allocations: 260.8 kB / 0.5258 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4308, allocations: 7.594 kB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.4308, allocations: 8.547 kB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.4311, allocations: 141.1 kB / 0.5259 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4311, allocations: 192 / 0.5259 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4311, allocations: 9.031 kB / 0.5259 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4311, allocations: 7.922 kB / 0.5259 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.4313, allocations: 97.75 kB / 0.526 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009541/0.4323, allocations: 0.6305 MB / 0.5267 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.4331, allocations: 269 kB / 0.5269 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.4333, allocations: 82.88 kB / 0.527 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4333, allocations: 1.281 kB / 0.527 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4333, allocations: 31.75 kB / 0.527 GB, free: 7.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.4333, allocations: 0 / 0.527 GB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001042/0.4344, allocations: 353 kB / 0.5274 GB, free: 6.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.4344, allocations: 53.59 kB / 0.5274 GB, free: 6.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.4347, allocations: 316.4 kB / 0.5277 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4348, allocations: 29.64 kB / 0.5277 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.4348, allocations: 128.8 kB / 0.5279 GB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.4349, allocations: 61.34 kB / 0.5279 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.4349, allocations: 33.28 kB / 0.528 GB, free: 6.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.435, allocations: 331.8 kB / 0.5283 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.4351, allocations: 67 kB / 0.5283 GB, free: 6.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4352, allocations: 88.38 kB / 0.5284 GB, free: 6.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.4367, allocations: 481.9 kB / 0.5289 GB, free: 5.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4367, allocations: 1.281 kB / 0.5289 GB, free: 5.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005808/0.4373, allocations: 304.6 kB / 0.5292 GB, free: 5.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4373, allocations: 9.609 kB / 0.5292 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4373, allocations: 1.125 kB / 0.5292 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.4376, allocations: 51.77 kB / 0.5292 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.4378, allocations: 58.77 kB / 0.5293 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.4394, allocations: 2.606 MB / 0.5318 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.4396, allocations: 21.52 kB / 0.5319 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4396, allocations: 4.625 kB / 0.5319 GB, free: 3.164 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.0002124/0.4398, allocations: 175.5 kB / 0.532 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.4399, allocations: 17.06 kB / 0.532 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.44, allocations: 28.47 kB / 0.5321 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.44, allocations: 6.5 kB / 0.5321 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.44, allocations: 0.7969 kB / 0.5321 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.44, allocations: 2.109 kB / 0.5321 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.4403, allocations: 263.3 kB / 0.5323 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4403, allocations: 6.016 kB / 0.5323 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4406, allocations: 47.73 kB / 0.5324 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000174/0.4408, allocations: 52.58 kB / 0.5324 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.4408, allocations: 4.781 kB / 0.5324 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.4423, allocations: 2.606 MB / 0.535 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4423, allocations: 0 / 0.535 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006822/0.4429, allocations: 424.8 kB / 0.5354 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.443, allocations: 30.06 kB / 0.5354 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.4431, allocations: 8.734 kB / 0.5354 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4432, allocations: 7.266 kB / 0.5354 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.4433, allocations: 17.47 kB / 0.5354 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4433, allocations: 10.91 kB / 0.5355 GB, free: 15.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.4436, allocations: 244.3 kB / 0.5357 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4436, allocations: 0 / 0.5357 GB, free: 15.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.444, allocations: 73.08 kB / 0.5358 GB, free: 15.74 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.0002056/0.4442, allocations: 108.8 kB / 0.5359 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008079/0.445, allocations: 423.5 kB / 0.5363 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.445, allocations: 0.5312 kB / 0.5363 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.4455, allocations: 319.1 kB / 0.5366 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4459, allocations: 68.2 kB / 0.5366 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4477, allocations: 0.8841 MB / 0.5375 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4482, allocations: 0.7445 MB / 0.5382 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.976e-05/0.4483, allocations: 18.64 kB / 0.5382 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4483, allocations: 1.125 kB / 0.5382 GB, free: 13.75 MB / 398.1 MB Notification: Performance of Templates: time 0.00987/0.4581, allocations: 4.295 MB / 0.5424 GB, free: 13 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: 8.599913001991808] Failed to read output from testmodel.py, exit status != 0: 0.4695333670824766 0.49659077700000004 0.062085561000000004 Calling exit ...