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.001848/0.001848, 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.002358/0.002358, 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.688/1.688, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1089/0.1089, allocations: 24.11 MB / 333 MB, free: 12.62 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.002034/0.002034, allocations: 71.89 kB / 468.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3655, allocations: 59.57 MB / 0.5158 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003361/0.3689, allocations: 2.229 MB / 0.5179 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003269/0.3692, allocations: 175 kB / 0.5181 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3693, allocations: 4.25 kB / 0.5181 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.452e-05/0.3693, allocations: 35.02 kB / 0.5181 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3695, allocations: 58.66 kB / 0.5182 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.3696, allocations: 49.98 kB / 0.5182 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.3698, allocations: 245.7 kB / 0.5185 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.37, allocations: 73.56 kB / 0.5185 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.3701, allocations: 88.66 kB / 0.5186 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3702, allocations: 104.9 kB / 0.5187 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.3703, allocations: 21.44 kB / 0.5188 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.3703, allocations: 20.38 kB / 0.5188 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.3704, allocations: 46.94 kB / 0.5188 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3705, allocations: 113.7 kB / 0.5189 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3708, allocations: 243.8 kB / 0.5192 GB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3708, allocations: 4.812 kB / 0.5192 GB, free: 7.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3708, allocations: 0 / 0.5192 GB, free: 7.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3708, allocations: 1.125 kB / 0.5192 GB, free: 7.879 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.0005666/0.3714, allocations: 497.7 kB / 0.5196 GB, free: 7.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3714, allocations: 9.781 kB / 0.5196 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3715, allocations: 61.3 kB / 0.5197 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3715, allocations: 24.02 kB / 0.5197 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.3716, allocations: 184.5 kB / 0.5199 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3716, allocations: 18.22 kB / 0.5199 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3717, allocations: 28.34 kB / 0.5199 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.372, allocations: 198 kB / 0.5201 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.372, allocations: 6.125 kB / 0.5201 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.372, allocations: 9.281 kB / 0.5202 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.372, allocations: 6.312 kB / 0.5202 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.3723, allocations: 143.9 kB / 0.5203 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.3732, allocations: 0.9335 MB / 0.5212 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3734, allocations: 161.3 kB / 0.5214 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.3737, allocations: 127.4 kB / 0.5215 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3738, allocations: 3.172 kB / 0.5215 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.3738, allocations: 39.97 kB / 0.5215 GB, free: 6.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.3738, allocations: 0 / 0.5215 GB, free: 6.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001992/0.3758, allocations: 0.6906 MB / 0.5222 GB, free: 5.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.3758, allocations: 54.31 kB / 0.5222 GB, free: 5.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.3759, allocations: 143 kB / 0.5224 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.3759, allocations: 27.23 kB / 0.5224 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.376, allocations: 156.4 kB / 0.5226 GB, free: 5.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.376, allocations: 71.81 kB / 0.5226 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.376, allocations: 42.89 kB / 0.5227 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.3761, allocations: 322.2 kB / 0.523 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.3762, allocations: 48.34 kB / 0.523 GB, free: 4.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.3763, allocations: 75.47 kB / 0.5231 GB, free: 4.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3764, allocations: 138.8 kB / 0.5232 GB, free: 4.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3764, allocations: 1.156 kB / 0.5232 GB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006676/0.3771, allocations: 322.4 kB / 0.5235 GB, free: 4.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3771, allocations: 5.797 kB / 0.5235 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3771, allocations: 1.219 kB / 0.5235 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.3778, allocations: 180.3 kB / 0.5237 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3779, allocations: 22.58 kB / 0.5237 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.3815, allocations: 3.838 MB / 0.5275 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.3816, allocations: 19.58 kB / 0.5275 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.3816, allocations: 5.469 kB / 0.5275 GB, free: 1.133 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 9.01e-05/0.3817, allocations: 140.5 kB / 0.5276 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.3817, allocations: 9.328 kB / 0.5277 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.3825, allocations: 313.9 kB / 0.528 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3825, allocations: 3.969 kB / 0.528 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.3825, allocations: 1.094 kB / 0.528 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3825, allocations: 1.641 kB / 0.528 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3828, allocations: 277.4 kB / 0.5282 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3828, allocations: 4 kB / 0.5282 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.3829, allocations: 12.48 kB / 0.5282 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/0.3834, allocations: 178.8 kB / 0.5284 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3835, allocations: 5.859 kB / 0.5284 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.3878, allocations: 3.808 MB / 0.5321 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3878, allocations: 3.984 kB / 0.5321 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3886, allocations: 398.3 kB / 0.5325 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.3887, allocations: 86.73 kB / 0.5326 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3887, allocations: 5.781 kB / 0.5326 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.3888, allocations: 9.094 kB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3888, allocations: 12.94 kB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3888, allocations: 8.516 kB / 0.5326 GB, free: 12.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.3889, allocations: 98.97 kB / 0.5327 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3889, allocations: 1.188 kB / 0.5327 GB, free: 12.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.3895, allocations: 80.75 kB / 0.5328 GB, free: 12.69 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.001183/0.3907, allocations: 0.9257 MB / 0.5337 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.3914, allocations: 412.2 kB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3914, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.392, allocations: 356.1 kB / 0.5344 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3922, allocations: 20.84 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.394, allocations: 0.5252 MB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3944, allocations: 0.7403 MB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.3945, allocations: 9.719 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.3945, allocations: 47.25 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3945, allocations: 4 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4295, allocations: 4.7 MB / 0.5403 GB, free: 9.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.72, allocations: 12.5 kB / 0.5404 GB, free: 9.562 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: 15.947909638052806] Failed to read output from testmodel.py, exit status != 0: 12.817720657913014 12.835472814 12.461089684 Calling exit ...