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.001826/0.001826, allocations: 88.98 kB / 20.23 MB, free: 4.188 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.002015/0.002015, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.57 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.1367/0.1367, allocations: 18.13 MB / 278.5 MB, free: 11.32 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.424e-06/2.424e-06, allocations: 0 / 356.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.554e-05, allocations: 2.312 kB / 356.5 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.004891/0.004927, allocations: 1.954 MB / 358.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.005814, allocations: 231.3 kB / 358.7 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.005901, allocations: 4 kB / 358.7 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.006113, allocations: 19.78 kB / 358.7 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.006743, allocations: 123.3 kB / 358.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.00693, allocations: 51.86 kB / 358.9 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.007443, allocations: 286.9 kB / 359.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.007607, allocations: 37.28 kB / 359.2 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.007779, allocations: 87.81 kB / 359.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.008111, allocations: 111.7 kB / 359.4 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.008174, allocations: 20 kB / 359.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.008443, allocations: 79.84 kB / 359.5 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.008605, allocations: 79.78 kB / 359.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.008779, allocations: 87.81 kB / 359.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.009366, allocations: 283.1 kB / 360 MB, free: 5.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.00937, allocations: 0 / 360 MB, free: 5.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009371, allocations: 0 / 360 MB, free: 5.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.009376, allocations: 0 / 360 MB, free: 5.891 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.001616/0.01099, allocations: 0.5929 MB / 360.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.01104, allocations: 12.92 kB / 360.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01115, allocations: 28.8 kB / 360.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.01163, allocations: 208.8 kB / 360.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.01165, allocations: 8.375 kB / 360.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.0117, allocations: 12.38 kB / 360.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.01205, allocations: 119.6 kB / 360.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.01206, allocations: 192 / 360.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.01209, allocations: 8.312 kB / 361 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.0121, allocations: 4.375 kB / 361 MB, free: 4.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.01234, allocations: 67.89 kB / 361 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.0137, allocations: 491.3 kB / 361.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.01489, allocations: 206.9 kB / 361.7 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.01506, allocations: 47.67 kB / 361.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.01509, allocations: 4 kB / 361.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.01513, allocations: 41.39 kB / 361.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.01513, allocations: 4 kB / 361.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001428/0.01656, allocations: 269 kB / 362.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.01662, allocations: 59.34 kB / 362.1 MB, free: 3.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.01712, allocations: 301.6 kB / 362.4 MB, free: 3.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01716, allocations: 29.7 kB / 362.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.01734, allocations: 174.8 kB / 362.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.01745, allocations: 63.48 kB / 362.7 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.01758, allocations: 47.36 kB / 362.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003923/0.01797, allocations: 0.5196 MB / 363.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.01811, allocations: 28 kB / 363.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.0183, allocations: 67.34 kB / 363.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.01885, allocations: 162 kB / 363.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01885, allocations: 0 / 363.5 MB, free: 2.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008801/0.01973, allocations: 220.7 kB / 363.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01976, allocations: 4 kB / 363.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01976, allocations: 3.938 kB / 363.7 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.0204, allocations: 75.36 kB / 363.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.02085, allocations: 47.97 kB / 363.8 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.02552, allocations: 3.573 MB / 367.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.02582, allocations: 19.94 kB / 367.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.02584, allocations: 4 kB / 367.4 MB, free: 13.94 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.0004026/0.02624, allocations: 213.9 kB / 367.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.02635, allocations: 27.86 kB / 367.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.02647, allocations: 33.45 kB / 367.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.02648, allocations: 4 kB / 367.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.02648, allocations: 0 / 367.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.02649, allocations: 3.984 kB / 367.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.02701, allocations: 208.5 kB / 367.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02702, allocations: 0 / 367.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.02759, allocations: 47.97 kB / 368 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.02808, allocations: 75.33 kB / 368 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.02812, allocations: 4 kB / 368 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/0.0321, allocations: 3.562 MB / 371.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0321, allocations: 0 / 371.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.03313, allocations: 403 kB / 372 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.03322, allocations: 24.08 kB / 372 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.03328, allocations: 8 kB / 372 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.03358, allocations: 7.984 kB / 372 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.03365, allocations: 15.97 kB / 372 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.03368, allocations: 11.98 kB / 372.1 MB, free: 8.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.034, allocations: 212.4 kB / 372.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03401, allocations: 0 / 372.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006958/0.0347, allocations: 75.88 kB / 372.3 MB, free: 8.703 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.0003099/0.03501, allocations: 131.2 kB / 372.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.03609, allocations: 467.2 kB / 372.9 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03609, allocations: 0 / 372.9 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007505/0.03684, allocations: 407.1 kB / 373.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.03752, allocations: 57.44 kB / 373.4 MB, free: 7.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.03923, allocations: 0.6413 MB / 374 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.03949, allocations: 135.9 kB / 374.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.03968, allocations: 25.47 kB / 374.2 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.03979, allocations: 20.5 kB / 374.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03979, allocations: 3.938 kB / 374.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of Templates: time 0.01128/0.05107, allocations: 4.062 MB / 378.3 MB, free: 2.703 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: 4.801067121094093]