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.001871/0.001871, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002599/0.002599, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1081/0.1081, allocations: 24.02 MB / 333.6 MB, free: 1.555 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",fmuType="me",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.003112/0.003112, allocations: 68.97 kB / 468.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.141, allocations: 59.54 MB / 0.5156 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.003553/0.1446, allocations: 0.976 MB / 0.5165 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1472, allocations: 1.252 MB / 0.5177 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1473, allocations: 4 kB / 0.5177 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1477, allocations: 35.77 kB / 0.5178 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.1479, allocations: 51.75 kB / 0.5178 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1482, allocations: 63.91 kB / 0.5179 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.1486, allocations: 207.6 kB / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1487, allocations: 25.38 kB / 0.5181 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1489, allocations: 83.78 kB / 0.5182 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.1492, allocations: 115.5 kB / 0.5183 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.1493, allocations: 11.94 kB / 0.5183 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.982e-05/0.1493, allocations: 12 kB / 0.5183 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1495, allocations: 47.83 kB / 0.5184 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1496, allocations: 59.64 kB / 0.5184 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.1499, allocations: 131.4 kB / 0.5186 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1499, allocations: 0 / 0.5186 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1499, allocations: 8 kB / 0.5186 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1499, allocations: 3.938 kB / 0.5186 GB, free: 9.195 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.001674/0.1515, allocations: 0.5202 MB / 0.5191 GB, free: 8.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.1516, allocations: 12.62 kB / 0.5191 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.1517, allocations: 42.73 kB / 0.5191 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.1517, allocations: 16.8 kB / 0.5191 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.1525, allocations: 280.8 kB / 0.5194 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1526, allocations: 16.31 kB / 0.5194 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1526, allocations: 8.328 kB / 0.5194 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1529, allocations: 113.8 kB / 0.5195 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1529, allocations: 0 / 0.5195 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.153, allocations: 4 kB / 0.5195 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.153, allocations: 4 kB / 0.5196 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.1533, allocations: 99.83 kB / 0.5196 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1544, allocations: 464.5 kB / 0.5201 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.1549, allocations: 150.5 kB / 0.5202 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1551, allocations: 60.83 kB / 0.5203 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1551, allocations: 8 kB / 0.5203 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.1552, allocations: 34.55 kB / 0.5203 GB, free: 7.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1552, allocations: 0 / 0.5203 GB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001541/0.1567, allocations: 407.6 kB / 0.5207 GB, free: 6.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1568, allocations: 51.41 kB / 0.5208 GB, free: 6.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/0.1575, allocations: 246.6 kB / 0.521 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1575, allocations: 29.7 kB / 0.521 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1576, allocations: 116.1 kB / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.1577, allocations: 43.58 kB / 0.5212 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.1578, allocations: 29.72 kB / 0.5212 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.158, allocations: 330.8 kB / 0.5215 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1582, allocations: 47.97 kB / 0.5216 GB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1583, allocations: 51.97 kB / 0.5216 GB, free: 5.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.1599, allocations: 342.4 kB / 0.522 GB, free: 5.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1599, allocations: 0 / 0.522 GB, free: 5.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005549/0.1605, allocations: 244.2 kB / 0.5222 GB, free: 5.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1605, allocations: 4 kB / 0.5222 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1605, allocations: 0 / 0.5222 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.1607, allocations: 60.75 kB / 0.5222 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1608, allocations: 15.98 kB / 0.5223 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.1624, allocations: 1.606 MB / 0.5238 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1626, allocations: 31.94 kB / 0.5239 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1627, allocations: 4 kB / 0.5239 GB, free: 3.363 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.0001815/0.1628, allocations: 145.8 kB / 0.524 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.1629, allocations: 11.91 kB / 0.524 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.1629, allocations: 25.34 kB / 0.524 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1629, allocations: 4 kB / 0.524 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1629, allocations: 0 / 0.524 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.163, allocations: 3.984 kB / 0.524 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.1633, allocations: 237.6 kB / 0.5243 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1633, allocations: 3.984 kB / 0.5243 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1634, allocations: 16 kB / 0.5243 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.1635, allocations: 60.89 kB / 0.5244 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1636, allocations: 3.938 kB / 0.5244 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.1651, allocations: 1.61 MB / 0.5259 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1651, allocations: 4.031 kB / 0.5259 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.1657, allocations: 380 kB / 0.5263 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1658, allocations: 93.02 kB / 0.5264 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1658, allocations: 8.031 kB / 0.5264 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1661, allocations: 31.91 kB / 0.5264 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1661, allocations: 11.98 kB / 0.5264 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1661, allocations: 7.984 kB / 0.5264 GB, free: 496 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000433/0.1666, allocations: 200.2 kB / 0.5266 GB, free: 296 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1666, allocations: 0 / 0.5266 GB, free: 296 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1668, allocations: 28 kB / 0.5267 GB, free: 268 kB / 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.001069/0.1679, allocations: 0.9082 MB / 0.5275 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.1684, allocations: 251 kB / 0.5278 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1684, allocations: 0 / 0.5278 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1688, allocations: 206.5 kB / 0.528 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1691, allocations: 30.02 kB / 0.528 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.1728, allocations: 2.255 MB / 0.5302 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1732, allocations: 0.7358 MB / 0.5309 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.969e-05/0.1733, allocations: 33.05 kB / 0.531 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.1734, allocations: 39.42 kB / 0.531 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1734, allocations: 4 kB / 0.531 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.204, allocations: 3.819 MB / 0.5347 GB, free: 7.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.799/10, allocations: 14.88 kB / 0.5347 GB, free: 7.906 MB / 398.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Tuning_brushup.MSL_loop_base_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 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.025550634833053] Failed to read output from testmodel.py, exit status != 0: 10.085087821120396 10.104448557 9.950674975 Calling exit ...