Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.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.001901/0.001901, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.002452/0.002452, allocations: 204 kB / 20.11 MB, free: 2.977 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1082/0.1082, allocations: 24.04 MB / 333.6 MB, free: 1.559 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.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002",fmuType="me",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.00213/0.00213, allocations: 72.72 kB / 468.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1152, allocations: 59.55 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.005667/0.1208, allocations: 4.258 MB / 0.5197 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00289/0.1237, allocations: 1.364 MB / 0.5211 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.124, allocations: 4 kB / 0.5211 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1242, allocations: 87.06 kB / 0.5212 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.1247, allocations: 237.9 kB / 0.5214 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.1254, allocations: 299.5 kB / 0.5217 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1265, allocations: 1.165 MB / 0.5228 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.1272, allocations: 0.5007 MB / 0.5233 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.1277, allocations: 486.8 kB / 0.5238 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/0.1284, allocations: 0.5139 MB / 0.5243 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.1286, allocations: 112 kB / 0.5244 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1287, allocations: 112 kB / 0.5245 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.129, allocations: 239.3 kB / 0.5247 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.1295, allocations: 482 kB / 0.5252 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1307, allocations: 1.125 MB / 0.5263 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1307, allocations: 0 / 0.5263 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1307, allocations: 0 / 0.5263 GB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1307, allocations: 11.88 kB / 0.5263 GB, free: 1.289 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002472/0.1332, allocations: 1.068 MB / 0.5273 GB, free: 176 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1332, allocations: 8.625 kB / 0.5273 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.1334, allocations: 143.6 kB / 0.5275 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.1336, allocations: 83.47 kB / 0.5275 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1338, allocations: 241 kB / 0.5278 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/0.1339, allocations: 70 kB / 0.5278 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.1341, allocations: 91.95 kB / 0.5279 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.1356, allocations: 0.8194 MB / 0.5287 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1356, allocations: 0 / 0.5287 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.1357, allocations: 39.98 kB / 0.5288 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1357, allocations: 27.98 kB / 0.5288 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1372, allocations: 0.8432 MB / 0.5296 GB, free: 13.77 MB / 398.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Warning: Alias set with conflicting start values * Candidate: U1.T(start = U1.Tstart = 293.15, confidence number = 2) * Candidate: U1.air.T(start = 288.15, confidence number = 8) => Select value from U1.T(start = U1.Tstart = 293.15) for variable: U1.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.142, allocations: 2.606 MB / 0.5322 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.1441, allocations: 0.9504 MB / 0.5331 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.1448, allocations: 379.7 kB / 0.5335 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.451e-05/0.1449, allocations: 24.92 kB / 0.5335 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.145, allocations: 51.55 kB / 0.5335 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006805/0.1456, allocations: 163.4 kB / 0.5337 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 2.484e-06/0.1456, allocations: 0 / 0.5337 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.008896/0.1545, allocations: 3.543 MB / 0.5371 GB, free: 5.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.1546, allocations: 64.41 kB / 0.5372 GB, free: 5.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1549, allocations: 219.2 kB / 0.5374 GB, free: 5.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.1549, allocations: 45.7 kB / 0.5375 GB, free: 5.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.1552, allocations: 249.6 kB / 0.5377 GB, free: 5.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.1555, allocations: 440.1 kB / 0.5381 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.1558, allocations: 178.9 kB / 0.5383 GB, free: 4.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.156, allocations: 358.8 kB / 0.5386 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.1567, allocations: 358.5 kB / 0.539 GB, free: 3.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/0.1575, allocations: 462.5 kB / 0.5394 GB, free: 3.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/0.1764, allocations: 3.473 MB / 0.5428 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1764, allocations: 0 / 0.5428 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002777/0.1792, allocations: 1.214 MB / 0.544 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1792, allocations: 4 kB / 0.544 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1792, allocations: 4 kB / 0.544 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.1802, allocations: 215.1 kB / 0.5442 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/0.1863, allocations: 0.8116 MB / 0.545 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.2007, allocations: 14.94 MB / 0.5596 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.2015, allocations: 27.98 kB / 0.5596 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.2016, allocations: 39.98 kB / 0.5597 GB, free: 13.21 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: U1.T:VARIABLE(min = 0.0 start = U1.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"controlled T\" type: Real U1.phi:VARIABLE(start = U1.phistart fixed = true ) type: Real V.p:VARIABLE(min = 0.0 start = V.pstart unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.Tstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005476/0.2022, allocations: 230.8 kB / 0.5599 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2023, allocations: 59.61 kB / 0.5599 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.2058, allocations: 1.484 MB / 0.5614 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.2058, allocations: 12 kB / 0.5614 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2058, allocations: 0 / 0.5614 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2058, allocations: 7.984 kB / 0.5614 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.2109, allocations: 2.574 MB / 0.5639 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.2109, allocations: 8 kB / 0.5639 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005376/0.2163, allocations: 0.7615 MB / 0.5647 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.2183, allocations: 370.9 kB / 0.565 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.2184, allocations: 35.92 kB / 0.565 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.2337, allocations: 15.19 MB / 0.5799 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.2337, allocations: 11.94 kB / 0.5799 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.2381, allocations: 2.059 MB / 0.5819 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.2385, allocations: 144.7 kB / 0.582 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.2386, allocations: 28 kB / 0.5821 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.2394, allocations: 39.92 kB / 0.5821 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/0.2398, allocations: 116.7 kB / 0.5822 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.2399, allocations: 43.98 kB / 0.5823 GB, free: 4.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.2401, allocations: 164.8 kB / 0.5824 GB, free: 4.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2401, allocations: 3.938 kB / 0.5824 GB, free: 4.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001344/0.2415, allocations: 267.9 kB / 0.5827 GB, free: 3.883 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (U1.T,U1.phi,V.Ma,V.p,V.T) * 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 (119): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004469/0.246, allocations: 2.641 MB / 0.5853 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2252/0.4712, allocations: 1.983 MB / 0.5872 GB, free: 66.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.4712, allocations: 4.625 kB / 0.5872 GB, free: 66.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006355/0.4776, allocations: 1.581 MB / 0.5887 GB, free: 66.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.4789, allocations: 194.5 kB / 0.5889 GB, free: 66.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.4901, allocations: 6.632 MB / 0.5954 GB, free: 63.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.4906, allocations: 0.9349 MB / 0.5963 GB, free: 63.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006714/0.4913, allocations: 115.1 kB / 0.5964 GB, free: 63.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.4917, allocations: 267.3 kB / 0.5967 GB, free: 62.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4917, allocations: 4.594 kB / 0.5967 GB, free: 62.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.5539, allocations: 19.63 MB / 0.6159 GB, free: 54.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.09, allocations: 12.05 kB / 0.6159 GB, free: 54.67 MB / 446.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 AES_AES_Coursework_ThermSys_component_models_Controlled_AHU_case_002.fmu > AES_AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.37985573313199] Failed to read output from testmodel.py, exit status != 0: 14.19954553921707 14.220087905 14.085501864 Calling exit ...