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.001008/0.001008, allocations: 91.56 kB / 20.46 MB, free: 4.117 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.001667/0.001667, allocations: 173 kB / 23.82 MB, free: 0.75 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.018/1.018, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.06876/0.06876, allocations: 18.13 MB / 278.9 MB, free: 11.34 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.455e-06/2.455e-06, allocations: 0 / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.076e-05, allocations: 2.312 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002262/0.002293, allocations: 1.991 MB / 359.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004476/0.00274, allocations: 231.4 kB / 359.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.002798, allocations: 0 / 359.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.002959, allocations: 27.72 kB / 359.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.003382, allocations: 119.2 kB / 359.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.866e-05/0.00347, allocations: 59.86 kB / 359.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.003714, allocations: 282.9 kB / 360 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.003865, allocations: 33.28 kB / 360 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.003951, allocations: 91.8 kB / 360.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.004156, allocations: 119.7 kB / 360.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.004186, allocations: 16 kB / 360.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.004316, allocations: 79.91 kB / 360.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.004406, allocations: 83.78 kB / 360.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.004481, allocations: 71.89 kB / 360.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.004735, allocations: 219.2 kB / 360.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004738, allocations: 4 kB / 360.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004739, allocations: 0 / 360.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.004744, allocations: 0 / 360.7 MB, free: 4.41 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.0007593/0.005503, allocations: 0.5893 MB / 361.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005539, allocations: 8.922 kB / 361.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.005609, allocations: 28.8 kB / 361.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.005842, allocations: 208.8 kB / 361.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.005857, allocations: 12.23 kB / 361.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.005885, allocations: 8.375 kB / 361.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.006036, allocations: 91 kB / 361.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.006045, allocations: 192 / 361.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.006058, allocations: 12.38 kB / 361.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.006067, allocations: 384 / 361.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.006147, allocations: 49.92 kB / 361.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.00672, allocations: 455.3 kB / 362.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.007133, allocations: 198.9 kB / 362.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.007194, allocations: 35.92 kB / 362.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.007206, allocations: 8 kB / 362.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.007229, allocations: 45.38 kB / 362.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.007231, allocations: 0 / 362.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005138/0.007745, allocations: 236.6 kB / 362.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.007772, allocations: 59.34 kB / 362.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.007943, allocations: 285.5 kB / 363 MB, free: 1.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.007959, allocations: 25.7 kB / 363 MB, free: 1.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.697e-05/0.008036, allocations: 170.8 kB / 363.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.008073, allocations: 63.47 kB / 363.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.00812, allocations: 39.38 kB / 363.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.008238, allocations: 0.504 MB / 363.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.008282, allocations: 23.98 kB / 363.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.854e-05/0.008341, allocations: 49.8 kB / 363.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.008515, allocations: 143.3 kB / 364 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008517, allocations: 0 / 364 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002557/0.008773, allocations: 191.4 kB / 364.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.008786, allocations: 8 kB / 364.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00879, allocations: 0 / 364.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.008999, allocations: 67.36 kB / 364.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.009129, allocations: 55.91 kB / 364.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.01264, allocations: 3.488 MB / 367.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.01273, allocations: 23.88 kB / 367.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.01274, allocations: 4 kB / 367.8 MB, free: 12.79 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.0001533/0.0129, allocations: 201.6 kB / 368 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.01293, allocations: 19.91 kB / 368 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.01295, allocations: 33.44 kB / 368.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01295, allocations: 4 kB / 368.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01296, allocations: 0 / 368.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01296, allocations: 0 / 368.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.01311, allocations: 192.5 kB / 368.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01311, allocations: 0 / 368.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.01328, allocations: 55.91 kB / 368.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.01343, allocations: 67.33 kB / 368.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01345, allocations: 7.984 kB / 368.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.01462, allocations: 3.48 MB / 371.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01462, allocations: 0 / 371.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.01513, allocations: 355 kB / 372.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.01518, allocations: 23.89 kB / 372.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.01521, allocations: 8.109 kB / 372.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.01536, allocations: 12 kB / 372.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.0154, allocations: 15.95 kB / 372.3 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01541, allocations: 4 kB / 372.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.01557, allocations: 208.1 kB / 372.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01557, allocations: 0 / 372.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.01597, allocations: 75.88 kB / 372.6 MB, free: 7.73 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.0001894/0.01616, allocations: 111.2 kB / 372.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.01673, allocations: 451.2 kB / 373.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01673, allocations: 0 / 373.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.01704, allocations: 403.2 kB / 373.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.01744, allocations: 54.84 kB / 373.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.01895, allocations: 0.6425 MB / 374.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.368e-05/0.01903, allocations: 88.17 kB / 374.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.01914, allocations: 33.45 kB / 374.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.01921, allocations: 16.5 kB / 374.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.753e-06/0.01921, allocations: 0 / 374.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of Templates: time 0.009077/0.02828, allocations: 4.313 MB / 378.6 MB, free: 1.582 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.0538846543058753]