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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.09505/0.09505, allocations: 22.69 MB / 325.4 MB, free: 7.91 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 71.31 kB / 457.2 MB, free: 41.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 58.03 MB / 0.5031 GB, free: 8.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002177/0.1236, allocations: 1.687 MB / 0.5048 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.1238, allocations: 59.8 kB / 0.5048 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.1238, allocations: 11.94 kB / 0.5048 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.1239, allocations: 11.81 kB / 0.5048 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.124, allocations: 23.78 kB / 0.5049 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.511e-05/0.1241, allocations: 11.98 kB / 0.5049 GB, free: 6.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.1241, allocations: 75.72 kB / 0.5049 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1243, allocations: 32.16 kB / 0.505 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.1243, allocations: 31.86 kB / 0.505 GB, free: 6.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.1244, allocations: 39.83 kB / 0.505 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1244, allocations: 4 kB / 0.505 GB, free: 6.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.1244, allocations: 8 kB / 0.5051 GB, free: 6.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1244, allocations: 23.92 kB / 0.5051 GB, free: 6.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.1245, allocations: 35.88 kB / 0.5051 GB, free: 6.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.1246, allocations: 83.62 kB / 0.5052 GB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1246, allocations: 0 / 0.5052 GB, free: 6.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1246, allocations: 0 / 0.5052 GB, free: 6.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1246, allocations: 0 / 0.5052 GB, free: 6.098 MB / 366.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.0003527/0.1249, allocations: 371.4 kB / 0.5055 GB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.125, allocations: 12.03 kB / 0.5056 GB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.125, allocations: 46.73 kB / 0.5056 GB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.125, allocations: 12.89 kB / 0.5056 GB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.1251, allocations: 164.3 kB / 0.5058 GB, free: 5.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1251, allocations: 8.562 kB / 0.5058 GB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1251, allocations: 8.375 kB / 0.5058 GB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1253, allocations: 96.16 kB / 0.5059 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1253, allocations: 0 / 0.5059 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1253, allocations: 4 kB / 0.5059 GB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1253, allocations: 4 kB / 0.5059 GB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.1254, allocations: 51.97 kB / 0.5059 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.1258, allocations: 449.7 kB / 0.5064 GB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.1259, allocations: 54.56 kB / 0.5064 GB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.126, allocations: 20.92 kB / 0.5064 GB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.126, allocations: 0 / 0.5064 GB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.126, allocations: 42.53 kB / 0.5065 GB, free: 4.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.126, allocations: 4 kB / 0.5065 GB, free: 4.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001686/0.1262, allocations: 73.64 kB / 0.5065 GB, free: 4.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1262, allocations: 55.34 kB / 0.5066 GB, free: 4.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.1263, allocations: 105.8 kB / 0.5067 GB, free: 4.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.1263, allocations: 29.7 kB / 0.5067 GB, free: 4.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.1263, allocations: 104.2 kB / 0.5068 GB, free: 4.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.1263, allocations: 27.78 kB / 0.5069 GB, free: 4.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.1263, allocations: 25.66 kB / 0.5069 GB, free: 4.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.1264, allocations: 322.8 kB / 0.5072 GB, free: 3.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.1264, allocations: 15.94 kB / 0.5072 GB, free: 3.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/0.1264, allocations: 42.5 kB / 0.5072 GB, free: 3.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.1265, allocations: 46.58 kB / 0.5073 GB, free: 3.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1265, allocations: 0 / 0.5073 GB, free: 3.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.32e-05/0.1266, allocations: 89.61 kB / 0.5074 GB, free: 3.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1266, allocations: 7.984 kB / 0.5074 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1266, allocations: 0 / 0.5074 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1266, allocations: 0 / 0.5074 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.1267, allocations: 23.88 kB / 0.5074 GB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1267, allocations: 0 / 0.5074 GB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.1268, allocations: 11.89 kB / 0.5074 GB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1268, allocations: 4 kB / 0.5074 GB, free: 3.543 MB / 366.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.382e-05/0.1268, allocations: 122.6 kB / 0.5075 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1268, allocations: 15.94 kB / 0.5076 GB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.127, allocations: 77.98 kB / 0.5076 GB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.127, allocations: 3.938 kB / 0.5076 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.127, allocations: 0 / 0.5076 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.127, allocations: 3.984 kB / 0.5076 GB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1271, allocations: 185.7 kB / 0.5078 GB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1271, allocations: 3.984 kB / 0.5078 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.1272, allocations: 8 kB / 0.5078 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1272, allocations: 4 kB / 0.5078 GB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1272, allocations: 4.5 kB / 0.5078 GB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1272, allocations: 3.938 kB / 0.5078 GB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1272, allocations: 0 / 0.5078 GB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.1273, allocations: 159.5 kB / 0.508 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.1273, allocations: 89.05 kB / 0.5081 GB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1273, allocations: 8 kB / 0.5081 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.1274, allocations: 3.938 kB / 0.5081 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1274, allocations: 8 kB / 0.5081 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1274, allocations: 0 / 0.5081 GB, free: 2.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1274, allocations: 87.27 kB / 0.5082 GB, free: 2.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1274, allocations: 0 / 0.5082 GB, free: 2.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1276, allocations: 23.89 kB / 0.5082 GB, free: 2.652 MB / 366.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.0002555/0.1279, allocations: 0.6969 MB / 0.5089 GB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.128, allocations: 39.98 kB / 0.5089 GB, free: 1.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.128, allocations: 3.938 kB / 0.5089 GB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/0.128, allocations: 23.92 kB / 0.5089 GB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1283, allocations: 11.94 kB / 0.509 GB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.1287, allocations: 196 kB / 0.5091 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1288, allocations: 0.6964 MB / 0.5098 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.1289, allocations: 4 kB / 0.5098 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1289, allocations: 19.44 kB / 0.5098 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1289, allocations: 0 / 0.5098 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1506, allocations: 1.545 MB / 0.5114 GB, free: 15.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.621, allocations: 11.03 kB / 0.5114 GB, free: 15.4 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.38208014704287] Failed to read output from testmodel.py, exit status != 0: 7.6843544081784785 7.698467312 7.571159807 Calling exit ...