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.001384/0.001384, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001655/0.001655, allocations: 220.4 kB / 23.77 MB, free: 4.422 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1112/0.1112, allocations: 24.04 MB / 338 MB, free: 11.33 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.002127/0.002127, allocations: 67.91 kB / 475.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 59.57 MB / 0.5221 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002784/0.3222, allocations: 1.869 MB / 0.524 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.3227, allocations: 236.5 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.3228, allocations: 2.406 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3229, allocations: 21.95 kB / 0.5242 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.3233, allocations: 118.8 kB / 0.5243 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.3235, allocations: 54.34 kB / 0.5244 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.3238, allocations: 269.7 kB / 0.5246 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3239, allocations: 46.48 kB / 0.5247 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.324, allocations: 96.33 kB / 0.5248 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3242, allocations: 122.3 kB / 0.5249 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.3243, allocations: 16.53 kB / 0.5249 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3245, allocations: 79.58 kB / 0.525 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.779e-05/0.3246, allocations: 85.81 kB / 0.525 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.3247, allocations: 88.8 kB / 0.5251 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.325, allocations: 272.9 kB / 0.5254 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.325, allocations: 1.344 kB / 0.5254 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.325, allocations: 4 kB / 0.5254 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.325, allocations: 0 / 0.5254 GB, free: 8.543 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.0009914/0.326, allocations: 492.5 kB / 0.5259 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3261, allocations: 11.42 kB / 0.5259 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.3261, allocations: 23.05 kB / 0.5259 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.3265, allocations: 268.9 kB / 0.5262 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3265, allocations: 4.781 kB / 0.5262 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.3265, allocations: 12.52 kB / 0.5262 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3268, allocations: 144.1 kB / 0.5263 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3268, allocations: 1.734 kB / 0.5263 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3268, allocations: 9.375 kB / 0.5263 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3268, allocations: 2.656 kB / 0.5263 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.327, allocations: 101.5 kB / 0.5264 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.3279, allocations: 475.7 kB / 0.5269 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.3287, allocations: 256.1 kB / 0.5271 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3289, allocations: 82.03 kB / 0.5272 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3289, allocations: 2.5 kB / 0.5272 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3289, allocations: 40.45 kB / 0.5272 GB, free: 7.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3289, allocations: 0 / 0.5272 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001014/0.3299, allocations: 345 kB / 0.5276 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.33, allocations: 56.66 kB / 0.5276 GB, free: 7.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.3303, allocations: 306.7 kB / 0.5279 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3303, allocations: 25.7 kB / 0.5279 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3304, allocations: 131.3 kB / 0.5281 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3304, allocations: 57.39 kB / 0.5281 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.3305, allocations: 41.94 kB / 0.5282 GB, free: 6.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.3305, allocations: 330.6 kB / 0.5285 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3306, allocations: 72.97 kB / 0.5285 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3308, allocations: 83.95 kB / 0.5286 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.3322, allocations: 477.5 kB / 0.5291 GB, free: 6.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3322, allocations: 5.156 kB / 0.5291 GB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005253/0.3327, allocations: 304.9 kB / 0.5294 GB, free: 6.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3328, allocations: 7.656 kB / 0.5294 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3328, allocations: 1.062 kB / 0.5294 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.333, allocations: 48.8 kB / 0.5294 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.3332, allocations: 57.98 kB / 0.5295 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.3347, allocations: 2.568 MB / 0.532 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3349, allocations: 17.03 kB / 0.532 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3349, allocations: 8.406 kB / 0.532 GB, free: 3.559 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.0002159/0.3351, allocations: 167.8 kB / 0.5322 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.3352, allocations: 20.64 kB / 0.5322 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3353, allocations: 28.39 kB / 0.5322 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3353, allocations: 6.469 kB / 0.5322 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.3353, allocations: 0 / 0.5322 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3353, allocations: 2.109 kB / 0.5322 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.3356, allocations: 204.8 kB / 0.5324 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3356, allocations: 0 / 0.5324 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.3359, allocations: 48.7 kB / 0.5325 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.3361, allocations: 52.16 kB / 0.5325 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.3361, allocations: 9.312 kB / 0.5325 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.3377, allocations: 2.563 MB / 0.535 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3377, allocations: 320 / 0.535 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.3382, allocations: 422.3 kB / 0.5354 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3383, allocations: 27.55 kB / 0.5355 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3383, allocations: 9.297 kB / 0.5355 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3385, allocations: 10.38 kB / 0.5355 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3385, allocations: 13.77 kB / 0.5355 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3385, allocations: 3.297 kB / 0.5355 GB, free: 404 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3388, allocations: 234.1 kB / 0.5357 GB, free: 284 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3388, allocations: 8.625 kB / 0.5357 GB, free: 276 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.3392, allocations: 76.61 kB / 0.5358 GB, free: 264 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.0001452/0.3393, allocations: 116.8 kB / 0.5359 GB, free: 160 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.3401, allocations: 417.6 kB / 0.5363 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.3401, allocations: 0.5 kB / 0.5363 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.3406, allocations: 314 kB / 0.5366 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.341, allocations: 48.84 kB / 0.5367 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3426, allocations: 0.8914 MB / 0.5375 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.3427, allocations: 131.1 kB / 0.5377 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.3428, allocations: 17.7 kB / 0.5377 GB, free: 14.89 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3428, allocations: 4 kB / 0.5377 GB, free: 14.89 MB / 398.1 MB Notification: Performance of Templates: time 0.007482/0.3503, allocations: 4.28 MB / 0.5419 GB, free: 14.22 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.442922787275165] Failed to read output from testmodel.py, exit status != 0: 0.35936185577884316 0.37425979600000003 0.046137248000000006 Calling exit ...