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.0005778/0.0005778, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.001496, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006635/0.0006635, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001756, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9829/0.9829, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09623/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.06939/0.06939, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03295/0.1023, allocations: 6.785 MB / 269.1 MB, free: 6.238 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.072e-06/1.072e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.933e-05, allocations: 2.312 kB / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002199/0.002218, allocations: 2.039 MB / 272.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.002576, allocations: 227.2 kB / 272.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.002618, allocations: 4 kB / 272.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7e-05/0.002688, allocations: 27.78 kB / 272.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.002934, allocations: 115.3 kB / 272.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.263e-05/0.003007, allocations: 51.86 kB / 273 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.003216, allocations: 287 kB / 273.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.003283, allocations: 41.86 kB / 273.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003406, allocations: 152.5 kB / 273.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.003538, allocations: 111.7 kB / 273.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.00356, allocations: 16 kB / 273.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.003695, allocations: 83.91 kB / 273.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.003753, allocations: 63.84 kB / 273.7 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.003805, allocations: 59.94 kB / 273.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.003975, allocations: 199.3 kB / 274 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.003981, allocations: 0 / 274 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003981, allocations: 0 / 274 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.003986, allocations: 0 / 274 MB, free: 1.293 MB / 266.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.000544/0.004531, allocations: 479.5 kB / 274.4 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.936e-05/0.00455, allocations: 12.03 kB / 274.4 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.004588, allocations: 20.92 kB / 274.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.004741, allocations: 196.1 kB / 274.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.004749, allocations: 8.234 kB / 274.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.004767, allocations: 12.38 kB / 274.7 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.004875, allocations: 95.44 kB / 274.8 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.004883, allocations: 4.188 kB / 274.8 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.004896, allocations: 3.938 kB / 274.8 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004901, allocations: 4 kB / 274.8 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.00496, allocations: 27.98 kB / 274.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.005427, allocations: 310.7 kB / 275.1 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1344/0.1398, allocations: 199.7 kB / 275.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.1398, allocations: 28.05 kB / 275.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1398, allocations: 1.812 kB / 275.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1399, allocations: 33.94 kB / 275.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.914e-06/0.1399, allocations: 0 / 275.4 MB, free: 3.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004437/0.1403, allocations: 190.1 kB / 275.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1403, allocations: 60.62 kB / 275.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1405, allocations: 221.2 kB / 275.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1405, allocations: 25.7 kB / 275.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1405, allocations: 119 kB / 276 MB, free: 3.117 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1405, allocations: 55.88 kB / 276 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1406, allocations: 45.06 kB / 276.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.1406, allocations: 333.5 kB / 276.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.1407, allocations: 15.89 kB / 276.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.1407, allocations: 35.53 kB / 276.4 MB, free: 2.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1408, allocations: 105.6 kB / 276.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1408, allocations: 1.375 kB / 276.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000222/0.1411, allocations: 150.2 kB / 276.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1411, allocations: 5.828 kB / 276.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1411, allocations: 1.219 kB / 276.7 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.1413, allocations: 69.11 kB / 276.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.1416, allocations: 107.8 kB / 276.9 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008785/0.1424, allocations: 2.352 MB / 279.2 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.1425, allocations: 17.97 kB / 279.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1425, allocations: 5.125 kB / 279.3 MB, free: 16.34 MB / 282.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.0001518/0.1427, allocations: 162 kB / 279.4 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1427, allocations: 25.72 kB / 279.4 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.1427, allocations: 26.22 kB / 279.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1427, allocations: 6.938 kB / 279.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1427, allocations: 1.891 kB / 279.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1427, allocations: 1.656 kB / 279.5 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1429, allocations: 128.6 kB / 279.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1429, allocations: 1.406 kB / 279.6 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.1432, allocations: 110.4 kB / 279.7 MB, free: 16.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.1432, allocations: 23.2 kB / 279.7 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.1434, allocations: 62.22 kB / 279.8 MB, free: 16.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1434, allocations: 7.406 kB / 279.8 MB, free: 16.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009328/0.1443, allocations: 2.358 MB / 282.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1443, allocations: 1.078 kB / 282.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1446, allocations: 325.7 kB / 282.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1446, allocations: 7.594 kB / 282.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1447, allocations: 7.156 kB / 282.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1447, allocations: 17.94 kB / 282.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1447, allocations: 3.906 kB / 282.5 MB, free: 13.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.1448, allocations: 70.22 kB / 282.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1448, allocations: 0 / 282.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.145, allocations: 74.69 kB / 282.7 MB, free: 13.59 MB / 282.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.0001356/0.1452, allocations: 97.78 kB / 282.7 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1454, allocations: 313 kB / 283.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.1455, allocations: 3.359 kB / 283.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1456, allocations: 286.6 kB / 283.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.146, allocations: 473.9 kB / 283.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.1491, allocations: 485.1 kB / 284.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.977e-05/0.1492, allocations: 90.33 kB / 284.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.829e-05/0.1493, allocations: 15.53 kB / 284.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1494, allocations: 92.27 kB / 284.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1494, allocations: 3.875 kB / 284.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of Templates: time 0.007335/0.1567, allocations: 4.996 MB / 289.5 MB, free: 11.48 MB / 282.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: 2.8299182960763574]