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.001533/0.001533, allocations: 84.23 kB / 20.23 MB, free: 4.203 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.001619/0.001619, allocations: 157.7 kB / 23.53 MB, free: 0.8984 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 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: 18.14 MB / 278.5 MB, free: 11.29 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 2.074e-06/2.074e-06, allocations: 0 / 356.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.919e-05, allocations: 6.25 kB / 356.5 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003781/0.00381, allocations: 1.884 MB / 358.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.004548, allocations: 231.3 kB / 358.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.004631, allocations: 4 kB / 358.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.004794, allocations: 19.8 kB / 358.7 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.005282, allocations: 119.3 kB / 358.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.00543, allocations: 51.86 kB / 358.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.005807, allocations: 278.9 kB / 359.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.005945, allocations: 37.28 kB / 359.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.006129, allocations: 95.8 kB / 359.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.006357, allocations: 115.7 kB / 359.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.006398, allocations: 16 kB / 359.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.006588, allocations: 83.84 kB / 359.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.006707, allocations: 79.8 kB / 359.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.006824, allocations: 75.83 kB / 359.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.00724, allocations: 287.1 kB / 359.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.007245, allocations: 4 kB / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007246, allocations: 0 / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.00725, allocations: 0 / 359.9 MB, free: 4.801 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.00126/0.00851, allocations: 489.2 kB / 360.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.008549, allocations: 12.92 kB / 360.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.008641, allocations: 28.8 kB / 360.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.009079, allocations: 266 kB / 360.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.009102, allocations: 12.23 kB / 360.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.009155, allocations: 16.36 kB / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.009447, allocations: 138.1 kB / 360.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.009457, allocations: 4.125 kB / 360.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.009478, allocations: 4.375 kB / 360.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.009487, allocations: 4.375 kB / 360.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.009695, allocations: 103.9 kB / 360.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01072, allocations: 472.1 kB / 361.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.01167, allocations: 258.4 kB / 361.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.01184, allocations: 76.83 kB / 361.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.01186, allocations: 4.25 kB / 361.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.0119, allocations: 38.55 kB / 361.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.0119, allocations: 4 kB / 361.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.001166/0.01307, allocations: 354.2 kB / 362.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.01312, allocations: 55.34 kB / 362.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.01351, allocations: 311.7 kB / 362.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.01354, allocations: 29.7 kB / 362.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01365, allocations: 124 kB / 362.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.01385, allocations: 63.42 kB / 362.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.01393, allocations: 33.7 kB / 362.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01411, allocations: 330.8 kB / 363 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.01425, allocations: 71.95 kB / 363.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.0144, allocations: 92.11 kB / 363.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.01607, allocations: 484.1 kB / 363.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01607, allocations: 3.938 kB / 363.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006626/0.01674, allocations: 311 kB / 364 MB, free: 0.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01675, allocations: 4 kB / 364 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01676, allocations: 0 / 364 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.01715, allocations: 77.69 kB / 364.1 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.01741, allocations: 47.97 kB / 364.1 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.02011, allocations: 2.576 MB / 366.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.02028, allocations: 15.98 kB / 366.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.0203, allocations: 8 kB / 366.7 MB, free: 13.56 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.0002842/0.02058, allocations: 174.9 kB / 366.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.02065, allocations: 27.91 kB / 366.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/0.02072, allocations: 33.39 kB / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.02072, allocations: 0 / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.02073, allocations: 4 kB / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.02073, allocations: 0 / 366.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.02104, allocations: 197.2 kB / 367.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.02105, allocations: 3.938 kB / 367.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.02139, allocations: 55.94 kB / 367.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.02171, allocations: 69.67 kB / 367.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.02174, allocations: 8 kB / 367.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.02439, allocations: 2.56 MB / 369.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0244, allocations: 0 / 369.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.02517, allocations: 424.8 kB / 370.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.02522, allocations: 31.83 kB / 370.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.02526, allocations: 4 kB / 370.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.02545, allocations: 11.98 kB / 370.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.0255, allocations: 8.141 kB / 370.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.02551, allocations: 11.98 kB / 370.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002933/0.02581, allocations: 243 kB / 370.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02581, allocations: 3.938 kB / 370.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.02621, allocations: 71.94 kB / 370.6 MB, free: 9.379 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.0002293/0.02644, allocations: 115.2 kB / 370.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.0272, allocations: 421.1 kB / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.0272, allocations: 0 / 371.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.02765, allocations: 309.2 kB / 371.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.02805, allocations: 54.77 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.02945, allocations: 0.7033 MB / 372.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.02961, allocations: 135.9 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.02973, allocations: 33.47 kB / 372.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.02981, allocations: 24.48 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02981, allocations: 0 / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of Templates: time 0.009361/0.03917, allocations: 4.06 MB / 376.4 MB, free: 3.516 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.659250320983119]