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.0007336/0.0007336, allocations: 75.7 kB / 20.8 MB, free: 3.711 MB / 18.57 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.0007419/0.0007419, allocations: 166 kB / 24.09 MB, free: 424 kB / 18.57 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 0.8675/0.8675, allocations: 177.1 MB / 204.4 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.05812/0.05812, allocations: 18.13 MB / 279 MB, free: 11.49 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 416.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.85e-05, allocations: 7.125 kB / 416.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.001965/0.001993, allocations: 1.877 MB / 418.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004297/0.002423, allocations: 229.6 kB / 418.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.002482, allocations: 1.625 kB / 418.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.002624, allocations: 26.03 kB / 418.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.002958, allocations: 118 kB / 418.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.482e-05/0.003043, allocations: 58.38 kB / 418.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.003264, allocations: 284.9 kB / 419.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003383, allocations: 37.62 kB / 419.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.003462, allocations: 92.27 kB / 419.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.003634, allocations: 114.5 kB / 419.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.003663, allocations: 17.28 kB / 419.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.003792, allocations: 80.06 kB / 419.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.003871, allocations: 83.33 kB / 419.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.003942, allocations: 74.5 kB / 419.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.00423, allocations: 294.4 kB / 419.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004232, allocations: 0 / 419.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004232, allocations: 3.938 kB / 419.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.004237, allocations: 1.281 kB / 419.9 MB, free: 10.6 MB / 330.7 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.0006509/0.004888, allocations: 488.4 kB / 420.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.00492, allocations: 10.89 kB / 420.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.004964, allocations: 22.88 kB / 420.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.005202, allocations: 261.1 kB / 420.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.005214, allocations: 8.656 kB / 420.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.005245, allocations: 12.33 kB / 420.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.005425, allocations: 145.8 kB / 420.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.005434, allocations: 4.844 kB / 420.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.005447, allocations: 5.969 kB / 420.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.005454, allocations: 3.5 kB / 420.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.005584, allocations: 109.9 kB / 421 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.006146, allocations: 471.3 kB / 421.4 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.00662, allocations: 252.5 kB / 421.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.00671, allocations: 85.94 kB / 421.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.006725, allocations: 1.438 kB / 421.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.006737, allocations: 33.25 kB / 421.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.006739, allocations: 0 / 421.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005991/0.007338, allocations: 358.8 kB / 422.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.00736, allocations: 58.25 kB / 422.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.007595, allocations: 303 kB / 422.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.007606, allocations: 29.7 kB / 422.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.007654, allocations: 122.4 kB / 422.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.007688, allocations: 58.97 kB / 422.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.00773, allocations: 41 kB / 422.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.007767, allocations: 330.6 kB / 423.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.007845, allocations: 64.48 kB / 423.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.174e-05/0.007937, allocations: 89.41 kB / 423.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.008762, allocations: 479.9 kB / 423.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008764, allocations: 3.938 kB / 423.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000344/0.009108, allocations: 303.1 kB / 424 MB, free: 8.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.00912, allocations: 5.5 kB / 424 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009124, allocations: 0 / 424 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.009256, allocations: 57.48 kB / 424 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.009398, allocations: 50.86 kB / 424.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009197/0.01032, allocations: 2.568 MB / 426.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.0104, allocations: 22.23 kB / 426.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.01041, allocations: 8.625 kB / 426.7 MB, free: 5.629 MB / 330.7 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.0001443/0.01056, allocations: 163.4 kB / 426.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.01058, allocations: 25.23 kB / 426.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.01061, allocations: 37.06 kB / 426.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01061, allocations: 1.188 kB / 426.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01061, allocations: 1.156 kB / 426.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.01061, allocations: 1.172 kB / 426.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.01077, allocations: 205.1 kB / 427.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01077, allocations: 0 / 427.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.01093, allocations: 49.12 kB / 427.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.05e-05/0.01102, allocations: 52.17 kB / 427.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.01104, allocations: 8.219 kB / 427.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.0118, allocations: 2.564 MB / 429.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0118, allocations: 1.766 kB / 429.8 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.0122, allocations: 413.2 kB / 430.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.01223, allocations: 23.48 kB / 430.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01225, allocations: 4.359 kB / 430.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.01234, allocations: 13.25 kB / 430.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.01237, allocations: 13.08 kB / 430.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01238, allocations: 7.406 kB / 430.2 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.01253, allocations: 237.9 kB / 430.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01253, allocations: 5.188 kB / 430.5 MB, free: 2.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.01278, allocations: 71.16 kB / 430.6 MB, free: 2.336 MB / 330.7 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.0001152/0.0129, allocations: 116 kB / 430.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.01331, allocations: 421.4 kB / 431.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01331, allocations: 4.062 kB / 431.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.01349, allocations: 314.6 kB / 431.4 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01375, allocations: 48.98 kB / 431.4 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.0146, allocations: 0.6877 MB / 432.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.01473, allocations: 138.5 kB / 432.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.01484, allocations: 36.8 kB / 432.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.01488, allocations: 23.56 kB / 432.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01488, allocations: 0 / 432.3 MB, free: 1.145 MB / 330.7 MB Notification: Performance of Templates: time 0.006849/0.02173, allocations: 4.037 MB / 436.4 MB, free: 300 kB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7850776026025414] Failed to read output from testmodel.py, exit status != 0: 0.027929390780627728 0.035532760000000004 0.029740562 Calling exit ...