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.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.001285/0.001285, 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.001289/0.001289, 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.378/1.378, allocations: 225.6 MB / 247.8 MB, free: 3.723 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.09389/0.09389, allocations: 22.67 MB / 325.4 MB, free: 7.922 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.Typical_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 65.3 kB / 457.1 MB, free: 41.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09466, allocations: 58.03 MB / 0.5031 GB, free: 8.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002336/0.097, allocations: 1.911 MB / 0.505 GB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.09773, allocations: 0.6001 MB / 0.5055 GB, free: 5.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.09782, allocations: 7.938 kB / 0.5056 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.09809, allocations: 51.58 kB / 0.5056 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.09823, allocations: 51.7 kB / 0.5057 GB, free: 5.617 MB / 366.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.0001872/0.09842, allocations: 107.8 kB / 0.5058 GB, free: 5.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.09865, allocations: 308 kB / 0.506 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.09875, allocations: 44.33 kB / 0.5061 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.09887, allocations: 123.5 kB / 0.5062 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.09901, allocations: 135.5 kB / 0.5063 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.09904, allocations: 20 kB / 0.5064 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.09906, allocations: 16 kB / 0.5064 GB, free: 4.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.09912, allocations: 71.69 kB / 0.5064 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.09918, allocations: 95.39 kB / 0.5065 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.09935, allocations: 199 kB / 0.5067 GB, free: 4.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09935, allocations: 3.984 kB / 0.5067 GB, free: 4.516 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09935, allocations: 0 / 0.5067 GB, free: 4.516 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.09936, allocations: 0 / 0.5067 GB, free: 4.516 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00102/0.1004, allocations: 0.5919 MB / 0.5073 GB, free: 3.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1004, allocations: 12.03 kB / 0.5073 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1004, allocations: 50.73 kB / 0.5074 GB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1005, allocations: 24.8 kB / 0.5074 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.1009, allocations: 315.6 kB / 0.5077 GB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.101, allocations: 12.38 kB / 0.5077 GB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.101, allocations: 20.38 kB / 0.5077 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.1013, allocations: 207.6 kB / 0.5079 GB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1013, allocations: 0 / 0.5079 GB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1013, allocations: 11.98 kB / 0.5079 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1013, allocations: 0 / 0.5079 GB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.1016, allocations: 155.8 kB / 0.5081 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.1023, allocations: 0.7232 MB / 0.5088 GB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.1027, allocations: 222.6 kB / 0.509 GB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1028, allocations: 72.83 kB / 0.5091 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1029, allocations: 15.86 kB / 0.5091 GB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.1029, allocations: 38.5 kB / 0.5091 GB, free: 1.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.1029, allocations: 0 / 0.5091 GB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004418/0.1033, allocations: 263.6 kB / 0.5094 GB, free: 1.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.1034, allocations: 59.41 kB / 0.5094 GB, free: 1.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1037, allocations: 292.9 kB / 0.5097 GB, free: 1.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1037, allocations: 29.7 kB / 0.5097 GB, free: 1.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.1038, allocations: 144.4 kB / 0.5099 GB, free: 1.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.1038, allocations: 79.38 kB / 0.5099 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1039, allocations: 53.7 kB / 0.51 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.1039, allocations: 338.8 kB / 0.5103 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1041, allocations: 76.17 kB / 0.5104 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1042, allocations: 122.5 kB / 0.5105 GB, free: 380 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.1054, allocations: 463.3 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1054, allocations: 0 / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004578/0.1058, allocations: 279.3 kB / 0.5112 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1059, allocations: 8 kB / 0.5112 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1059, allocations: 0 / 0.5112 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1059, allocations: 4 kB / 0.5112 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.1062, allocations: 63.91 kB / 0.5113 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1062, allocations: 12.17 kB / 0.5113 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1064, allocations: 47.75 kB / 0.5113 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1064, allocations: 12 kB / 0.5114 GB, free: 15.47 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.0001901/0.1066, allocations: 150.5 kB / 0.5115 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1067, allocations: 27.8 kB / 0.5115 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.1071, allocations: 238.1 kB / 0.5118 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1071, allocations: 7.984 kB / 0.5118 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1071, allocations: 0 / 0.5118 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1071, allocations: 0 / 0.5118 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1075, allocations: 297.3 kB / 0.512 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1075, allocations: 0 / 0.512 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.1078, allocations: 43.92 kB / 0.5121 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1078, allocations: 0 / 0.5121 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1078, allocations: 4 kB / 0.5121 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1078, allocations: 8 kB / 0.5121 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1078, allocations: 0 / 0.5121 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.1084, allocations: 419.2 kB / 0.5125 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1085, allocations: 105 kB / 0.5126 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.1086, allocations: 8 kB / 0.5126 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.1089, allocations: 31.95 kB / 0.5126 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.109, allocations: 11.98 kB / 0.5127 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.109, allocations: 8 kB / 0.5127 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005564/0.1096, allocations: 220.4 kB / 0.5129 GB, free: 13.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1096, allocations: 0 / 0.5129 GB, free: 13.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.11, allocations: 43.94 kB / 0.5129 GB, free: 13.79 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.001242/0.1113, allocations: 0.9384 MB / 0.5138 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.1119, allocations: 189.4 kB / 0.514 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1119, allocations: 7.938 kB / 0.514 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.1121, allocations: 87.91 kB / 0.5141 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1125, allocations: 38.75 kB / 0.5141 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.1166, allocations: 2.744 MB / 0.5168 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.117, allocations: 0.7636 MB / 0.5176 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1171, allocations: 37.94 kB / 0.5176 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1172, allocations: 79.41 kB / 0.5177 GB, free: 8.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1172, allocations: 0 / 0.5177 GB, free: 8.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.1445, allocations: 4.711 MB / 0.5223 GB, free: 4.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/7.974, allocations: 7.969 kB / 0.5223 GB, free: 4.121 MB / 382.1 MB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 10.551833844743669] Failed to read output from testmodel.py, exit status != 0: 8.043518858030438 8.063133095 7.960163483 Calling exit ...