Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.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.001386/0.001386, allocations: 105.8 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.001296/0.001296, 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 3.715 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.09596/0.09596, allocations: 22.68 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.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 76.06 kB / 457.1 MB, free: 41.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1006, allocations: 58.03 MB / 0.5031 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003439/0.1041, allocations: 3.03 MB / 0.5061 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1058, allocations: 1.044 MB / 0.5071 GB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.1062, allocations: 15.94 kB / 0.5071 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1065, allocations: 83.06 kB / 0.5072 GB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1067, allocations: 95.06 kB / 0.5073 GB, free: 3.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.1073, allocations: 315.5 kB / 0.5076 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1077, allocations: 0.5506 MB / 0.5081 GB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.108, allocations: 179 kB / 0.5083 GB, free: 2.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.1082, allocations: 191 kB / 0.5085 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1083, allocations: 202.8 kB / 0.5086 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.114e-05/0.1084, allocations: 47.94 kB / 0.5087 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.1084, allocations: 52 kB / 0.5087 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1085, allocations: 111.5 kB / 0.5088 GB, free: 2.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1086, allocations: 230.6 kB / 0.5091 GB, free: 2.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.109, allocations: 0.5482 MB / 0.5096 GB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1091, allocations: 0 / 0.5096 GB, free: 1.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1091, allocations: 0 / 0.5096 GB, free: 1.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1091, allocations: 0 / 0.5096 GB, free: 1.531 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001023/0.1101, allocations: 0.8273 MB / 0.5104 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1101, allocations: 12.03 kB / 0.5104 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.1102, allocations: 78.7 kB / 0.5105 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.1103, allocations: 64.52 kB / 0.5106 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1108, allocations: 434.1 kB / 0.511 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1108, allocations: 29.38 kB / 0.511 GB, free: 4 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.1109, allocations: 40.42 kB / 0.511 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.1116, allocations: 423.5 kB / 0.5114 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1116, allocations: 8 kB / 0.5115 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1117, allocations: 15.98 kB / 0.5115 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.1117, allocations: 8 kB / 0.5115 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1123, allocations: 286.4 kB / 0.5117 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1143, allocations: 1.523 MB / 0.5132 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/0.1151, allocations: 339.3 kB / 0.5136 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1154, allocations: 121.3 kB / 0.5137 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.1154, allocations: 4.234 kB / 0.5137 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1154, allocations: 38.8 kB / 0.5137 GB, free: 13.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.1154, allocations: 0 / 0.5137 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008996/0.1163, allocations: 410.5 kB / 0.5141 GB, free: 12.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.1164, allocations: 106.8 kB / 0.5142 GB, free: 12.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.1169, allocations: 410 kB / 0.5146 GB, free: 12.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1169, allocations: 33.7 kB / 0.5146 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.1171, allocations: 265 kB / 0.5149 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.1172, allocations: 111 kB / 0.515 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1173, allocations: 62.02 kB / 0.515 GB, free: 11.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1175, allocations: 358.8 kB / 0.5154 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.1178, allocations: 122.1 kB / 0.5155 GB, free: 11.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.1181, allocations: 189.8 kB / 0.5157 GB, free: 10.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.1195, allocations: 0.5332 MB / 0.5162 GB, free: 10.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1195, allocations: 0 / 0.5162 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007037/0.1202, allocations: 394.5 kB / 0.5166 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1202, allocations: 4 kB / 0.5166 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1202, allocations: 0 / 0.5166 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1202, allocations: 4 kB / 0.5166 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.1205, allocations: 75.89 kB / 0.5167 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1205, allocations: 4 kB / 0.5167 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1207, allocations: 39.7 kB / 0.5167 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.1208, allocations: 16.22 kB / 0.5167 GB, free: 9.895 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003634/0.1211, allocations: 212.8 kB / 0.5169 GB, free: 9.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002383/0.1214, allocations: 168.4 kB / 0.5171 GB, free: 9.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001086/0.1225, allocations: 471.3 kB / 0.5175 GB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.1225, allocations: 0 / 0.5175 GB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005413/0.123, allocations: 341 kB / 0.5179 GB, free: 8.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.123, allocations: 4 kB / 0.5179 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.123, allocations: 4 kB / 0.5179 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.123, allocations: 4 kB / 0.5179 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1233, allocations: 59.91 kB / 0.5179 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1233, allocations: 4 kB / 0.5179 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1235, allocations: 35.83 kB / 0.518 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1235, allocations: 8 kB / 0.518 GB, free: 8.547 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 0.0001764/0.1236, allocations: 214.8 kB / 0.5182 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.1237, allocations: 47.67 kB / 0.5182 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1238, allocations: 52.7 kB / 0.5183 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1238, allocations: 0 / 0.5183 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1238, allocations: 0 / 0.5183 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1238, allocations: 3.984 kB / 0.5183 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.1244, allocations: 465.1 kB / 0.5187 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1244, allocations: 4 kB / 0.5187 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1247, allocations: 59.91 kB / 0.5188 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1247, allocations: 0 / 0.5188 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1247, allocations: 8 kB / 0.5188 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1247, allocations: 0 / 0.5188 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1247, allocations: 0 / 0.5188 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.1256, allocations: 0.5468 MB / 0.5193 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.1258, allocations: 148.8 kB / 0.5195 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.1259, allocations: 8 kB / 0.5195 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.1261, allocations: 15.98 kB / 0.5195 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.1261, allocations: 15.98 kB / 0.5195 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1261, allocations: 7.984 kB / 0.5195 GB, free: 6.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.1264, allocations: 287.1 kB / 0.5198 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1264, allocations: 4 kB / 0.5198 GB, free: 6.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.1269, allocations: 147.5 kB / 0.5199 GB, free: 6.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.I.y) * 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 (28): * Single equations (assignments): 28 * 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.001319/0.1282, allocations: 1.091 MB / 0.521 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.129, allocations: 393.2 kB / 0.5214 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.129, allocations: 0 / 0.5214 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.1292, allocations: 139.8 kB / 0.5215 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.1299, allocations: 127.5 kB / 0.5216 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/0.1351, allocations: 3.768 MB / 0.5253 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1355, allocations: 0.8309 MB / 0.5261 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.1358, allocations: 55.23 kB / 0.5262 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.136, allocations: 155.4 kB / 0.5263 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.136, allocations: 0 / 0.5263 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.1704, allocations: 9.022 MB / 0.5351 GB, free: 6.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.313, allocations: 6.125 kB / 0.5351 GB, free: 6.832 MB / 398.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ElecSys_generator_models_BoilerFollows_fmu --startTime=0 --stopTime=2000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_generator_models_BoilerFollows.fmu > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.010321309790015] Failed to read output from testmodel.py, exit status != 0: 8.38821279630065 8.403887993 8.291927242 Calling exit ...