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.001432/0.001432, allocations: 104.3 kB / 19.73 MB, free: 2.043 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.001477/0.001477, allocations: 209.8 kB / 23.01 MB, free: 4.859 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1461/0.1461, allocations: 24.04 MB / 337.2 MB, free: 11.32 MB / 270.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="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: 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.002139/0.002139, allocations: 71.89 kB / 473.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 59.57 MB / 0.5209 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002822/0.3087, allocations: 1.863 MB / 0.5227 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3097, allocations: 0.5858 MB / 0.5233 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.3098, allocations: 2.156 kB / 0.5233 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3101, allocations: 66.33 kB / 0.5234 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3103, allocations: 47.55 kB / 0.5234 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3106, allocations: 121.8 kB / 0.5235 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.311, allocations: 349.2 kB / 0.5239 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3111, allocations: 38.41 kB / 0.5239 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3113, allocations: 136.2 kB / 0.524 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3115, allocations: 125.2 kB / 0.5241 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.3116, allocations: 21.28 kB / 0.5242 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.3116, allocations: 18.59 kB / 0.5242 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.3117, allocations: 68.58 kB / 0.5242 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.3118, allocations: 74.5 kB / 0.5243 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.312, allocations: 199.4 kB / 0.5245 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.312, allocations: 0 / 0.5245 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.312, allocations: 1.062 kB / 0.5245 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.312, allocations: 0 / 0.5245 GB, free: 7.895 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.001226/0.3133, allocations: 0.5193 MB / 0.525 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3133, allocations: 10.58 kB / 0.525 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.3134, allocations: 51.83 kB / 0.5251 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.3134, allocations: 24.05 kB / 0.5251 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.314, allocations: 267.2 kB / 0.5253 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.314, allocations: 14.72 kB / 0.5254 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.314, allocations: 15.66 kB / 0.5254 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.3144, allocations: 195.2 kB / 0.5256 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3144, allocations: 4.609 kB / 0.5256 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3144, allocations: 9.281 kB / 0.5256 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3144, allocations: 8.203 kB / 0.5256 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3148, allocations: 154.4 kB / 0.5257 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3158, allocations: 0.6689 MB / 0.5264 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.3163, allocations: 212.2 kB / 0.5266 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3165, allocations: 77.67 kB / 0.5267 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3165, allocations: 6.188 kB / 0.5267 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3165, allocations: 33.39 kB / 0.5267 GB, free: 6.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.3165, allocations: 0 / 0.5267 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005399/0.3171, allocations: 267.9 kB / 0.527 GB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3171, allocations: 54.73 kB / 0.527 GB, free: 6.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.3176, allocations: 299.1 kB / 0.5273 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3176, allocations: 30.77 kB / 0.5273 GB, free: 6.051 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.3177, allocations: 147.9 kB / 0.5275 GB, free: 5.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.3177, allocations: 75.38 kB / 0.5275 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.3178, allocations: 53.19 kB / 0.5276 GB, free: 5.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3178, allocations: 332.7 kB / 0.5279 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.318, allocations: 73.17 kB / 0.528 GB, free: 5.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3181, allocations: 128.8 kB / 0.5281 GB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3195, allocations: 454.2 kB / 0.5285 GB, free: 5.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3195, allocations: 0 / 0.5285 GB, free: 5.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004554/0.3199, allocations: 289.3 kB / 0.5288 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.32, allocations: 5.719 kB / 0.5288 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.32, allocations: 6.25 kB / 0.5288 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.32, allocations: 3.25 kB / 0.5288 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.3203, allocations: 65.23 kB / 0.5289 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3203, allocations: 7 kB / 0.5289 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3205, allocations: 50.94 kB / 0.5289 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3205, allocations: 15.84 kB / 0.529 GB, free: 5.039 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.0001587/0.3207, allocations: 145.2 kB / 0.5291 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3207, allocations: 26.05 kB / 0.5291 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.3212, allocations: 235.8 kB / 0.5293 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3212, allocations: 6.594 kB / 0.5293 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3212, allocations: 0 / 0.5293 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3212, allocations: 0 / 0.5293 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.3215, allocations: 242.5 kB / 0.5296 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3215, allocations: 0 / 0.5296 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3217, allocations: 49.58 kB / 0.5296 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3217, allocations: 1.688 kB / 0.5296 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.3218, allocations: 7.734 kB / 0.5296 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3218, allocations: 1.125 kB / 0.5296 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3218, allocations: 0 / 0.5296 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.3223, allocations: 413.3 kB / 0.53 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3223, allocations: 29.94 kB / 0.5301 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3224, allocations: 6.219 kB / 0.5301 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3227, allocations: 26.34 kB / 0.5301 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3227, allocations: 17.55 kB / 0.5301 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3227, allocations: 4.188 kB / 0.5301 GB, free: 4.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000397/0.3231, allocations: 224.7 kB / 0.5303 GB, free: 4.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3231, allocations: 0 / 0.5303 GB, free: 4.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3234, allocations: 43.77 kB / 0.5304 GB, free: 4.176 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.00066/0.3241, allocations: 0.9374 MB / 0.5313 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.3245, allocations: 192.3 kB / 0.5315 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3245, allocations: 1.062 kB / 0.5315 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3246, allocations: 88.05 kB / 0.5315 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.325, allocations: 37.16 kB / 0.5316 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.3288, allocations: 2.743 MB / 0.5343 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.329, allocations: 152.1 kB / 0.5344 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3291, allocations: 40.44 kB / 0.5344 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3293, allocations: 76.03 kB / 0.5345 GB, free: 1.375 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3293, allocations: 4 kB / 0.5345 GB, free: 1.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.3638, allocations: 5.321 MB / 0.5397 GB, free: 84 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.56, allocations: 7.469 kB / 0.5397 GB, free: 80 kB / 382.1 MB " [Timeout remaining time 648] (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: 14.294588899239898] Failed to read output from testmodel.py, exit status != 0: 11.669804961886257 11.686072811 11.370655137 Calling exit ...