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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004837/0.004837, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2029/0.2029, allocations: 22.35 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.14 kB / 436.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08386, allocations: 54.97 MB / 491.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003513/0.08741, allocations: 3.018 MB / 494.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.08927, allocations: 1.029 MB / 495.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.08954, allocations: 19.88 kB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.08981, allocations: 83.06 kB / 495.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.09002, allocations: 95.06 kB / 495.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.09069, allocations: 306.2 kB / 496.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.09131, allocations: 0.5621 MB / 496.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.09168, allocations: 231.3 kB / 496.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.09189, allocations: 191.1 kB / 497.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.09212, allocations: 206.8 kB / 497.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.0922, allocations: 47.98 kB / 497.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.09227, allocations: 48 kB / 497.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.09237, allocations: 103.6 kB / 497.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.09257, allocations: 234.5 kB / 497.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.09315, allocations: 0.5443 MB / 498.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09316, allocations: 0 / 498.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.09317, allocations: 0 / 498.2 MB, free: 11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.09318, allocations: 0 / 498.2 MB, free: 11 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.001211/0.0944, allocations: 0.8394 MB / 499.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.09444, allocations: 12.03 kB / 499.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.09453, allocations: 70.72 kB / 499.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.09464, allocations: 68.52 kB / 499.2 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.09526, allocations: 430.1 kB / 499.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.0953, allocations: 33.38 kB / 499.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.09536, allocations: 36.38 kB / 499.7 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.09609, allocations: 431.5 kB / 0.4884 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.09611, allocations: 3.938 kB / 0.4884 GB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.09615, allocations: 16 kB / 0.4884 GB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.09617, allocations: 8 kB / 0.4884 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.09676, allocations: 278.4 kB / 0.4887 GB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.09872, allocations: 1.535 MB / 0.4902 GB, free: 7.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.09951, allocations: 351.3 kB / 0.4905 GB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.09979, allocations: 137.2 kB / 0.4907 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.09983, allocations: 4.234 kB / 0.4907 GB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.09987, allocations: 34.8 kB / 0.4907 GB, free: 6.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.09988, allocations: 0 / 0.4907 GB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009051/0.1008, allocations: 412.5 kB / 0.4911 GB, free: 6.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.1009, allocations: 110.8 kB / 0.4912 GB, free: 5.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.1013, allocations: 410 kB / 0.4916 GB, free: 5.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.1014, allocations: 29.7 kB / 0.4916 GB, free: 5.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1016, allocations: 265 kB / 0.4919 GB, free: 5.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.1017, allocations: 107.1 kB / 0.492 GB, free: 5.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1018, allocations: 66.02 kB / 0.492 GB, free: 5.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.102, allocations: 354.8 kB / 0.4924 GB, free: 4.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1022, allocations: 118.1 kB / 0.4925 GB, free: 4.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1026, allocations: 193.8 kB / 0.4927 GB, free: 4.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.104, allocations: 0.5293 MB / 0.4932 GB, free: 3.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1041, allocations: 0 / 0.4932 GB, free: 3.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007289/0.1048, allocations: 394.6 kB / 0.4936 GB, free: 3.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1048, allocations: 4 kB / 0.4936 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1048, allocations: 4 kB / 0.4936 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1048, allocations: 4 kB / 0.4936 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1051, allocations: 67.91 kB / 0.4936 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.1052, allocations: 4 kB / 0.4936 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.1054, allocations: 43.98 kB / 0.4937 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1054, allocations: 12 kB / 0.4937 GB, free: 3.336 MB / 366.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.000366/0.1058, allocations: 208.8 kB / 0.4939 GB, free: 3.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002328/0.106, allocations: 168.4 kB / 0.4941 GB, free: 2.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001084/0.1071, allocations: 471.2 kB / 0.4945 GB, free: 2.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1071, allocations: 0 / 0.4945 GB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005359/0.1077, allocations: 337.1 kB / 0.4948 GB, free: 2.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1077, allocations: 8 kB / 0.4948 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.1077, allocations: 3.938 kB / 0.4948 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.1077, allocations: 4 kB / 0.4948 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.108, allocations: 67.86 kB / 0.4949 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.108, allocations: 4 kB / 0.4949 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1082, allocations: 32.05 kB / 0.4949 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1082, allocations: 12 kB / 0.4949 GB, free: 1.984 MB / 366.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.0001727/0.1084, allocations: 212.1 kB / 0.4951 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.1084, allocations: 51.67 kB / 0.4952 GB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1086, allocations: 52.69 kB / 0.4952 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1086, allocations: 4 kB / 0.4953 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1086, allocations: 0 / 0.4953 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1086, allocations: 0 / 0.4953 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.1092, allocations: 469.1 kB / 0.4957 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1092, allocations: 4 kB / 0.4957 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1095, allocations: 51.91 kB / 0.4958 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1095, allocations: 4 kB / 0.4958 GB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1095, allocations: 4 kB / 0.4958 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1095, allocations: 3.984 kB / 0.4958 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1095, allocations: 4 kB / 0.4958 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009828/0.1105, allocations: 0.5441 MB / 0.4963 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1107, allocations: 144.8 kB / 0.4964 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.1107, allocations: 4 kB / 0.4964 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1109, allocations: 15.98 kB / 0.4965 GB, free: 356 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.111, allocations: 23.91 kB / 0.4965 GB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.111, allocations: 8 kB / 0.4965 GB, free: 324 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.1113, allocations: 287.1 kB / 0.4968 GB, free: 36 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1113, allocations: 0 / 0.4968 GB, free: 36 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.1118, allocations: 139.7 kB / 0.4969 GB, free: 15.89 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.001271/0.1131, allocations: 1.103 MB / 0.498 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000857/0.114, allocations: 413.3 kB / 0.4984 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.114, allocations: 4 kB / 0.4984 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.1143, allocations: 131.9 kB / 0.4985 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.1149, allocations: 133.3 kB / 0.4986 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.1201, allocations: 3.764 MB / 0.5023 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1205, allocations: 0.8347 MB / 0.5031 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002162/0.1208, allocations: 47.27 kB / 0.5032 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.121, allocations: 163.4 kB / 0.5033 GB, free: 9.148 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.121, allocations: 0 / 0.5033 GB, free: 9.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.1555, allocations: 8.966 MB / 0.5121 GB, free: 308 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.342, allocations: 4.75 kB / 0.5121 GB, free: 304 kB / 382.1 MB (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 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_generator_models_BoilerFollows.fmu > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)