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.001047/0.001047, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001483/0.001483, allocations: 177 kB / 24.28 MB, free: 280 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 1.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.06635/0.06635, allocations: 18.13 MB / 279.2 MB, free: 11.39 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.573e-06/1.573e-06, allocations: 0 / 357.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.361e-05, allocations: 2.312 kB / 357.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002729/0.002753, allocations: 1.977 MB / 359.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000483/0.003236, allocations: 235.2 kB / 359.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.003303, allocations: 8 kB / 359.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.003446, allocations: 27.78 kB / 359.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.003822, allocations: 111.3 kB / 359.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.003929, allocations: 55.84 kB / 359.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.004186, allocations: 282.9 kB / 359.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.004308, allocations: 37.27 kB / 360 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.004397, allocations: 95.75 kB / 360.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.004578, allocations: 115.7 kB / 360.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.004609, allocations: 20 kB / 360.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.004744, allocations: 71.91 kB / 360.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.004831, allocations: 83.78 kB / 360.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.004921, allocations: 79.83 kB / 360.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.005206, allocations: 219.3 kB / 360.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005208, allocations: 3.938 kB / 360.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005209, allocations: 0 / 360.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.005213, allocations: 0 / 360.7 MB, free: 5.816 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.0008066/0.00602, allocations: 0.5777 MB / 361.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.006055, allocations: 8.922 kB / 361.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.006124, allocations: 40.8 kB / 361.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.006363, allocations: 208.7 kB / 361.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.006375, allocations: 4.375 kB / 361.5 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.006405, allocations: 12.38 kB / 361.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.006576, allocations: 99.67 kB / 361.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006584, allocations: 4.172 kB / 361.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.006598, allocations: 384 / 361.6 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006606, allocations: 4.375 kB / 361.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.006712, allocations: 47.91 kB / 361.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.007373, allocations: 467.3 kB / 362.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.008125, allocations: 186.9 kB / 362.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.008208, allocations: 47.61 kB / 362.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.008219, allocations: 0 / 362.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.00824, allocations: 37.39 kB / 362.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.008241, allocations: 0 / 362.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006436/0.008885, allocations: 237 kB / 362.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.008913, allocations: 55.34 kB / 362.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.009132, allocations: 285.5 kB / 362.9 MB, free: 3.355 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.009149, allocations: 33.64 kB / 363 MB, free: 3.316 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.009227, allocations: 166.8 kB / 363.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.009271, allocations: 63.48 kB / 363.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.009331, allocations: 43.36 kB / 363.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.009456, allocations: 0.504 MB / 363.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.009518, allocations: 23.98 kB / 363.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.009598, allocations: 47.36 kB / 363.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.00983, allocations: 130.4 kB / 363.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009832, allocations: 0 / 363.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000338/0.01017, allocations: 200.7 kB / 364.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.01018, allocations: 8.031 kB / 364.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01019, allocations: 0 / 364.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.01044, allocations: 63.33 kB / 364.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.01061, allocations: 55.91 kB / 364.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.01224, allocations: 3.48 MB / 367.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.01235, allocations: 20.12 kB / 367.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01236, allocations: 15.94 kB / 367.8 MB, free: 14.2 MB / 346.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.0001817/0.01254, allocations: 201.8 kB / 368 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.01259, allocations: 27.86 kB / 368 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.01263, allocations: 25.47 kB / 368 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01263, allocations: 0 / 368 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01263, allocations: 0 / 368 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01264, allocations: 7.984 kB / 368 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.0142, allocations: 188.5 kB / 368.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0142, allocations: 0 / 368.2 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.01445, allocations: 55.91 kB / 368.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.01464, allocations: 59.33 kB / 368.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.01467, allocations: 8 kB / 368.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.01631, allocations: 3.48 MB / 371.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01631, allocations: 8.031 kB / 371.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.01684, allocations: 363 kB / 372.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.01688, allocations: 19.89 kB / 372.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.01691, allocations: 8 kB / 372.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.01703, allocations: 7.984 kB / 372.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.01706, allocations: 15.97 kB / 372.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01707, allocations: 7.938 kB / 372.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.01721, allocations: 200.4 kB / 372.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01721, allocations: 4 kB / 372.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000343/0.01755, allocations: 79.88 kB / 372.5 MB, free: 9.141 MB / 346.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.0002193/0.01777, allocations: 115.2 kB / 372.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.01822, allocations: 446.1 kB / 373.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01822, allocations: 4 kB / 373.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.01845, allocations: 395.4 kB / 373.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.0188, allocations: 47.97 kB / 373.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.02002, allocations: 0.6453 MB / 374.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.219e-05/0.02008, allocations: 92.31 kB / 374.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.221e-05/0.02017, allocations: 33.44 kB / 374.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.02023, allocations: 20.5 kB / 374.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02023, allocations: 0 / 374.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of Templates: time 0.006836/0.02706, allocations: 4.079 MB / 378.4 MB, free: 3.211 MB / 346.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.069183931918815]