Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.001384/0.001384, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001443/0.001443, allocations: 212 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.523/1.523, 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.1011/0.1011, allocations: 22.93 MB / 332.5 MB, free: 2.652 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.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",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.001991/0.001991, allocations: 63.41 kB / 466.7 MB, free: 32.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09787, allocations: 59.26 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00242/0.1003, allocations: 0.9828 MB / 0.5146 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1022, allocations: 1.249 MB / 0.5159 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1023, allocations: 11.88 kB / 0.5159 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1026, allocations: 31.78 kB / 0.5159 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1027, allocations: 51.77 kB / 0.5159 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.103, allocations: 67.89 kB / 0.516 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1033, allocations: 199.6 kB / 0.5162 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1034, allocations: 25.38 kB / 0.5162 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1035, allocations: 83.73 kB / 0.5163 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1037, allocations: 107.6 kB / 0.5164 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.1038, allocations: 12 kB / 0.5164 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.1038, allocations: 12 kB / 0.5164 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1039, allocations: 51.81 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.104, allocations: 63.59 kB / 0.5165 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.1042, allocations: 131.4 kB / 0.5167 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1042, allocations: 0 / 0.5167 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1042, allocations: 0 / 0.5167 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1042, allocations: 4 kB / 0.5167 GB, free: 10.95 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001318/0.1055, allocations: 0.5221 MB / 0.5172 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1056, allocations: 12.62 kB / 0.5172 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.354e-05/0.1056, allocations: 192 / 0.5172 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.532e-05/0.1056, allocations: 46.62 kB / 0.5172 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.1057, allocations: 20.8 kB / 0.5173 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.1063, allocations: 292.8 kB / 0.5175 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1063, allocations: 8.375 kB / 0.5175 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1064, allocations: 8.328 kB / 0.5175 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1066, allocations: 115.3 kB / 0.5177 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1066, allocations: 7.938 kB / 0.5177 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1067, allocations: 4 kB / 0.5177 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1067, allocations: 4 kB / 0.5177 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1069, allocations: 99.92 kB / 0.5178 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.1077, allocations: 452.5 kB / 0.5182 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.1081, allocations: 154.4 kB / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1083, allocations: 68.81 kB / 0.5184 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1083, allocations: 0 / 0.5184 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1083, allocations: 34.56 kB / 0.5184 GB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1083, allocations: 0 / 0.5184 GB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001171/0.1095, allocations: 399.4 kB / 0.5188 GB, free: 8.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1095, allocations: 55.41 kB / 0.5189 GB, free: 8.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.1101, allocations: 250.6 kB / 0.5191 GB, free: 8.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1101, allocations: 29.7 kB / 0.5191 GB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.1102, allocations: 116.1 kB / 0.5193 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.1102, allocations: 43.64 kB / 0.5193 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.1103, allocations: 29.7 kB / 0.5193 GB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1104, allocations: 330.8 kB / 0.5196 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1106, allocations: 43.97 kB / 0.5197 GB, free: 7.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1107, allocations: 55.95 kB / 0.5197 GB, free: 7.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.1119, allocations: 339.3 kB / 0.5201 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1119, allocations: 0 / 0.5201 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005585/0.1124, allocations: 242.1 kB / 0.5203 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1124, allocations: 8 kB / 0.5203 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1124, allocations: 0 / 0.5203 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.1127, allocations: 52.8 kB / 0.5204 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1128, allocations: 16 kB / 0.5204 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.1146, allocations: 1.598 MB / 0.5219 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.1148, allocations: 36 kB / 0.522 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1148, allocations: 4 kB / 0.522 GB, free: 5.117 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.115, allocations: 149.8 kB / 0.5221 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.1151, allocations: 15.91 kB / 0.5221 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.1151, allocations: 33.27 kB / 0.5222 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1151, allocations: 4 kB / 0.5222 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1152, allocations: 4 kB / 0.5222 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1152, allocations: 0 / 0.5222 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1155, allocations: 245.5 kB / 0.5224 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1155, allocations: 0 / 0.5224 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.1156, allocations: 19.92 kB / 0.5224 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.1158, allocations: 52.81 kB / 0.5225 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1158, allocations: 3.938 kB / 0.5225 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.1174, allocations: 1.61 MB / 0.524 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1174, allocations: 64 / 0.524 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.1181, allocations: 390.1 kB / 0.5244 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.1181, allocations: 89.11 kB / 0.5245 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1181, allocations: 11.98 kB / 0.5245 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.1184, allocations: 31.89 kB / 0.5245 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1185, allocations: 15.98 kB / 0.5246 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1185, allocations: 4 kB / 0.5246 GB, free: 2.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004539/0.1189, allocations: 196.2 kB / 0.5247 GB, free: 2.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1189, allocations: 0 / 0.5247 GB, free: 2.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1192, allocations: 32 kB / 0.5248 GB, free: 1.996 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1]) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.1203, allocations: 0.9043 MB / 0.5257 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005715/0.1209, allocations: 258.6 kB / 0.5259 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1209, allocations: 0 / 0.5259 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1212, allocations: 198.5 kB / 0.5261 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1215, allocations: 19.98 kB / 0.5261 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.1255, allocations: 2.265 MB / 0.5283 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1259, allocations: 0.7319 MB / 0.529 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.126, allocations: 33.05 kB / 0.5291 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.1261, allocations: 43.42 kB / 0.5291 GB, free: 13.39 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1261, allocations: 0 / 0.5291 GB, free: 13.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.156, allocations: 3.847 MB / 0.5329 GB, free: 9.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.62, allocations: 9.734 kB / 0.5329 GB, free: 9.637 MB / 398.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Tuning_brushup_MSL_loop_base_fmu --startTime=0 --stopTime=60 --stepSize=0.12 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Tuning_brushup_MSL_loop_base.fmu > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.444990860996768] Failed to read output from testmodel.py, exit status != 0: 10.7708145059878 10.797922367 10.688863477 Calling exit ...