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.001203/0.001203, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001354/0.001354, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 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 1.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.08627/0.08627, allocations: 18.14 MB / 278.9 MB, free: 11.33 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.884e-06/1.884e-06, allocations: 0 / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.736e-05, allocations: 2.312 kB / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003534/0.003571, allocations: 1.984 MB / 359.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.004223, allocations: 231.3 kB / 359.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.004304, allocations: 3.938 kB / 359.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.00447, allocations: 27.78 kB / 359.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.004928, allocations: 111.3 kB / 359.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.005065, allocations: 59.78 kB / 359.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.00539, allocations: 278.9 kB / 360 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005541, allocations: 37.27 kB / 360 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.005687, allocations: 99.8 kB / 360.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.005926, allocations: 115.7 kB / 360.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.005966, allocations: 16 kB / 360.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.006165, allocations: 79.91 kB / 360.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.006291, allocations: 83.78 kB / 360.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.006407, allocations: 75.83 kB / 360.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.006805, allocations: 211.3 kB / 360.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006809, allocations: 0 / 360.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.00681, allocations: 0 / 360.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.006818, allocations: 3.938 kB / 360.7 MB, free: 4.391 MB / 282.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.001079/0.007897, allocations: 0.5894 MB / 361.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.007958, allocations: 12.92 kB / 361.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.008053, allocations: 32.8 kB / 361.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.008383, allocations: 204.8 kB / 361.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.008406, allocations: 12.23 kB / 361.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.008456, allocations: 8.375 kB / 361.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.008693, allocations: 96.22 kB / 361.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.008704, allocations: 4.188 kB / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.008723, allocations: 384 / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.008733, allocations: 384 / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.008859, allocations: 47.91 kB / 361.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.009554, allocations: 459.3 kB / 362.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.01003, allocations: 202.8 kB / 362.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.0101, allocations: 39.92 kB / 362.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.01012, allocations: 4 kB / 362.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.01015, allocations: 37.39 kB / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.01015, allocations: 0 / 362.4 MB, free: 2.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005984/0.01075, allocations: 239.9 kB / 362.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.01078, allocations: 63.34 kB / 362.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.01099, allocations: 285.5 kB / 363 MB, free: 1.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01101, allocations: 33.7 kB / 363 MB, free: 1.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.0111, allocations: 162.8 kB / 363.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.01114, allocations: 67.42 kB / 363.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.01119, allocations: 39.36 kB / 363.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01132, allocations: 0.5079 MB / 363.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.01137, allocations: 20 kB / 363.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.01144, allocations: 53.02 kB / 363.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01163, allocations: 135.4 kB / 364 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01163, allocations: 0 / 364 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003061/0.01194, allocations: 199.3 kB / 364.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01196, allocations: 8 kB / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01196, allocations: 0 / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.01222, allocations: 63.33 kB / 364.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.01237, allocations: 55.94 kB / 364.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.01434, allocations: 3.488 MB / 367.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.01445, allocations: 19.89 kB / 367.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.01446, allocations: 4 kB / 367.8 MB, free: 12.77 MB / 298.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.0002127/0.01468, allocations: 194.4 kB / 368 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.01473, allocations: 23.91 kB / 368 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.01477, allocations: 29.45 kB / 368.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01477, allocations: 8 kB / 368.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01478, allocations: 0 / 368.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01478, allocations: 0 / 368.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.01502, allocations: 192.5 kB / 368.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01502, allocations: 3.984 kB / 368.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.01525, allocations: 51.91 kB / 368.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.01546, allocations: 67.33 kB / 368.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.01548, allocations: 8 kB / 368.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.01719, allocations: 3.48 MB / 371.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.0172, allocations: 0 / 371.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.01762, allocations: 359 kB / 372.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.01766, allocations: 23.89 kB / 372.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.01769, allocations: 8 kB / 372.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01781, allocations: 7.984 kB / 372.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.01785, allocations: 11.98 kB / 372.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01786, allocations: 8.062 kB / 372.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001451/0.018, allocations: 208.1 kB / 372.5 MB, free: 7.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.018, allocations: 3.938 kB / 372.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.01838, allocations: 75.88 kB / 372.6 MB, free: 7.707 MB / 298.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.0001794/0.01855, allocations: 111.2 kB / 372.7 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004878/0.01904, allocations: 455.3 kB / 373.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01904, allocations: 0 / 373.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.01929, allocations: 395.3 kB / 373.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.01965, allocations: 54.83 kB / 373.6 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.021, allocations: 0.6456 MB / 374.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.073e-05/0.02107, allocations: 92.17 kB / 374.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.186e-05/0.02116, allocations: 25.47 kB / 374.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.02122, allocations: 20.48 kB / 374.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02122, allocations: 4 kB / 374.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of Templates: time 0.008268/0.02949, allocations: 4.092 MB / 378.4 MB, free: 1.773 MB / 298.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.184082943946123]