Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.001314/0.001314, allocations: 104.3 kB / 19.72 MB, free: 2.07 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.001425/0.001425, allocations: 208.7 kB / 23.01 MB, free: 4.898 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1094/0.1094, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",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.002162/0.002162, allocations: 71.89 kB / 474.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 59.58 MB / 0.5217 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003206/0.3466, allocations: 2.112 MB / 0.5237 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.3469, allocations: 178.5 kB / 0.5239 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.347, allocations: 3.312 kB / 0.5239 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.692e-05/0.3471, allocations: 26.27 kB / 0.5239 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.3472, allocations: 64.2 kB / 0.524 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.3473, allocations: 48.77 kB / 0.5241 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3476, allocations: 238.2 kB / 0.5243 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.3477, allocations: 70.42 kB / 0.5243 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.3478, allocations: 88.33 kB / 0.5244 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.348, allocations: 98.11 kB / 0.5245 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.348, allocations: 20.59 kB / 0.5245 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.874e-05/0.3481, allocations: 21.59 kB / 0.5246 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.3481, allocations: 46.09 kB / 0.5246 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.3482, allocations: 94.12 kB / 0.5247 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3484, allocations: 241.9 kB / 0.5249 GB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3484, allocations: 1.094 kB / 0.5249 GB, free: 8.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3484, allocations: 0 / 0.5249 GB, free: 8.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3484, allocations: 0 / 0.5249 GB, free: 8.52 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005408/0.349, allocations: 425.5 kB / 0.5253 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.349, allocations: 11.2 kB / 0.5253 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.3491, allocations: 60.72 kB / 0.5254 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.3491, allocations: 24.02 kB / 0.5254 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.204e-05/0.3492, allocations: 133.4 kB / 0.5256 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3492, allocations: 18.41 kB / 0.5256 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.3492, allocations: 24.12 kB / 0.5256 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.3495, allocations: 194.2 kB / 0.5258 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3496, allocations: 3.938 kB / 0.5258 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3496, allocations: 14.59 kB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3496, allocations: 5.5 kB / 0.5258 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.3498, allocations: 142.5 kB / 0.5259 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008711/0.3507, allocations: 0.561 MB / 0.5265 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.351, allocations: 156.3 kB / 0.5266 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.3513, allocations: 129.6 kB / 0.5268 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3513, allocations: 2.594 kB / 0.5268 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3514, allocations: 45.5 kB / 0.5268 GB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.3514, allocations: 0 / 0.5268 GB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001951/0.3533, allocations: 0.5389 MB / 0.5273 GB, free: 7.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3533, allocations: 53.72 kB / 0.5274 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3535, allocations: 140.4 kB / 0.5275 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3535, allocations: 30.77 kB / 0.5275 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3535, allocations: 151.9 kB / 0.5277 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.3536, allocations: 73.89 kB / 0.5278 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.3536, allocations: 39.72 kB / 0.5278 GB, free: 6.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.3537, allocations: 320.4 kB / 0.5281 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.3538, allocations: 45.12 kB / 0.5281 GB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3539, allocations: 79.67 kB / 0.5282 GB, free: 6.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3541, allocations: 138.2 kB / 0.5284 GB, free: 6.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3541, allocations: 5.344 kB / 0.5284 GB, free: 6.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007248/0.3548, allocations: 329.5 kB / 0.5287 GB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3548, allocations: 5.469 kB / 0.5287 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3548, allocations: 1.156 kB / 0.5287 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.3555, allocations: 183.8 kB / 0.5289 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.3556, allocations: 24.38 kB / 0.5289 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.3592, allocations: 3.595 MB / 0.5324 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.3593, allocations: 10.7 kB / 0.5324 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3593, allocations: 14.41 kB / 0.5324 GB, free: 2.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.3594, allocations: 135.1 kB / 0.5325 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.3594, allocations: 14.23 kB / 0.5326 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/0.3602, allocations: 318.9 kB / 0.5329 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3602, allocations: 3.125 kB / 0.5329 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3602, allocations: 0 / 0.5329 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3602, allocations: 2.953 kB / 0.5329 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3606, allocations: 223.7 kB / 0.5331 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3606, allocations: 0 / 0.5331 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.3606, allocations: 17.97 kB / 0.5331 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006917/0.3613, allocations: 177.7 kB / 0.5333 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3613, allocations: 6.125 kB / 0.5333 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.3654, allocations: 3.58 MB / 0.5368 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3654, allocations: 0 / 0.5368 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.3661, allocations: 403.7 kB / 0.5372 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.3661, allocations: 16.48 kB / 0.5372 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3662, allocations: 1.75 kB / 0.5372 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.3662, allocations: 5.531 kB / 0.5372 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3663, allocations: 19.84 kB / 0.5372 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3663, allocations: 3.781 kB / 0.5372 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.697e-05/0.3664, allocations: 98.86 kB / 0.5373 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3664, allocations: 0 / 0.5373 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005889/0.367, allocations: 81.38 kB / 0.5374 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.3682, allocations: 0.9276 MB / 0.5383 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007928/0.369, allocations: 412.8 kB / 0.5387 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.369, allocations: 0 / 0.5387 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.3695, allocations: 352.9 kB / 0.539 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3698, allocations: 21.88 kB / 0.539 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3714, allocations: 0.5285 MB / 0.5395 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3716, allocations: 125.4 kB / 0.5397 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.3716, allocations: 7.344 kB / 0.5397 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.3717, allocations: 50.81 kB / 0.5397 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3717, allocations: 0 / 0.5397 GB, free: 13.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.4118, allocations: 4.922 MB / 0.5445 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.36, allocations: 10.11 kB / 0.5445 GB, free: 11.74 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.272280585952103] Failed to read output from testmodel.py, exit status != 0: 13.47750123264268 13.497337255 13.144887246 Calling exit ...