Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.001353/0.001353, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00139/0.00139, allocations: 215 kB / 20.13 MB, free: 2.949 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.93 MB / 332.5 MB, free: 2.66 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_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",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.002/0.002, allocations: 72.58 kB / 466.7 MB, free: 32.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1131, allocations: 59.27 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003429/0.1165, allocations: 2.205 MB / 0.5158 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000442/0.1169, allocations: 195.2 kB / 0.516 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1171, allocations: 15.88 kB / 0.516 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.619e-05/0.1171, allocations: 27.72 kB / 0.5161 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1174, allocations: 115.2 kB / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.1175, allocations: 35.95 kB / 0.5162 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.1178, allocations: 290.5 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.1181, allocations: 104.7 kB / 0.5166 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1183, allocations: 135.5 kB / 0.5167 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1184, allocations: 87.58 kB / 0.5168 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.1185, allocations: 12 kB / 0.5168 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.1185, allocations: 15.94 kB / 0.5168 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.1185, allocations: 39.78 kB / 0.5169 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1186, allocations: 107.5 kB / 0.517 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1189, allocations: 219 kB / 0.5172 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1189, allocations: 0 / 0.5172 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1189, allocations: 4 kB / 0.5172 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1189, allocations: 0 / 0.5172 GB, free: 10.44 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007918/0.1197, allocations: 0.5137 MB / 0.5177 GB, free: 9.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1198, allocations: 8.625 kB / 0.5177 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.1198, allocations: 8.188 kB / 0.5177 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.1198, allocations: 42.75 kB / 0.5177 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.1199, allocations: 28.78 kB / 0.5178 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1202, allocations: 277.7 kB / 0.518 GB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1203, allocations: 8.375 kB / 0.518 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.1203, allocations: 16.38 kB / 0.518 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1206, allocations: 182.9 kB / 0.5182 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.1206, allocations: 0 / 0.5182 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1206, allocations: 8 kB / 0.5182 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1206, allocations: 4 kB / 0.5182 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.1208, allocations: 91.89 kB / 0.5183 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.1217, allocations: 0.8134 MB / 0.5191 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1219, allocations: 74.55 kB / 0.5192 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.122, allocations: 36.84 kB / 0.5192 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.122, allocations: 0 / 0.5192 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.122, allocations: 30.56 kB / 0.5193 GB, free: 8.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.122, allocations: 0 / 0.5193 GB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003092/0.1224, allocations: 137.6 kB / 0.5194 GB, free: 7.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.1224, allocations: 55.34 kB / 0.5194 GB, free: 7.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1227, allocations: 267 kB / 0.5197 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1227, allocations: 25.7 kB / 0.5197 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1228, allocations: 144 kB / 0.5199 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1229, allocations: 31.73 kB / 0.5199 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.1229, allocations: 29.67 kB / 0.5199 GB, free: 7.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1231, allocations: 330.8 kB / 0.5202 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.1231, allocations: 35.98 kB / 0.5203 GB, free: 7.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.1232, allocations: 50.5 kB / 0.5203 GB, free: 6.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.1238, allocations: 154.4 kB / 0.5205 GB, free: 6.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1238, allocations: 0 / 0.5205 GB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000243/0.124, allocations: 137.6 kB / 0.5206 GB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.124, allocations: 4 kB / 0.5206 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.124, allocations: 0 / 0.5206 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.124, allocations: 4 kB / 0.5206 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.1242, allocations: 31.86 kB / 0.5206 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1242, allocations: 4.062 kB / 0.5206 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1243, allocations: 23.77 kB / 0.5207 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1243, allocations: 4 kB / 0.5207 GB, free: 6.586 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.1245, allocations: 134.2 kB / 0.5208 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1245, allocations: 23.8 kB / 0.5208 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1246, allocations: 33.73 kB / 0.5208 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1246, allocations: 3.938 kB / 0.5208 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1246, allocations: 0 / 0.5208 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1246, allocations: 3.984 kB / 0.5208 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.1249, allocations: 241.6 kB / 0.5211 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1249, allocations: 0 / 0.5211 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1251, allocations: 19.98 kB / 0.5211 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1251, allocations: 3.938 kB / 0.5211 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1251, allocations: 8 kB / 0.5211 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.435e-06/0.1251, allocations: 3.938 kB / 0.5211 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1251, allocations: 0 / 0.5211 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.1254, allocations: 239.3 kB / 0.5213 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.1255, allocations: 104.9 kB / 0.5214 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1255, allocations: 4 kB / 0.5214 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1257, allocations: 3.938 kB / 0.5214 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1257, allocations: 7.984 kB / 0.5215 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1257, allocations: 3.984 kB / 0.5215 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1259, allocations: 190 kB / 0.5216 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1259, allocations: 4.062 kB / 0.5216 GB, free: 5.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1262, allocations: 43.94 kB / 0.5217 GB, free: 5.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006585/0.1268, allocations: 0.7592 MB / 0.5224 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.127, allocations: 71.95 kB / 0.5225 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1271, allocations: 192 / 0.5225 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.661e-05/0.1271, allocations: 35.94 kB / 0.5225 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.1275, allocations: 54.97 kB / 0.5226 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1304, allocations: 2.304 MB / 0.5248 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1308, allocations: 0.7284 MB / 0.5255 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1309, allocations: 30.27 kB / 0.5256 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.131, allocations: 67.42 kB / 0.5256 GB, free: 1.25 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.131, allocations: 0 / 0.5256 GB, free: 1.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1529, allocations: 4.701 MB / 0.5302 GB, free: 12.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.48, allocations: 11.86 kB / 0.5302 GB, free: 12.65 MB / 398.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001_fmu --startTime=0 --stopTime=10000 --stepSize=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.279991028015502] Failed to read output from testmodel.py, exit status != 0: 8.612577864958439 8.635800497 8.512716249 Calling exit ...