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.001316/0.001316, allocations: 107.1 kB / 16.4 MB, free: 6.496 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.00129/0.00129, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15 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.1013/0.1013, allocations: 22.33 MB / 319.6 MB, free: 6.758 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.002724/0.002724, allocations: 71.89 kB / 445.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 54.96 MB / 0.4885 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003004/0.1512, allocations: 1.673 MB / 0.4901 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002432/0.1514, allocations: 63.72 kB / 0.4902 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.1515, allocations: 0 / 0.4902 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.6e-05/0.1516, allocations: 11.88 kB / 0.4902 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1517, allocations: 19.84 kB / 0.4902 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.607e-05/0.1518, allocations: 23.97 kB / 0.4902 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.1519, allocations: 87.59 kB / 0.4903 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.1521, allocations: 36.42 kB / 0.4904 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.1522, allocations: 27.94 kB / 0.4904 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1523, allocations: 43.78 kB / 0.4904 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1523, allocations: 4 kB / 0.4904 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.1523, allocations: 8 kB / 0.4904 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.1524, allocations: 15.98 kB / 0.4905 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1524, allocations: 31.81 kB / 0.4905 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1526, allocations: 79.69 kB / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1526, allocations: 7.938 kB / 0.4906 GB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1526, allocations: 0 / 0.4906 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1526, allocations: 0 / 0.4906 GB, free: 15.45 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.0005466/0.1532, allocations: 379.5 kB / 0.4909 GB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1532, allocations: 15.95 kB / 0.4909 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.1533, allocations: 38.75 kB / 0.491 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1533, allocations: 8.891 kB / 0.491 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1534, allocations: 176.2 kB / 0.4912 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1535, allocations: 12.55 kB / 0.4912 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1535, allocations: 8.375 kB / 0.4912 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1537, allocations: 88.98 kB / 0.4913 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1537, allocations: 0 / 0.4913 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1537, allocations: 8 kB / 0.4913 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1537, allocations: 4 kB / 0.4913 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1538, allocations: 51.91 kB / 0.4913 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.1545, allocations: 445.8 kB / 0.4918 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1546, allocations: 54.56 kB / 0.4918 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1547, allocations: 32.95 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1547, allocations: 0 / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1547, allocations: 30.56 kB / 0.4919 GB, free: 13.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1547, allocations: 0 / 0.4919 GB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002005/0.1549, allocations: 81.58 kB / 0.4919 GB, free: 13.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.155, allocations: 55.34 kB / 0.492 GB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.1551, allocations: 105.8 kB / 0.4921 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1551, allocations: 25.7 kB / 0.4921 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.1552, allocations: 112.2 kB / 0.4922 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1552, allocations: 23.8 kB / 0.4923 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1553, allocations: 21.72 kB / 0.4923 GB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1554, allocations: 318.8 kB / 0.4926 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.1555, allocations: 12 kB / 0.4926 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.1555, allocations: 34.56 kB / 0.4926 GB, free: 13.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.317e-05/0.1556, allocations: 62.5 kB / 0.4927 GB, free: 13.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1556, allocations: 0 / 0.4927 GB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001309/0.1558, allocations: 89.55 kB / 0.4928 GB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1558, allocations: 4 kB / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1558, allocations: 0 / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1558, allocations: 4.188 kB / 0.4928 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1559, allocations: 16.44 kB / 0.4928 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.156, allocations: 11.86 kB / 0.4928 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.156, allocations: 16 kB / 0.4928 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.156, allocations: 11.94 kB / 0.4928 GB, free: 12.88 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 9.623e-05/0.1561, allocations: 111.3 kB / 0.4929 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1562, allocations: 7.953 kB / 0.4929 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.1563, allocations: 78.05 kB / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1564, allocations: 3.938 kB / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1564, allocations: 0 / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1564, allocations: 0 / 0.493 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1566, allocations: 197.6 kB / 0.4932 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1566, allocations: 3.938 kB / 0.4932 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1567, allocations: 8 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1567, allocations: 4 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1567, allocations: 4 kB / 0.4932 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1567, allocations: 3.938 kB / 0.4932 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1567, allocations: 0 / 0.4932 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1569, allocations: 163.5 kB / 0.4934 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.157, allocations: 85.11 kB / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.157, allocations: 0 / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.157, allocations: 7.938 kB / 0.4935 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1571, allocations: 4 kB / 0.4935 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1571, allocations: 0 / 0.4935 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.132e-05/0.1571, allocations: 87.2 kB / 0.4936 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 4 kB / 0.4936 GB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1574, allocations: 23.89 kB / 0.4936 GB, free: 12 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.0005738/0.1579, allocations: 0.693 MB / 0.4943 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1581, allocations: 43.91 kB / 0.4943 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1581, allocations: 0 / 0.4943 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.292e-05/0.1581, allocations: 24.45 kB / 0.4943 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.1584, allocations: 7.938 kB / 0.4943 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.159, allocations: 208 kB / 0.4945 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1593, allocations: 0.6924 MB / 0.4952 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.1593, allocations: 4 kB / 0.4952 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.1594, allocations: 23.42 kB / 0.4952 GB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1594, allocations: 4 kB / 0.4952 GB, free: 10.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1815, allocations: 1.517 MB / 0.4967 GB, free: 8.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.881, allocations: 5.938 kB / 0.4967 GB, free: 8.77 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 & 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: 10.911844800924882] Failed to read output from testmodel.py, exit status != 0: 7.949846328003332 8.163609552 8.006965168 Calling exit ...