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.001447/0.001447, allocations: 104 kB / 16.45 MB, free: 6.449 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.001532/0.001532, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.631/1.631, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1106/0.1106, allocations: 24.12 MB / 333 MB, free: 12.61 MB / 270.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.002079/0.002079, allocations: 79.83 kB / 467.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 59.56 MB / 0.5151 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_AHU_case_002): time 0.004865/0.3473, allocations: 4.265 MB / 0.5192 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3496, allocations: 1.371 MB / 0.5206 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.35, allocations: 8.219 kB / 0.5206 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3502, allocations: 90.19 kB / 0.5207 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.3508, allocations: 233.9 kB / 0.5209 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.3515, allocations: 304.4 kB / 0.5212 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.3527, allocations: 1.173 MB / 0.5223 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.3534, allocations: 0.5015 MB / 0.5228 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.354, allocations: 481.6 kB / 0.5233 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.3547, allocations: 0.515 MB / 0.5238 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.3549, allocations: 110.8 kB / 0.5239 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.3551, allocations: 112 kB / 0.524 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.3553, allocations: 242.3 kB / 0.5242 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3557, allocations: 475.6 kB / 0.5247 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.357, allocations: 1.127 MB / 0.5258 GB, free: 3.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.357, allocations: 1.312 kB / 0.5258 GB, free: 3.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.357, allocations: 3.938 kB / 0.5258 GB, free: 3.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.357, allocations: 0 / 0.5258 GB, free: 3.07 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.002411/0.3594, allocations: 1.065 MB / 0.5268 GB, free: 2.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.3595, allocations: 10.69 kB / 0.5268 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.3597, allocations: 137.1 kB / 0.527 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3599, allocations: 85.39 kB / 0.527 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3602, allocations: 253.3 kB / 0.5273 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.3603, allocations: 69.22 kB / 0.5273 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.3604, allocations: 84.19 kB / 0.5274 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3621, allocations: 0.8215 MB / 0.5282 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3622, allocations: 1.219 kB / 0.5282 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.3622, allocations: 34.31 kB / 0.5283 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.3623, allocations: 22.16 kB / 0.5283 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.3639, allocations: 0.8442 MB / 0.5291 GB, free: 1.266 MB / 382.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.004887/0.3688, allocations: 2.614 MB / 0.5317 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.3711, allocations: 0.9424 MB / 0.5326 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.3718, allocations: 384 kB / 0.5329 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.3719, allocations: 24.12 kB / 0.533 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.372, allocations: 47.19 kB / 0.533 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008098/0.3728, allocations: 163.5 kB / 0.5332 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=113): time 2.966e-06/0.3728, allocations: 3.938 kB / 0.5332 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.008872/0.3817, allocations: 3.543 MB / 0.5366 GB, free: 13.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3817, allocations: 68.97 kB / 0.5367 GB, free: 13.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.382, allocations: 216.2 kB / 0.5369 GB, free: 13.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.303e-05/0.3821, allocations: 45.58 kB / 0.537 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.3823, allocations: 243.9 kB / 0.5372 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.3827, allocations: 441.6 kB / 0.5376 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.3831, allocations: 179.2 kB / 0.5378 GB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3833, allocations: 363 kB / 0.5381 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.384, allocations: 364.8 kB / 0.5385 GB, free: 11.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.3847, allocations: 456 kB / 0.5389 GB, free: 11.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/0.404, allocations: 3.48 MB / 0.5423 GB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.404, allocations: 4 kB / 0.5423 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002807/0.4068, allocations: 1.198 MB / 0.5435 GB, free: 9.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4068, allocations: 5 kB / 0.5435 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4068, allocations: 2.656 kB / 0.5435 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4079, allocations: 220.4 kB / 0.5437 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/0.4139, allocations: 0.8103 MB / 0.5445 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.4287, allocations: 14.94 MB / 0.5591 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.4298, allocations: 33.95 kB / 0.5591 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/0.4299, allocations: 38.48 kB / 0.5591 GB, free: 9.68 MB / 414.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.0006273/0.4305, allocations: 237.5 kB / 0.5594 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4306, allocations: 58.72 kB / 0.5594 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.4343, allocations: 1.476 MB / 0.5609 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4343, allocations: 17.12 kB / 0.5609 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4343, allocations: 2.188 kB / 0.5609 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.4343, allocations: 3.984 kB / 0.5609 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.4392, allocations: 2.573 MB / 0.5634 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4393, allocations: 6.438 kB / 0.5634 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005526/0.4448, allocations: 0.7624 MB / 0.5642 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.4468, allocations: 370.4 kB / 0.5645 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.447, allocations: 33.55 kB / 0.5645 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/0.4623, allocations: 15.19 MB / 0.5794 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.4623, allocations: 14.94 kB / 0.5794 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.4669, allocations: 2.06 MB / 0.5814 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.4672, allocations: 148.7 kB / 0.5815 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4673, allocations: 28 kB / 0.5816 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007017/0.468, allocations: 35.98 kB / 0.5816 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.4683, allocations: 124.9 kB / 0.5817 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/0.4684, allocations: 43.98 kB / 0.5818 GB, free: 4.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.4686, allocations: 164.8 kB / 0.5819 GB, free: 4.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4686, allocations: 7.938 kB / 0.5819 GB, free: 4.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001208/0.4698, allocations: 260 kB / 0.5822 GB, free: 4.145 MB / 430.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.004498/0.4743, allocations: 2.639 MB / 0.5847 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007854/0.4822, allocations: 2.006 MB / 0.5867 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.4822, allocations: 0 / 0.5867 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006619/0.4888, allocations: 1.587 MB / 0.5883 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.4903, allocations: 193.7 kB / 0.5884 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.503, allocations: 6.619 MB / 0.5949 GB, free: 6.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.5038, allocations: 0.9377 MB / 0.5958 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00073/0.5045, allocations: 117.5 kB / 0.5959 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.505, allocations: 263.3 kB / 0.5962 GB, free: 5.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.505, allocations: 0 / 0.5962 GB, free: 5.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08249/0.5875, allocations: 19.64 MB / 0.6154 GB, free: 1.844 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.78, allocations: 8.062 kB / 0.6154 GB, free: 1.836 MB / 462.1 MB " [Timeout remaining time 645] (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: 18.020483242813498] Failed to read output from testmodel.py, exit status != 0: 14.887332658981904 14.903800668 14.543641448 Calling exit ...