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.001752/0.001752, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002075/0.002075, allocations: 221.9 kB / 22.25 MB, free: 5.254 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.777 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.1049/0.1049, allocations: 24.13 MB / 336.6 MB, free: 11.22 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.001983/0.001983, allocations: 59.91 kB / 474 MB, free: 5.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 59.62 MB / 0.5211 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002994/0.3233, allocations: 2.113 MB / 0.5232 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.3236, allocations: 178.6 kB / 0.5233 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.3237, allocations: 3.531 kB / 0.5233 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.3238, allocations: 26.53 kB / 0.5234 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.3239, allocations: 64.58 kB / 0.5234 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.324, allocations: 48.03 kB / 0.5235 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.3242, allocations: 239.1 kB / 0.5237 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3244, allocations: 73.45 kB / 0.5238 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.3245, allocations: 95.5 kB / 0.5239 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3246, allocations: 104.5 kB / 0.524 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.3246, allocations: 21.28 kB / 0.524 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.858e-05/0.3247, allocations: 21.47 kB / 0.524 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.3247, allocations: 50.3 kB / 0.524 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.3248, allocations: 96.19 kB / 0.5241 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.325, allocations: 233.8 kB / 0.5244 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.325, allocations: 3.938 kB / 0.5244 GB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.325, allocations: 0 / 0.5244 GB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.325, allocations: 0 / 0.5244 GB, free: 8.422 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.0005215/0.3256, allocations: 423.8 kB / 0.5248 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3256, allocations: 10.98 kB / 0.5248 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.3256, allocations: 60.31 kB / 0.5248 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.3257, allocations: 28.2 kB / 0.5249 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.3258, allocations: 135.1 kB / 0.525 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3258, allocations: 18.69 kB / 0.525 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3258, allocations: 24.09 kB / 0.525 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.3261, allocations: 193.9 kB / 0.5252 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3261, allocations: 7.875 kB / 0.5252 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3261, allocations: 11.47 kB / 0.5252 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.3262, allocations: 5.281 kB / 0.5252 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.3264, allocations: 144.4 kB / 0.5254 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.3272, allocations: 0.5646 MB / 0.5259 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3275, allocations: 164.5 kB / 0.5261 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.3278, allocations: 130.9 kB / 0.5262 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3278, allocations: 2.844 kB / 0.5262 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3279, allocations: 41.09 kB / 0.5263 GB, free: 7.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.3279, allocations: 0 / 0.5263 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001814/0.3297, allocations: 0.5373 MB / 0.5268 GB, free: 6.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.3297, allocations: 54.19 kB / 0.5268 GB, free: 6.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.3298, allocations: 136.3 kB / 0.527 GB, free: 6.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3298, allocations: 26.8 kB / 0.527 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.3298, allocations: 152 kB / 0.5271 GB, free: 6.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3299, allocations: 76.53 kB / 0.5272 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3299, allocations: 40.58 kB / 0.5272 GB, free: 6.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.33, allocations: 326.6 kB / 0.5276 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.33, allocations: 46.78 kB / 0.5276 GB, free: 6.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.3301, allocations: 77.89 kB / 0.5277 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3303, allocations: 138.8 kB / 0.5278 GB, free: 6.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3303, allocations: 0 / 0.5278 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006659/0.331, allocations: 325.9 kB / 0.5281 GB, free: 5.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.331, allocations: 5.562 kB / 0.5281 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.331, allocations: 5.094 kB / 0.5281 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.3316, allocations: 179.5 kB / 0.5283 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.3317, allocations: 25.12 kB / 0.5283 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.335, allocations: 3.593 MB / 0.5318 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.3351, allocations: 12.98 kB / 0.5318 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3351, allocations: 8.875 kB / 0.5319 GB, free: 2.699 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 8.902e-05/0.3352, allocations: 135.5 kB / 0.532 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.3352, allocations: 14.61 kB / 0.532 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006712/0.3359, allocations: 314 kB / 0.5323 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3359, allocations: 6.5 kB / 0.5323 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3359, allocations: 3.984 kB / 0.5323 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3359, allocations: 1.406 kB / 0.5323 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3361, allocations: 230.5 kB / 0.5325 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3361, allocations: 0 / 0.5325 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.3362, allocations: 12.08 kB / 0.5325 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005864/0.3368, allocations: 183.1 kB / 0.5327 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3368, allocations: 0.9062 kB / 0.5327 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3402, allocations: 3.585 MB / 0.5362 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3402, allocations: 0 / 0.5362 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.341, allocations: 395.9 kB / 0.5366 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.341, allocations: 13.19 kB / 0.5366 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.341, allocations: 5.578 kB / 0.5366 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3411, allocations: 1.125 kB / 0.5366 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3411, allocations: 18.48 kB / 0.5366 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3411, allocations: 8.312 kB / 0.5366 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.417e-05/0.3412, allocations: 100.2 kB / 0.5367 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 0.5367 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.3418, allocations: 81.5 kB / 0.5368 GB, free: 14.67 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.001049/0.3428, allocations: 0.9304 MB / 0.5377 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.3435, allocations: 410 kB / 0.5381 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3435, allocations: 5.125 kB / 0.5381 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.344, allocations: 352.3 kB / 0.5384 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3443, allocations: 14.02 kB / 0.5385 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3458, allocations: 0.5311 MB / 0.539 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3459, allocations: 127.5 kB / 0.5391 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.3459, allocations: 5.062 kB / 0.5391 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.346, allocations: 47.47 kB / 0.5392 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.346, allocations: 0 / 0.5392 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.3926, allocations: 5.004 MB / 0.544 GB, free: 11.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.88, allocations: 12.61 kB / 0.5441 GB, free: 11.57 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.794647584989434] Failed to read output from testmodel.py, exit status != 0: 13.00146096298704 13.029001103 12.698416157 Calling exit ...