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.001397/0.001397, allocations: 116 kB / 17.16 MB, free: 5.863 MB / 14.72 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.001628/0.001628, allocations: 209.5 kB / 20.13 MB, free: 2.922 MB / 14.72 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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.1015/0.1015, allocations: 22.94 MB / 332.5 MB, free: 2.715 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.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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 72.42 kB / 466.7 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 59.27 MB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003519/0.1106, allocations: 1.945 MB / 0.5156 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.1113, allocations: 227.4 kB / 0.5158 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.1115, allocations: 3.938 kB / 0.5158 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.1117, allocations: 27.78 kB / 0.5158 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.1123, allocations: 115.5 kB / 0.5159 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1125, allocations: 55.92 kB / 0.516 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.113, allocations: 267 kB / 0.5163 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1132, allocations: 41.03 kB / 0.5163 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1135, allocations: 103.7 kB / 0.5164 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.1138, allocations: 131.6 kB / 0.5165 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.1139, allocations: 16 kB / 0.5165 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.1141, allocations: 67.94 kB / 0.5166 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1143, allocations: 79.77 kB / 0.5167 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1145, allocations: 103.5 kB / 0.5168 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.1149, allocations: 271 kB / 0.517 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1149, allocations: 0 / 0.517 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.115, allocations: 0 / 0.517 GB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.115, allocations: 4 kB / 0.517 GB, free: 10.59 MB / 382.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.001464/0.1164, allocations: 0.5569 MB / 0.5176 GB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.1165, allocations: 12.56 kB / 0.5176 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.315e-05/0.1165, allocations: 4.188 kB / 0.5176 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.1166, allocations: 38.73 kB / 0.5176 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.1167, allocations: 28.73 kB / 0.5177 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.1172, allocations: 327.8 kB / 0.518 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1172, allocations: 8.375 kB / 0.518 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1172, allocations: 12.38 kB / 0.518 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.1175, allocations: 152.1 kB / 0.5181 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1175, allocations: 4 kB / 0.5181 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1175, allocations: 8 kB / 0.5181 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1175, allocations: 4 kB / 0.5182 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.1177, allocations: 95.95 kB / 0.5182 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1188, allocations: 0.663 MB / 0.5189 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.1196, allocations: 254.4 kB / 0.5191 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1198, allocations: 88.8 kB / 0.5192 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1198, allocations: 0 / 0.5192 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1199, allocations: 34.81 kB / 0.5193 GB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1199, allocations: 0 / 0.5193 GB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001262/0.1211, allocations: 0.4895 MB / 0.5197 GB, free: 7.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1212, allocations: 55.41 kB / 0.5198 GB, free: 7.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.1216, allocations: 307.8 kB / 0.5201 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1216, allocations: 37.64 kB / 0.5201 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1218, allocations: 128 kB / 0.5202 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.1218, allocations: 55.53 kB / 0.5203 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.1219, allocations: 33.7 kB / 0.5203 GB, free: 6.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1221, allocations: 330.8 kB / 0.5206 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1222, allocations: 67.95 kB / 0.5207 GB, free: 6.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1224, allocations: 92.23 kB / 0.5208 GB, free: 6.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.1239, allocations: 480.1 kB / 0.5212 GB, free: 5.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1239, allocations: 0 / 0.5212 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006167/0.1245, allocations: 313.2 kB / 0.5215 GB, free: 5.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1245, allocations: 6.188 kB / 0.5215 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1246, allocations: 8.016 kB / 0.5216 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.1248, allocations: 49.62 kB / 0.5216 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1251, allocations: 51.97 kB / 0.5217 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.1278, allocations: 2.805 MB / 0.5244 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.128, allocations: 19.91 kB / 0.5244 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.128, allocations: 4 kB / 0.5244 GB, free: 2.422 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.0002908/0.1283, allocations: 189.7 kB / 0.5246 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.1284, allocations: 15.91 kB / 0.5246 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-05/0.1285, allocations: 33.47 kB / 0.5246 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1285, allocations: 0 / 0.5246 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1285, allocations: 0 / 0.5246 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1285, allocations: 7.984 kB / 0.5247 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.1289, allocations: 293.5 kB / 0.5249 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1289, allocations: 0 / 0.5249 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.1292, allocations: 51.95 kB / 0.525 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.1294, allocations: 45.69 kB / 0.525 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.1294, allocations: 11.94 kB / 0.525 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.1318, allocations: 2.813 MB / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1318, allocations: 0 / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.1325, allocations: 411.8 kB / 0.5282 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.1326, allocations: 105 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.1326, allocations: 11.98 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1328, allocations: 8 kB / 0.5283 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1329, allocations: 16.03 kB / 0.5283 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1329, allocations: 4 kB / 0.5283 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1331, allocations: 240.1 kB / 0.5285 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1331, allocations: 0 / 0.5285 GB, free: 13.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.1335, allocations: 75.94 kB / 0.5286 GB, free: 13.74 MB / 398.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.001129/0.1347, allocations: 0.9677 MB / 0.5296 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.1354, allocations: 417.8 kB / 0.53 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1354, allocations: 4.062 kB / 0.53 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.1358, allocations: 317.2 kB / 0.5303 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1362, allocations: 59.98 kB / 0.5303 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.1407, allocations: 3.126 MB / 0.5334 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1412, allocations: 0.744 MB / 0.5341 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.1413, allocations: 41.52 kB / 0.5341 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1414, allocations: 59.41 kB / 0.5342 GB, free: 7.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1414, allocations: 0 / 0.5342 GB, free: 7.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.1864, allocations: 6.488 MB / 0.5405 GB, free: 1.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.68, allocations: 4.062 kB / 0.5405 GB, free: 1.512 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.667858147993684] Failed to read output from testmodel.py, exit status != 0: 10.822648674016818 10.837932898 10.71980331 Calling exit ...