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.0009388/0.0009388, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001151/0.001151, allocations: 173 kB / 24.17 MB, free: 332 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.049/1.049, allocations: 177.1 MB / 204.6 MB, free: 5.504 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.0662/0.0662, allocations: 18.14 MB / 279.2 MB, free: 11.22 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.773e-06/1.773e-06, allocations: 0 / 304.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.326e-05, allocations: 6.312 kB / 304.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.00266/0.002683, allocations: 2.027 MB / 306.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005955/0.003279, allocations: 246.5 kB / 306.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.003343, allocations: 0 / 306.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.003492, allocations: 22.98 kB / 306.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.003871, allocations: 110.3 kB / 307 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.004002, allocations: 60.09 kB / 307 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.0043, allocations: 280.2 kB / 307.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004417, allocations: 41.2 kB / 307.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004543, allocations: 92.88 kB / 307.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.004748, allocations: 111.9 kB / 307.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.004778, allocations: 17.72 kB / 307.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.004949, allocations: 88.2 kB / 307.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.005031, allocations: 81.91 kB / 307.7 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.005103, allocations: 78.28 kB / 307.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.005365, allocations: 211.4 kB / 308 MB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005368, allocations: 0 / 308 MB, free: 14.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005369, allocations: 0 / 308 MB, free: 14.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005373, allocations: 0 / 308 MB, free: 14.44 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.0006211/0.005994, allocations: 448.7 kB / 308.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.006031, allocations: 13.58 kB / 308.5 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.006079, allocations: 17.44 kB / 308.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.006279, allocations: 191.5 kB / 308.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.006291, allocations: 8.375 kB / 308.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.006315, allocations: 8.375 kB / 308.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.006445, allocations: 96.58 kB / 308.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006453, allocations: 4.125 kB / 308.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006464, allocations: 4.375 kB / 308.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.00647, allocations: 4.375 kB / 308.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.006524, allocations: 30.86 kB / 308.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.006983, allocations: 313.7 kB / 309.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.007326, allocations: 204 kB / 309.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.007374, allocations: 32.84 kB / 309.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.007385, allocations: 0 / 309.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.007408, allocations: 34.56 kB / 309.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.007409, allocations: 0 / 309.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004435/0.007853, allocations: 192.9 kB / 309.6 MB, free: 12.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.007885, allocations: 55.41 kB / 309.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.008034, allocations: 217.5 kB / 309.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.008051, allocations: 33.7 kB / 309.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.008103, allocations: 115.8 kB / 310 MB, free: 12.4 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.008136, allocations: 51.52 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.008183, allocations: 45.56 kB / 310.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.008269, allocations: 330.7 kB / 310.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.008303, allocations: 26.81 kB / 310.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.008342, allocations: 34.25 kB / 310.5 MB, free: 11.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.008473, allocations: 98.98 kB / 310.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008474, allocations: 0 / 310.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002998/0.008774, allocations: 152.9 kB / 310.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.00879, allocations: 15.88 kB / 310.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008795, allocations: 0 / 310.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.008985, allocations: 59.33 kB / 310.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.009265, allocations: 113.5 kB / 310.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.0106, allocations: 2.375 MB / 313.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.01068, allocations: 19.89 kB / 313.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01069, allocations: 0 / 313.3 MB, free: 8.863 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.0001688/0.01086, allocations: 164.3 kB / 313.4 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.01089, allocations: 19.97 kB / 313.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.01092, allocations: 29.45 kB / 313.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01092, allocations: 3.938 kB / 313.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01093, allocations: 3.938 kB / 313.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01093, allocations: 0 / 313.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.01108, allocations: 125.8 kB / 313.6 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01108, allocations: 4 kB / 313.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.01137, allocations: 106.7 kB / 313.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.01151, allocations: 67.33 kB / 313.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01152, allocations: 7.938 kB / 313.8 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.01267, allocations: 2.363 MB / 316.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01267, allocations: 0 / 316.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.01296, allocations: 312.2 kB / 316.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.01298, allocations: 19.89 kB / 316.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01301, allocations: 11.94 kB / 316.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.01308, allocations: 7.984 kB / 316.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01311, allocations: 11.98 kB / 316.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.01311, allocations: 4 kB / 316.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.01318, allocations: 78.11 kB / 316.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01318, allocations: 0 / 316.6 MB, free: 5.297 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002654/0.01345, allocations: 75.88 kB / 316.7 MB, free: 5.223 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.0001545/0.0136, allocations: 96.41 kB / 316.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.01395, allocations: 314 kB / 317.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.01396, allocations: 4 kB / 317.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.01412, allocations: 268.2 kB / 317.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01436, allocations: 46.73 kB / 317.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.01525, allocations: 0.5137 MB / 317.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.699e-05/0.01531, allocations: 92.16 kB / 318 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.01538, allocations: 13.5 kB / 318 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.01557, allocations: 103.3 kB / 318.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01557, allocations: 0 / 318.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of Templates: time 0.006935/0.02251, allocations: 4.713 MB / 322.8 MB, free: 15.08 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.982378841843456]