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.001206/0.001206, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001344/0.001344, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08817/0.08817, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 54.94 MB / 492.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003335/0.1139, allocations: 1.929 MB / 494.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.1145, allocations: 243.3 kB / 494.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.737e-05/0.1146, allocations: 4 kB / 494.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1148, allocations: 23.8 kB / 494.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1152, allocations: 107.5 kB / 495 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.1154, allocations: 59.84 kB / 495 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.1157, allocations: 267.1 kB / 495.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.1158, allocations: 49.08 kB / 495.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1159, allocations: 95.69 kB / 495.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1162, allocations: 123.6 kB / 495.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1162, allocations: 23.94 kB / 495.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1164, allocations: 75.94 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.204e-05/0.1165, allocations: 75.78 kB / 495.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.1166, allocations: 103.5 kB / 495.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1169, allocations: 271.2 kB / 496.1 MB, free: 1.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1169, allocations: 3.938 kB / 496.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1169, allocations: 0 / 496.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1169, allocations: 0 / 496.1 MB, free: 1.352 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.001075/0.118, allocations: 0.5531 MB / 496.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1181, allocations: 8.031 kB / 496.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.1181, allocations: 24.75 kB / 496.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1185, allocations: 323.7 kB / 497 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1185, allocations: 8.312 kB / 497 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.1186, allocations: 8.375 kB / 497 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1188, allocations: 147.7 kB / 497.1 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1188, allocations: 192 / 497.1 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1189, allocations: 11.94 kB / 497.2 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1189, allocations: 0 / 497.2 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.119, allocations: 99.94 kB / 497.3 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1201, allocations: 0.663 MB / 497.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.1209, allocations: 254.4 kB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.121, allocations: 88.81 kB / 498.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1211, allocations: 4 kB / 498.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1211, allocations: 34.56 kB / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1211, allocations: 0 / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001221/0.1223, allocations: 0.4974 MB / 498.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1224, allocations: 55.41 kB / 498.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1227, allocations: 315.7 kB / 499.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1228, allocations: 29.7 kB / 499.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.1229, allocations: 123.9 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.1229, allocations: 55.25 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.123, allocations: 37.7 kB / 499.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1232, allocations: 338.8 kB / 499.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1233, allocations: 63.97 kB / 499.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1234, allocations: 89.61 kB / 499.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.1249, allocations: 467.1 kB / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1249, allocations: 8 kB / 0.4886 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005957/0.1255, allocations: 309 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1256, allocations: 7.938 kB / 0.4889 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1256, allocations: 0 / 0.4889 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.1258, allocations: 49.62 kB / 0.489 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.1261, allocations: 59.94 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.1285, allocations: 2.805 MB / 0.4918 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1287, allocations: 19.88 kB / 0.4918 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1288, allocations: 4 kB / 0.4918 GB, free: 9.25 MB / 382.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.0003035/0.1291, allocations: 181.6 kB / 0.492 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1291, allocations: 19.75 kB / 0.492 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.1292, allocations: 33.52 kB / 0.492 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1292, allocations: 3.938 kB / 0.492 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1292, allocations: 0 / 0.492 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1292, allocations: 0 / 0.492 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1296, allocations: 301.3 kB / 0.4923 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1296, allocations: 0 / 0.4923 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.1299, allocations: 47.97 kB / 0.4923 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.1302, allocations: 49.69 kB / 0.4924 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.1302, allocations: 11.98 kB / 0.4924 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.1327, allocations: 2.809 MB / 0.4951 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1327, allocations: 4.031 kB / 0.4951 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.1335, allocations: 420.8 kB / 0.4955 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1336, allocations: 100.8 kB / 0.4956 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1337, allocations: 8 kB / 0.4956 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1339, allocations: 15.98 kB / 0.4957 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.134, allocations: 7.984 kB / 0.4957 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.134, allocations: 4 kB / 0.4957 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.1343, allocations: 245.4 kB / 0.4959 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1343, allocations: 4 kB / 0.4959 GB, free: 4.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.1347, allocations: 72 kB / 0.496 GB, free: 4.566 MB / 382.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.0002626/0.135, allocations: 111.2 kB / 0.4961 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008166/0.1358, allocations: 429.1 kB / 0.4965 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1359, allocations: 4.062 kB / 0.4965 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.1363, allocations: 313.3 kB / 0.4968 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1368, allocations: 56.25 kB / 0.4969 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1384, allocations: 0.8645 MB / 0.4977 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1389, allocations: 0.7479 MB / 0.4984 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.139, allocations: 15.44 kB / 0.4984 GB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.139, allocations: 0 / 0.4984 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Templates: time 0.2116/0.3506, allocations: 4.268 MB / 0.5026 GB, free: 21.48 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)