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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 91.92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2531/0.2531, allocations: 22.34 MB / 313.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003482, allocations: 8 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3504, allocations: 55.98 MB / 437.9 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002861/0.3533, allocations: 1.599 MB / 439.5 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.3542, allocations: 226.3 kB / 439.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3544, allocations: 2.344 kB / 439.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3546, allocations: 16.81 kB / 439.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.3552, allocations: 100 kB / 439.8 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.3554, allocations: 46.36 kB / 439.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.3557, allocations: 304.3 kB / 440.2 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3559, allocations: 34.78 kB / 440.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.356, allocations: 90.67 kB / 440.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.3562, allocations: 128 kB / 440.4 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3563, allocations: 8.688 kB / 440.4 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3564, allocations: 59.42 kB / 440.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.3565, allocations: 67.81 kB / 440.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.3566, allocations: 62.89 kB / 440.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3568, allocations: 198.1 kB / 440.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3568, allocations: 2.844 kB / 440.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3568, allocations: 3.938 kB / 440.8 MB, free: 37.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3568, allocations: 0 / 440.8 MB, free: 37.79 MB / 350.1 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.0009346/0.3577, allocations: 0.5222 MB / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3578, allocations: 10.56 kB / 441.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.3579, allocations: 20.94 kB / 441.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3582, allocations: 316.9 kB / 441.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3582, allocations: 5.906 kB / 441.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3583, allocations: 11.5 kB / 441.7 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.3585, allocations: 141.6 kB / 441.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3585, allocations: 0 / 441.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3586, allocations: 7.953 kB / 441.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3586, allocations: 1.75 kB / 441.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.3587, allocations: 105.2 kB / 442 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.3596, allocations: 0.6603 MB / 442.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.3603, allocations: 262.2 kB / 442.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3605, allocations: 87.23 kB / 443 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3605, allocations: 0 / 443 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3605, allocations: 41.28 kB / 443 MB, free: 36.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3605, allocations: 0 / 443 MB, free: 36.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001059/0.3616, allocations: 0.4986 MB / 443.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3616, allocations: 51.41 kB / 443.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.362, allocations: 321.5 kB / 443.9 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.362, allocations: 29.7 kB / 443.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.3621, allocations: 118.7 kB / 444 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3622, allocations: 57.45 kB / 444.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.3622, allocations: 6.719 kB / 444.1 MB, free: 35.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3623, allocations: 331 kB / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3624, allocations: 65.2 kB / 444.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3625, allocations: 88.06 kB / 444.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3627, allocations: 91.67 kB / 444.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3627, allocations: 0 / 444.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004854/0.3632, allocations: 311.3 kB / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3632, allocations: 5.625 kB / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3632, allocations: 0 / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.3635, allocations: 49.67 kB / 445 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3637, allocations: 55.86 kB / 445 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.3652, allocations: 2.622 MB / 447.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3654, allocations: 21.22 kB / 447.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3654, allocations: 8.844 kB / 447.7 MB, free: 32.29 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: nonhomogeneous.T[3]: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[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] homogeneous.T[4]: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[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.3657, allocations: 173.2 kB / 447.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3657, allocations: 18.03 kB / 447.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.3658, allocations: 30.48 kB / 447.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3658, allocations: 0 / 447.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3658, allocations: 6.688 kB / 447.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3658, allocations: 0 / 447.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3661, allocations: 297.3 kB / 448.2 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3661, allocations: 0 / 448.2 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.3664, allocations: 51.2 kB / 448.3 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.3666, allocations: 45.81 kB / 448.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3666, allocations: 9.188 kB / 448.3 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.368, allocations: 2.617 MB / 450.9 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.368, allocations: 0 / 450.9 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/0.3685, allocations: 428.3 kB / 451.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.3685, allocations: 98.42 kB / 451.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.3686, allocations: 10.17 kB / 451.5 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3688, allocations: 9.078 kB / 451.5 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3688, allocations: 14.59 kB / 451.5 MB, free: 28.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3688, allocations: 3.953 kB / 451.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.369, allocations: 245.8 kB / 451.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 451.7 MB, free: 28.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000366/0.3694, allocations: 69.66 kB / 451.8 MB, free: 28.7 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.3696, allocations: 120.8 kB / 451.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.3702, allocations: 433.1 kB / 452.3 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3702, allocations: 0 / 452.3 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.3705, allocations: 314.6 kB / 452.6 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.371, allocations: 54.91 kB / 452.7 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3723, allocations: 1.008 MB / 453.7 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3725, allocations: 0.7468 MB / 454.4 MB, free: 26.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.3726, allocations: 42.34 kB / 454.5 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.3727, allocations: 22.92 kB / 454.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3727, allocations: 0 / 454.5 MB, free: 26.66 MB / 350.1 MB Notification: Performance of Templates: time 0.007037/0.3797, allocations: 3.642 MB / 458.2 MB, free: 26.43 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)