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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] 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.09405/0.09405, allocations: 22.68 MB / 325.4 MB, free: 7.93 MB / 254.1 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.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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 69.45 kB / 457.2 MB, free: 41.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 58.03 MB / 0.5031 GB, free: 8.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002456/0.1083, allocations: 1.929 MB / 0.505 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.1088, allocations: 239.2 kB / 0.5052 GB, free: 6.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.1089, allocations: 0 / 0.5052 GB, free: 6.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.109, allocations: 23.78 kB / 0.5052 GB, free: 6.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1094, allocations: 119.4 kB / 0.5054 GB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.138e-05/0.1095, allocations: 51.92 kB / 0.5054 GB, free: 5.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.1097, allocations: 271.1 kB / 0.5057 GB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1098, allocations: 41.05 kB / 0.5057 GB, free: 5.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/0.1099, allocations: 95.69 kB / 0.5058 GB, free: 5.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.11, allocations: 131.6 kB / 0.5059 GB, free: 5.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.11, allocations: 16 kB / 0.5059 GB, free: 5.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1101, allocations: 67.94 kB / 0.506 GB, free: 5.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.1102, allocations: 87.7 kB / 0.5061 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.1103, allocations: 103.5 kB / 0.5062 GB, free: 5.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1105, allocations: 267 kB / 0.5064 GB, free: 4.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1105, allocations: 0 / 0.5064 GB, free: 4.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1105, allocations: 0 / 0.5064 GB, free: 4.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1105, allocations: 4 kB / 0.5064 GB, free: 4.832 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.0008778/0.1114, allocations: 0.553 MB / 0.507 GB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1115, allocations: 16.02 kB / 0.507 GB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1115, allocations: 42.75 kB / 0.507 GB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.1115, allocations: 20.8 kB / 0.5071 GB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1118, allocations: 331.8 kB / 0.5074 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1118, allocations: 8.375 kB / 0.5074 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.1119, allocations: 12.38 kB / 0.5074 GB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.1121, allocations: 142.2 kB / 0.5075 GB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1121, allocations: 7.938 kB / 0.5075 GB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1121, allocations: 4 kB / 0.5075 GB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1121, allocations: 4 kB / 0.5075 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1122, allocations: 99.94 kB / 0.5076 GB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.113, allocations: 0.6515 MB / 0.5083 GB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.1137, allocations: 266.3 kB / 0.5085 GB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1138, allocations: 80.81 kB / 0.5086 GB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1138, allocations: 4 kB / 0.5086 GB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.1138, allocations: 34.81 kB / 0.5086 GB, free: 2.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1138, allocations: 0 / 0.5086 GB, free: 2.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008502/0.1147, allocations: 0.4991 MB / 0.5091 GB, free: 1.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.1147, allocations: 51.41 kB / 0.5092 GB, free: 1.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1149, allocations: 319.7 kB / 0.5095 GB, free: 1.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.115, allocations: 33.7 kB / 0.5095 GB, free: 1.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.115, allocations: 120 kB / 0.5096 GB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.115, allocations: 55.48 kB / 0.5097 GB, free: 1.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1151, allocations: 41.7 kB / 0.5097 GB, free: 1.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.1151, allocations: 330.8 kB / 0.51 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.1152, allocations: 59.97 kB / 0.5101 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-05/0.1153, allocations: 92.3 kB / 0.5102 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.1165, allocations: 477.4 kB / 0.5106 GB, free: 224 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1165, allocations: 0 / 0.5106 GB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004871/0.117, allocations: 308.9 kB / 0.5109 GB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.117, allocations: 4 kB / 0.5109 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.117, allocations: 7.969 kB / 0.5109 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.1173, allocations: 53.62 kB / 0.511 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1175, allocations: 51.91 kB / 0.511 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.1198, allocations: 2.813 MB / 0.5138 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.12, allocations: 19.92 kB / 0.5138 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.12, allocations: 4 kB / 0.5138 GB, free: 12.67 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.0002796/0.1203, allocations: 182 kB / 0.514 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1203, allocations: 19.86 kB / 0.514 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.1204, allocations: 37.45 kB / 0.514 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1204, allocations: 0 / 0.514 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1204, allocations: 0 / 0.514 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1204, allocations: 11.98 kB / 0.5141 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.1208, allocations: 285.5 kB / 0.5143 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1208, allocations: 0 / 0.5143 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.1211, allocations: 51.97 kB / 0.5144 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1212, allocations: 49.62 kB / 0.5144 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1213, allocations: 11.92 kB / 0.5144 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.1236, allocations: 2.817 MB / 0.5172 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1236, allocations: 0 / 0.5172 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.1243, allocations: 416.8 kB / 0.5176 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1244, allocations: 101 kB / 0.5177 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1244, allocations: 8 kB / 0.5177 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1246, allocations: 7.984 kB / 0.5177 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1246, allocations: 16.05 kB / 0.5177 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1246, allocations: 7.938 kB / 0.5177 GB, free: 8.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002799/0.1249, allocations: 249.4 kB / 0.518 GB, free: 8.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1249, allocations: 0 / 0.518 GB, free: 8.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.1253, allocations: 71.89 kB / 0.518 GB, free: 7.977 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.00111/0.1264, allocations: 0.9684 MB / 0.519 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007316/0.1271, allocations: 417.2 kB / 0.5194 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.1271, allocations: 4.062 kB / 0.5194 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.1275, allocations: 309.3 kB / 0.5197 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1279, allocations: 57.08 kB / 0.5197 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.1321, allocations: 3.115 MB / 0.5228 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.1325, allocations: 0.7479 MB / 0.5235 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1326, allocations: 41.52 kB / 0.5235 GB, free: 2.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1328, allocations: 51.42 kB / 0.5236 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1328, allocations: 4 kB / 0.5236 GB, free: 2.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.1681, allocations: 6.458 MB / 0.5299 GB, free: 11.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.462/9.63, allocations: 14.17 kB / 0.5299 GB, free: 11.77 MB / 398.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Containment_elements_fmu --startTime=0 --stopTime=100000 --stepSize=10 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Containment_elements.fmu > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.377000126056373] Failed to read output from testmodel.py, exit status != 0: 9.70935615291819 9.723414364 9.610198671 Calling exit ...