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.004916/0.004916, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001163/0.001163, allocations: 196.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2357/0.2357, allocations: 22.35 MB / 312.9 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.72 kB / 437.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1195, allocations: 54.97 MB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002506/0.1221, allocations: 1.92 MB / 493.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005639/0.1227, allocations: 247.2 kB / 494.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1227, allocations: 0 / 494.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1229, allocations: 27.78 kB / 494.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.1233, allocations: 111.5 kB / 494.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.1235, allocations: 59.84 kB / 494.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.1237, allocations: 259.1 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1239, allocations: 49.11 kB / 494.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.124, allocations: 99.72 kB / 494.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1242, allocations: 123.6 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.1243, allocations: 20 kB / 494.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1244, allocations: 71.92 kB / 495 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.1245, allocations: 75.78 kB / 495.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1246, allocations: 95.59 kB / 495.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1249, allocations: 283.1 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1249, allocations: 0 / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.125, allocations: 4 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.125, allocations: 3.938 kB / 495.4 MB, free: 13.8 MB / 366.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.001009/0.126, allocations: 0.5454 MB / 496 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.126, allocations: 11.97 kB / 496 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1261, allocations: 20.75 kB / 496 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1264, allocations: 323.7 kB / 496.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1265, allocations: 8.375 kB / 496.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.1265, allocations: 12.38 kB / 496.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1267, allocations: 146.1 kB / 496.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1268, allocations: 8.188 kB / 496.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1268, allocations: 3.938 kB / 496.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1268, allocations: 4 kB / 496.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.127, allocations: 95.95 kB / 496.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.1279, allocations: 0.6592 MB / 497.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.1287, allocations: 262.4 kB / 497.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1289, allocations: 84.81 kB / 497.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1289, allocations: 0 / 497.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1289, allocations: 38.5 kB / 497.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1289, allocations: 0 / 497.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001047/0.13, allocations: 0.4998 MB / 498.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.13, allocations: 55.41 kB / 498.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.1304, allocations: 319.7 kB / 498.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1304, allocations: 29.7 kB / 498.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.1305, allocations: 124 kB / 498.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.1305, allocations: 51.2 kB / 498.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.1306, allocations: 41.64 kB / 498.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1307, allocations: 326.8 kB / 499.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1308, allocations: 71.95 kB / 499.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.131, allocations: 81.67 kB / 499.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1324, allocations: 475.6 kB / 499.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1324, allocations: 0 / 499.7 MB, free: 9.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004955/0.1329, allocations: 303.8 kB / 500 MB, free: 8.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1329, allocations: 10.66 kB / 500 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1329, allocations: 8.016 kB / 0.4883 GB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.1332, allocations: 49.62 kB / 0.4883 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.1334, allocations: 55.91 kB / 0.4884 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.1354, allocations: 2.809 MB / 0.4911 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1355, allocations: 15.92 kB / 0.4911 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1356, allocations: 8.156 kB / 0.4912 GB, free: 5.703 MB / 366.1 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.0002393/0.1358, allocations: 186.2 kB / 0.4913 GB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.1359, allocations: 15.81 kB / 0.4913 GB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.1359, allocations: 29.47 kB / 0.4914 GB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1359, allocations: 3.938 kB / 0.4914 GB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1359, allocations: 7.984 kB / 0.4914 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.136, allocations: 7.984 kB / 0.4914 GB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1363, allocations: 277.5 kB / 0.4917 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1363, allocations: 0 / 0.4917 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.1366, allocations: 51.95 kB / 0.4917 GB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.1368, allocations: 45.69 kB / 0.4917 GB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1368, allocations: 8 kB / 0.4918 GB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.1387, allocations: 2.828 MB / 0.4945 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1387, allocations: 0 / 0.4945 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.1393, allocations: 424.7 kB / 0.4949 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.1394, allocations: 104.9 kB / 0.495 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.1394, allocations: 0 / 0.495 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1396, allocations: 16.05 kB / 0.495 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1397, allocations: 11.98 kB / 0.495 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1397, allocations: 8 kB / 0.4951 GB, free: 1.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.1399, allocations: 241.4 kB / 0.4953 GB, free: 1.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1399, allocations: 0 / 0.4953 GB, free: 1.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1403, allocations: 68 kB / 0.4954 GB, free: 1.02 MB / 366.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 (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.0001911/0.1405, allocations: 119.2 kB / 0.4955 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000599/0.1411, allocations: 429.1 kB / 0.4959 GB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1411, allocations: 0 / 0.4959 GB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.1415, allocations: 320.7 kB / 0.4962 GB, free: 112 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1419, allocations: 53.86 kB / 0.4962 GB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1432, allocations: 0.8407 MB / 0.4971 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1435, allocations: 0.7479 MB / 0.4978 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1436, allocations: 37.53 kB / 0.4978 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.1437, allocations: 19.42 kB / 0.4978 GB, free: 14.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1437, allocations: 0 / 0.4978 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Templates: time 0.008466/0.1522, allocations: 4.084 MB / 0.5018 GB, free: 10.33 MB / 382.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)