Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.001531/0.001531, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.00147/0.00147, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1412/0.1412, allocations: 22.93 MB / 332.5 MB, free: 2.656 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.Typical_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",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.001982/0.001982, allocations: 68.55 kB / 466.7 MB, free: 32.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1143, allocations: 59.27 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00326/0.1176, allocations: 1.926 MB / 0.5156 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1188, allocations: 0.6351 MB / 0.5162 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.1189, allocations: 7.938 kB / 0.5162 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1192, allocations: 47.58 kB / 0.5162 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1193, allocations: 59.58 kB / 0.5163 GB, free: 11.34 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1196, allocations: 111.8 kB / 0.5164 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.12, allocations: 304.1 kB / 0.5167 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1201, allocations: 52.3 kB / 0.5167 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1203, allocations: 115.7 kB / 0.5168 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1205, allocations: 135.4 kB / 0.517 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1206, allocations: 23.94 kB / 0.517 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.1206, allocations: 16 kB / 0.517 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.1207, allocations: 63.81 kB / 0.5171 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.1208, allocations: 95.41 kB / 0.5172 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.121, allocations: 203 kB / 0.5174 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.121, allocations: 0 / 0.5174 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.121, allocations: 0 / 0.5174 GB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.121, allocations: 0 / 0.5174 GB, free: 10.25 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001339/0.1224, allocations: 0.5919 MB / 0.5179 GB, free: 9.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1224, allocations: 8.625 kB / 0.5179 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.1224, allocations: 7.938 kB / 0.518 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.1225, allocations: 58.67 kB / 0.518 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.1226, allocations: 24.8 kB / 0.518 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.1232, allocations: 315.4 kB / 0.5183 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.1232, allocations: 12.38 kB / 0.5183 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1233, allocations: 20.38 kB / 0.5184 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1237, allocations: 196.7 kB / 0.5186 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1237, allocations: 0 / 0.5186 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1237, allocations: 4 kB / 0.5186 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1237, allocations: 4 kB / 0.5186 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.1241, allocations: 163.6 kB / 0.5187 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1252, allocations: 0.731 MB / 0.5194 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1258, allocations: 218.6 kB / 0.5196 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1259, allocations: 88.75 kB / 0.5197 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.126, allocations: 0 / 0.5197 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.126, allocations: 38.56 kB / 0.5198 GB, free: 7.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.152e-06/0.126, allocations: 0 / 0.5198 GB, free: 7.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005913/0.1266, allocations: 267.6 kB / 0.52 GB, free: 7.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1266, allocations: 51.41 kB / 0.5201 GB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.1272, allocations: 300.8 kB / 0.5203 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1272, allocations: 33.64 kB / 0.5204 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1273, allocations: 140.5 kB / 0.5205 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.1274, allocations: 75.38 kB / 0.5206 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.1275, allocations: 53.66 kB / 0.5206 GB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1276, allocations: 342.8 kB / 0.521 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1278, allocations: 68.23 kB / 0.521 GB, free: 6.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.128, allocations: 130.5 kB / 0.5212 GB, free: 6.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1295, allocations: 455.9 kB / 0.5216 GB, free: 5.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1295, allocations: 0 / 0.5216 GB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005161/0.13, allocations: 283.4 kB / 0.5219 GB, free: 5.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1301, allocations: 4 kB / 0.5219 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1301, allocations: 4 kB / 0.5219 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1301, allocations: 4 kB / 0.5219 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.1304, allocations: 63.91 kB / 0.5219 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1304, allocations: 4 kB / 0.5219 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.1307, allocations: 51.98 kB / 0.522 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1307, allocations: 19.94 kB / 0.522 GB, free: 5.184 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002351/0.1309, allocations: 138.6 kB / 0.5221 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.131, allocations: 31.73 kB / 0.5222 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.1315, allocations: 231.7 kB / 0.5224 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.1315, allocations: 7.938 kB / 0.5224 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1315, allocations: 0 / 0.5224 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1315, allocations: 0 / 0.5224 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.1319, allocations: 301.4 kB / 0.5227 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1319, allocations: 3.938 kB / 0.5227 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.1322, allocations: 43.92 kB / 0.5227 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1322, allocations: 0 / 0.5227 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1323, allocations: 11.98 kB / 0.5227 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1323, allocations: 0 / 0.5227 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1323, allocations: 0 / 0.5227 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.133, allocations: 409.2 kB / 0.5231 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1331, allocations: 101 kB / 0.5232 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1331, allocations: 4 kB / 0.5232 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1334, allocations: 27.95 kB / 0.5233 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1335, allocations: 15.98 kB / 0.5233 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1335, allocations: 15.92 kB / 0.5233 GB, free: 3.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004597/0.1339, allocations: 220.4 kB / 0.5235 GB, free: 3.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1339, allocations: 0 / 0.5235 GB, free: 3.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1343, allocations: 43.94 kB / 0.5235 GB, free: 3.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001071/0.1353, allocations: 0.9439 MB / 0.5245 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.1358, allocations: 183.8 kB / 0.5246 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1358, allocations: 0 / 0.5246 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.136, allocations: 98.08 kB / 0.5247 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1364, allocations: 38.12 kB / 0.5248 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.1413, allocations: 2.743 MB / 0.5274 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1417, allocations: 0.7597 MB / 0.5282 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1419, allocations: 41.92 kB / 0.5282 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.142, allocations: 71.42 kB / 0.5283 GB, free: 14.49 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.142, allocations: 0 / 0.5283 GB, free: 14.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1649, allocations: 4.763 MB / 0.5329 GB, free: 9.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.705, allocations: 0 / 0.5329 GB, free: 9.828 MB / 398.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_control_structures_FF_compensation_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_control_structures_FF_compensation.fmu > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.62833530199714] Failed to read output from testmodel.py, exit status != 0: 8.832563352014404 8.84779775 8.723739256 Calling exit ...