Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.00174/0.00174, allocations: 103.6 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.002191/0.002191, 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.52/1.52, 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.1192/0.1192, allocations: 24.1 MB / 333 MB, free: 12.63 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_001,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001",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.002337/0.002337, allocations: 75.89 kB / 467.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3739, allocations: 59.56 MB / 0.5151 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003497/0.3774, allocations: 1.707 MB / 0.5167 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.3776, allocations: 63.72 kB / 0.5168 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.3777, allocations: 1.312 kB / 0.5168 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.3778, allocations: 13.45 kB / 0.5168 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.378, allocations: 17.03 kB / 0.5168 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.263e-05/0.378, allocations: 19.27 kB / 0.5168 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3782, allocations: 81.31 kB / 0.5169 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3783, allocations: 32.97 kB / 0.517 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.3784, allocations: 32.06 kB / 0.517 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3785, allocations: 37.34 kB / 0.517 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3785, allocations: 6.5 kB / 0.517 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.365e-05/0.3785, allocations: 7.094 kB / 0.517 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3786, allocations: 17.34 kB / 0.517 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.3786, allocations: 39.58 kB / 0.5171 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3788, allocations: 78.02 kB / 0.5172 GB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3788, allocations: 0 / 0.5172 GB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3788, allocations: 0 / 0.5172 GB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3788, allocations: 4 kB / 0.5172 GB, free: 8.32 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003935/0.3792, allocations: 377.1 kB / 0.5175 GB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3792, allocations: 10.12 kB / 0.5175 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.3793, allocations: 39.61 kB / 0.5176 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3793, allocations: 9.953 kB / 0.5176 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.3794, allocations: 172.4 kB / 0.5177 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3794, allocations: 7.469 kB / 0.5178 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3794, allocations: 11.36 kB / 0.5178 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3796, allocations: 93.75 kB / 0.5179 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3796, allocations: 1.125 kB / 0.5179 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3796, allocations: 5.641 kB / 0.5179 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3796, allocations: 2.188 kB / 0.5179 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3797, allocations: 49.11 kB / 0.5179 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.3803, allocations: 454.7 kB / 0.5183 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3804, allocations: 51.09 kB / 0.5184 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.3804, allocations: 27.67 kB / 0.5184 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3804, allocations: 1.188 kB / 0.5184 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3804, allocations: 32.59 kB / 0.5184 GB, free: 7.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.3804, allocations: 0.8438 kB / 0.5184 GB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001868/0.3806, allocations: 72.69 kB / 0.5185 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3807, allocations: 59.34 kB / 0.5186 GB, free: 6.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.3807, allocations: 110.3 kB / 0.5187 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.3807, allocations: 29.7 kB / 0.5187 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3808, allocations: 111.7 kB / 0.5188 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3808, allocations: 28.56 kB / 0.5188 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3808, allocations: 21.47 kB / 0.5189 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.3809, allocations: 314.7 kB / 0.5192 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.3809, allocations: 12.19 kB / 0.5192 GB, free: 6.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/0.3809, allocations: 37.28 kB / 0.5192 GB, free: 6.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.117e-05/0.381, allocations: 60.08 kB / 0.5193 GB, free: 6.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.381, allocations: 0 / 0.5193 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001171/0.3811, allocations: 85.91 kB / 0.5193 GB, free: 6.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3811, allocations: 5.094 kB / 0.5194 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3812, allocations: 1.062 kB / 0.5194 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3812, allocations: 1.719 kB / 0.5194 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3813, allocations: 24.77 kB / 0.5194 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3813, allocations: 5.766 kB / 0.5194 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.3813, allocations: 6.062 kB / 0.5194 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3813, allocations: 3.062 kB / 0.5194 GB, free: 6.211 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.3814, allocations: 115.5 kB / 0.5195 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3814, allocations: 5.781 kB / 0.5195 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.3816, allocations: 76.78 kB / 0.5196 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3816, allocations: 7.828 kB / 0.5196 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3816, allocations: 5.25 kB / 0.5196 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3816, allocations: 0.8438 kB / 0.5196 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3817, allocations: 193.5 kB / 0.5198 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3817, allocations: 1.156 kB / 0.5198 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3818, allocations: 13.3 kB / 0.5198 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3818, allocations: 0.6562 kB / 0.5198 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3818, allocations: 5.031 kB / 0.5198 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3818, allocations: 5.031 kB / 0.5198 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3818, allocations: 0.7031 kB / 0.5198 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.3819, allocations: 164.5 kB / 0.52 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.382, allocations: 79.81 kB / 0.52 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.382, allocations: 1.906 kB / 0.52 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.382, allocations: 3.938 kB / 0.52 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.382, allocations: 4.266 kB / 0.52 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.382, allocations: 6.219 kB / 0.5201 GB, free: 5.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.3821, allocations: 90.16 kB / 0.5201 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3821, allocations: 3.938 kB / 0.5201 GB, free: 5.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.3823, allocations: 21.55 kB / 0.5202 GB, free: 5.473 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.3826, allocations: 0.7028 MB / 0.5209 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3827, allocations: 44.42 kB / 0.5209 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3827, allocations: 1.281 kB / 0.5209 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.3828, allocations: 16.92 kB / 0.5209 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.383, allocations: 22.12 kB / 0.5209 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3835, allocations: 209 kB / 0.5211 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3836, allocations: 0.6903 MB / 0.5218 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.3837, allocations: 9.188 kB / 0.5218 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.3837, allocations: 25.03 kB / 0.5218 GB, free: 3.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3837, allocations: 0 / 0.5218 GB, free: 3.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4077, allocations: 1.511 MB / 0.5233 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/8.882, allocations: 14.41 kB / 0.5233 GB, free: 3.453 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001_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_001.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.871852341108024] Failed to read output from testmodel.py, exit status != 0: 8.949334672885016 8.962979349 8.581009229 Calling exit ...