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.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.001736/0.001736, allocations: 105.9 kB / 16.45 MB, free: 6.488 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.001534/0.001534, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09774/0.09774, allocations: 22.7 MB / 325.4 MB, free: 3.551 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_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.88 kB / 457.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 58.02 MB / 0.5031 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003296/0.1077, allocations: 2.197 MB / 0.5052 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004341/0.1081, allocations: 207.1 kB / 0.5054 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1082, allocations: 8 kB / 0.5055 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.523e-05/0.1083, allocations: 27.66 kB / 0.5055 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1085, allocations: 111.2 kB / 0.5056 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1086, allocations: 43.94 kB / 0.5056 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1089, allocations: 282.5 kB / 0.5059 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1091, allocations: 112.6 kB / 0.506 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1093, allocations: 127.5 kB / 0.5061 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1095, allocations: 95.56 kB / 0.5062 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1095, allocations: 16 kB / 0.5062 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.064e-05/0.1095, allocations: 12 kB / 0.5062 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.785e-05/0.1096, allocations: 31.8 kB / 0.5063 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1097, allocations: 111.4 kB / 0.5064 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.11, allocations: 219 kB / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.11, allocations: 0 / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.11, allocations: 0 / 0.5066 GB, free: 4.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.11, allocations: 0 / 0.5066 GB, free: 4.066 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.0007741/0.1107, allocations: 0.5177 MB / 0.5071 GB, free: 3.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1108, allocations: 8.031 kB / 0.5071 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.1108, allocations: 46.73 kB / 0.5071 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1109, allocations: 24.8 kB / 0.5072 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1113, allocations: 276.7 kB / 0.5074 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1113, allocations: 8.375 kB / 0.5074 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.1113, allocations: 20.33 kB / 0.5075 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1116, allocations: 167.1 kB / 0.5076 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1116, allocations: 4 kB / 0.5076 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1116, allocations: 4 kB / 0.5076 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.1116, allocations: 4 kB / 0.5076 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.1118, allocations: 95.89 kB / 0.5077 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.1127, allocations: 0.7979 MB / 0.5085 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1129, allocations: 86.47 kB / 0.5086 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.338e-05/0.1129, allocations: 40.78 kB / 0.5086 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.113, allocations: 0 / 0.5086 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.113, allocations: 34.56 kB / 0.5087 GB, free: 1.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.113, allocations: 0 / 0.5087 GB, free: 1.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003004/0.1133, allocations: 129.6 kB / 0.5088 GB, free: 1.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1133, allocations: 55.34 kB / 0.5088 GB, free: 1.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1136, allocations: 275 kB / 0.5091 GB, free: 1.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1137, allocations: 25.7 kB / 0.5091 GB, free: 1.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1138, allocations: 144 kB / 0.5093 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1138, allocations: 31.73 kB / 0.5093 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.1139, allocations: 25.72 kB / 0.5093 GB, free: 1.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.114, allocations: 334.8 kB / 0.5096 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.161e-05/0.1141, allocations: 27.98 kB / 0.5097 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.1142, allocations: 54.56 kB / 0.5097 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.1147, allocations: 154.4 kB / 0.5099 GB, free: 444 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1147, allocations: 0 / 0.5099 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002356/0.1149, allocations: 149.4 kB / 0.51 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1149, allocations: 4 kB / 0.51 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1149, allocations: 320 / 0.51 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.115, allocations: 4 kB / 0.51 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1151, allocations: 31.92 kB / 0.51 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1151, allocations: 3.938 kB / 0.51 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.823e-05/0.1152, allocations: 15.83 kB / 0.5101 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1152, allocations: 8.047 kB / 0.5101 GB, free: 220 kB / 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.0001839/0.1154, allocations: 137.8 kB / 0.5102 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.1155, allocations: 19.86 kB / 0.5102 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1155, allocations: 25.73 kB / 0.5102 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1155, allocations: 0 / 0.5102 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1155, allocations: 3.938 kB / 0.5102 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1155, allocations: 4 kB / 0.5102 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2067/0.3222, allocations: 240.8 kB / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3222, allocations: 0 / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3224, allocations: 22.64 kB / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3224, allocations: 0 / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3224, allocations: 5.328 kB / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3224, allocations: 3.438 kB / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3224, allocations: 3.75 kB / 0.5105 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.3227, allocations: 231.5 kB / 0.5107 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3227, allocations: 98.47 kB / 0.5108 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3228, allocations: 8.656 kB / 0.5108 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3229, allocations: 4.375 kB / 0.5108 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.3229, allocations: 5.406 kB / 0.5108 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3229, allocations: 6.25 kB / 0.5109 GB, free: 15.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.3231, allocations: 191.5 kB / 0.511 GB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0.6562 kB / 0.511 GB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.3234, allocations: 41.73 kB / 0.5111 GB, free: 15.38 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.0003894/0.3238, allocations: 0.7723 MB / 0.5118 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.324, allocations: 68.42 kB / 0.5119 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.324, allocations: 0 / 0.5119 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.324, allocations: 32.64 kB / 0.5119 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3244, allocations: 53.78 kB / 0.512 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3264, allocations: 2.316 MB / 0.5142 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.3266, allocations: 0.7321 MB / 0.515 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3267, allocations: 30.36 kB / 0.515 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.3268, allocations: 63.83 kB / 0.515 GB, free: 12.65 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3268, allocations: 0 / 0.515 GB, free: 12.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.3556, allocations: 4.669 MB / 0.5196 GB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.271, allocations: 5.156 kB / 0.5196 GB, free: 12.11 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.682579742278904] Failed to read output from testmodel.py, exit status != 0: 8.337237177882344 8.34753011 8.235364455 Calling exit ...