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.001442/0.001442, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001687/0.001687, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1025/0.1025, allocations: 24.1 MB / 333 MB, free: 12.61 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.002298/0.002298, allocations: 71.81 kB / 468.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4525, allocations: 59.57 MB / 0.5155 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003283/0.4558, allocations: 1.945 MB / 0.5174 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005738/0.4564, allocations: 245.1 kB / 0.5177 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.4564, allocations: 2.406 kB / 0.5177 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.4566, allocations: 21.66 kB / 0.5177 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.457, allocations: 108 kB / 0.5178 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.4572, allocations: 52.8 kB / 0.5178 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.4575, allocations: 262.5 kB / 0.5181 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.4577, allocations: 43.27 kB / 0.5181 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.4578, allocations: 104.6 kB / 0.5182 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.4581, allocations: 129.7 kB / 0.5184 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.4581, allocations: 17.84 kB / 0.5184 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4583, allocations: 71.2 kB / 0.5184 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4584, allocations: 75.02 kB / 0.5185 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4585, allocations: 114.9 kB / 0.5186 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.459, allocations: 271.4 kB / 0.5189 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.459, allocations: 0 / 0.5189 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.459, allocations: 0 / 0.5189 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.459, allocations: 1.406 kB / 0.5189 GB, free: 8.008 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.001054/0.46, allocations: 0.557 MB / 0.5194 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4601, allocations: 10.78 kB / 0.5194 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.4601, allocations: 22.19 kB / 0.5195 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4605, allocations: 322.2 kB / 0.5198 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4605, allocations: 12.72 kB / 0.5198 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.4605, allocations: 12.67 kB / 0.5198 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.4608, allocations: 144.8 kB / 0.5199 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4608, allocations: 192 / 0.5199 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.4609, allocations: 8.969 kB / 0.5199 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4609, allocations: 2.188 kB / 0.5199 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.461, allocations: 106.2 kB / 0.52 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.4619, allocations: 0.6628 MB / 0.5207 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.4628, allocations: 253 kB / 0.5209 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4629, allocations: 81.38 kB / 0.521 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.463, allocations: 7.453 kB / 0.521 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.463, allocations: 34.56 kB / 0.5211 GB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.463, allocations: 1.469 kB / 0.5211 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001031/0.464, allocations: 0.498 MB / 0.5215 GB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.464, allocations: 54.12 kB / 0.5216 GB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.4644, allocations: 313.5 kB / 0.5219 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4644, allocations: 30.98 kB / 0.5219 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4645, allocations: 127.8 kB / 0.522 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.4645, allocations: 61.03 kB / 0.5221 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.4646, allocations: 34.81 kB / 0.5221 GB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.4646, allocations: 333.1 kB / 0.5225 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4647, allocations: 63.47 kB / 0.5225 GB, free: 5.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.4649, allocations: 92.52 kB / 0.5226 GB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4663, allocations: 474.9 kB / 0.5231 GB, free: 5.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4663, allocations: 0 / 0.5231 GB, free: 5.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005742/0.4669, allocations: 307.1 kB / 0.5233 GB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4669, allocations: 5.656 kB / 0.5234 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4669, allocations: 0.9375 kB / 0.5234 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.4671, allocations: 56.42 kB / 0.5234 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.4674, allocations: 59.42 kB / 0.5235 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.4689, allocations: 2.808 MB / 0.5262 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4691, allocations: 20.84 kB / 0.5262 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4691, allocations: 9.25 kB / 0.5262 GB, free: 2.137 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.0002462/0.4694, allocations: 184.6 kB / 0.5264 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.4694, allocations: 16.81 kB / 0.5264 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.4695, allocations: 28.11 kB / 0.5265 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4695, allocations: 6.594 kB / 0.5265 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4695, allocations: 4.969 kB / 0.5265 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4695, allocations: 1.641 kB / 0.5265 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.4699, allocations: 292.8 kB / 0.5267 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4699, allocations: 0.7031 kB / 0.5267 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.4702, allocations: 53.81 kB / 0.5268 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.4704, allocations: 47.09 kB / 0.5268 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4704, allocations: 8.906 kB / 0.5268 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.4724, allocations: 2.813 MB / 0.5296 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4724, allocations: 1.656 kB / 0.5296 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.4731, allocations: 420.3 kB / 0.53 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.4732, allocations: 103.7 kB / 0.5301 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.4733, allocations: 8.562 kB / 0.5301 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4734, allocations: 7.031 kB / 0.5301 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.4735, allocations: 12.91 kB / 0.5301 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.4735, allocations: 7.766 kB / 0.5301 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003084/0.4738, allocations: 243.3 kB / 0.5304 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4738, allocations: 0 / 0.5304 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.4743, allocations: 67.84 kB / 0.5304 GB, free: 14.33 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.0002337/0.4745, allocations: 118.2 kB / 0.5305 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.4752, allocations: 418.4 kB / 0.5309 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4752, allocations: 0 / 0.5309 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.4757, allocations: 318.8 kB / 0.5312 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.4761, allocations: 63.75 kB / 0.5313 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.4776, allocations: 0.8569 MB / 0.5321 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4781, allocations: 0.7406 MB / 0.5329 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.4782, allocations: 46.73 kB / 0.5329 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.4783, allocations: 17.8 kB / 0.5329 GB, free: 12.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4783, allocations: 0 / 0.5329 GB, free: 12.36 MB / 398.1 MB Notification: Performance of Templates: time 0.01064/0.4889, allocations: 4.057 MB / 0.5369 GB, free: 12.07 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.249730673851445] Failed to read output from testmodel.py, exit status != 0: 0.49870817293412983 0.51281625 0.050770016 Calling exit ...