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.00138/0.00138, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001479/0.001479, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1029/0.1029, allocations: 22.94 MB / 332.5 MB, free: 2.641 MB / 254.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="cs",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="cs",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.002127/0.002127, allocations: 71.77 kB / 466.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09528, allocations: 59.25 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003375/0.09865, allocations: 1.712 MB / 0.5154 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.09889, allocations: 59.73 kB / 0.5154 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.09896, allocations: 4 kB / 0.5154 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.207e-05/0.09902, allocations: 15.86 kB / 0.5154 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.09916, allocations: 23.78 kB / 0.5155 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.337e-05/0.09922, allocations: 11.98 kB / 0.5155 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.09936, allocations: 79.72 kB / 0.5155 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.0995, allocations: 28.14 kB / 0.5156 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.09956, allocations: 35.86 kB / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.09967, allocations: 35.84 kB / 0.5156 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.09969, allocations: 8 kB / 0.5156 GB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.09971, allocations: 8 kB / 0.5157 GB, free: 12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.09974, allocations: 15.94 kB / 0.5157 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.09979, allocations: 43.8 kB / 0.5157 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.09994, allocations: 75.7 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.09994, allocations: 3.984 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09994, allocations: 7.938 kB / 0.5158 GB, free: 11.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.09995, allocations: 0 / 0.5158 GB, free: 11.85 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.0005368/0.1005, allocations: 371.4 kB / 0.5161 GB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1005, allocations: 12.62 kB / 0.5162 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.1005, allocations: 384 / 0.5162 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1006, allocations: 46.73 kB / 0.5162 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.1006, allocations: 8.891 kB / 0.5162 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.1008, allocations: 168.3 kB / 0.5164 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1008, allocations: 8.562 kB / 0.5164 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1008, allocations: 12.12 kB / 0.5164 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.101, allocations: 93.59 kB / 0.5165 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.101, allocations: 3.938 kB / 0.5165 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.101, allocations: 4 kB / 0.5165 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.101, allocations: 0 / 0.5165 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1012, allocations: 51.92 kB / 0.5165 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.1019, allocations: 457.6 kB / 0.517 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.102, allocations: 50.56 kB / 0.517 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1021, allocations: 16.92 kB / 0.517 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1021, allocations: 7.938 kB / 0.517 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1021, allocations: 34.56 kB / 0.5171 GB, free: 10.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1021, allocations: 0 / 0.5171 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002168/0.1024, allocations: 77.86 kB / 0.5172 GB, free: 10.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1024, allocations: 55.41 kB / 0.5172 GB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.1025, allocations: 109.8 kB / 0.5173 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1025, allocations: 25.7 kB / 0.5173 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.1026, allocations: 108.2 kB / 0.5174 GB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1026, allocations: 27.78 kB / 0.5175 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1027, allocations: 17.72 kB / 0.5175 GB, free: 9.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1029, allocations: 318.8 kB / 0.5178 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.1029, allocations: 19.92 kB / 0.5178 GB, free: 9.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.103, allocations: 34.56 kB / 0.5178 GB, free: 9.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.103, allocations: 50.58 kB / 0.5179 GB, free: 9.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.103, allocations: 0 / 0.5179 GB, free: 9.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001378/0.1032, allocations: 89.5 kB / 0.518 GB, free: 9.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1032, allocations: 4 kB / 0.518 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1032, allocations: 8.062 kB / 0.518 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1032, allocations: 3.938 kB / 0.518 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1033, allocations: 23.98 kB / 0.518 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1033, allocations: 0 / 0.518 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.1034, allocations: 3.938 kB / 0.518 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1034, allocations: 4 kB / 0.518 GB, free: 9.301 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 8.969e-05/0.1035, allocations: 114.6 kB / 0.5181 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1035, allocations: 7.953 kB / 0.5181 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.1037, allocations: 85.92 kB / 0.5182 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1037, allocations: 4 kB / 0.5182 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1037, allocations: 0 / 0.5182 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1037, allocations: 0 / 0.5182 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1039, allocations: 181.8 kB / 0.5184 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1039, allocations: 0 / 0.5184 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.104, allocations: 23.92 kB / 0.5184 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.104, allocations: 0 / 0.5184 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.104, allocations: 3.938 kB / 0.5184 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.104, allocations: 4.5 kB / 0.5184 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.104, allocations: 4 kB / 0.5184 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.1041, allocations: 167.4 kB / 0.5186 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1042, allocations: 77.11 kB / 0.5187 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1042, allocations: 11.94 kB / 0.5187 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.1043, allocations: 4 kB / 0.5187 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.1043, allocations: 7.969 kB / 0.5187 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1043, allocations: 7.938 kB / 0.5187 GB, free: 8.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.1044, allocations: 83.28 kB / 0.5188 GB, free: 8.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1044, allocations: 4 kB / 0.5188 GB, free: 8.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1046, allocations: 19.89 kB / 0.5188 GB, free: 8.41 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.0004962/0.1051, allocations: 0.6968 MB / 0.5195 GB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1052, allocations: 44.22 kB / 0.5195 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1052, allocations: 8.125 kB / 0.5195 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.518e-05/0.1053, allocations: 23.92 kB / 0.5195 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1056, allocations: 6.25 kB / 0.5196 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.1061, allocations: 208 kB / 0.5198 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1064, allocations: 0.6885 MB / 0.5204 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.823e-05/0.1065, allocations: 11.98 kB / 0.5204 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1065, allocations: 19.44 kB / 0.5205 GB, free: 6.617 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1065, allocations: 0 / 0.5205 GB, free: 6.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1241, allocations: 1.57 MB / 0.522 GB, free: 5.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/8.458, allocations: 7.797 kB / 0.522 GB, free: 5.145 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 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.359322391974274] Failed to read output from testmodel.py, exit status != 0: 8.586602566007059 8.607304406999999 8.503407596 Calling exit ...