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.001832/0.001832, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00201/0.00201, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1005/0.1005, allocations: 22.94 MB / 336.1 MB, free: 12.42 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="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.003075/0.003075, allocations: 59.91 kB / 472.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3401, allocations: 59.29 MB / 0.519 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003083/0.3431, allocations: 1.862 MB / 0.5208 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.3441, allocations: 0.5898 MB / 0.5214 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.3442, allocations: 6.031 kB / 0.5214 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3445, allocations: 57.69 kB / 0.5215 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3447, allocations: 51.56 kB / 0.5215 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.345, allocations: 126.5 kB / 0.5216 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.3454, allocations: 351.8 kB / 0.522 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3456, allocations: 51.23 kB / 0.522 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3458, allocations: 128.2 kB / 0.5221 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.346, allocations: 140.1 kB / 0.5223 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.346, allocations: 18.5 kB / 0.5223 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.641e-05/0.3461, allocations: 18.06 kB / 0.5223 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.3462, allocations: 60.36 kB / 0.5224 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.3462, allocations: 74.47 kB / 0.5224 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3465, allocations: 207.9 kB / 0.5226 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3465, allocations: 0 / 0.5226 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3465, allocations: 1.25 kB / 0.5226 GB, free: 8.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3465, allocations: 0 / 0.5226 GB, free: 8.445 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.001231/0.3477, allocations: 0.5187 MB / 0.5231 GB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3477, allocations: 10.84 kB / 0.5231 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.187e-05/0.3478, allocations: 11.84 kB / 0.5232 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3478, allocations: 52.16 kB / 0.5232 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.3479, allocations: 24.36 kB / 0.5232 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.3485, allocations: 258.4 kB / 0.5235 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3485, allocations: 16.06 kB / 0.5235 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.3485, allocations: 19.28 kB / 0.5235 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.3489, allocations: 205.3 kB / 0.5237 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3489, allocations: 0 / 0.5237 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.349, allocations: 5.125 kB / 0.5237 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.349, allocations: 4.594 kB / 0.5237 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.3493, allocations: 157.1 kB / 0.5239 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.3503, allocations: 0.6582 MB / 0.5245 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3508, allocations: 219 kB / 0.5247 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3509, allocations: 79.77 kB / 0.5248 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.351, allocations: 4.344 kB / 0.5248 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.351, allocations: 32.81 kB / 0.5248 GB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.351, allocations: 0 / 0.5248 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005499/0.3515, allocations: 263.3 kB / 0.5251 GB, free: 6.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3516, allocations: 58.56 kB / 0.5251 GB, free: 6.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.352, allocations: 298 kB / 0.5254 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.352, allocations: 30.64 kB / 0.5255 GB, free: 6.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3521, allocations: 142.9 kB / 0.5256 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.3522, allocations: 77.33 kB / 0.5257 GB, free: 6.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.3523, allocations: 61.19 kB / 0.5257 GB, free: 6.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.3523, allocations: 329.8 kB / 0.526 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3525, allocations: 77.47 kB / 0.5261 GB, free: 6.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3526, allocations: 125 kB / 0.5262 GB, free: 5.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.3539, allocations: 457.8 kB / 0.5267 GB, free: 5.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3539, allocations: 0 / 0.5267 GB, free: 5.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004812/0.3544, allocations: 285.5 kB / 0.5269 GB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3544, allocations: 5.656 kB / 0.5269 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3544, allocations: 1.734 kB / 0.5269 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.3544, allocations: 7.234 kB / 0.5269 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.3548, allocations: 62.02 kB / 0.527 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3548, allocations: 7.438 kB / 0.527 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.355, allocations: 54.84 kB / 0.5271 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.3551, allocations: 12.12 kB / 0.5271 GB, free: 5.598 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.0001799/0.3552, allocations: 140.3 kB / 0.5272 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.3553, allocations: 25.45 kB / 0.5272 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004601/0.3558, allocations: 241 kB / 0.5275 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.3558, allocations: 6.25 kB / 0.5275 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3558, allocations: 0 / 0.5275 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3558, allocations: 5.062 kB / 0.5275 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3561, allocations: 243.3 kB / 0.5277 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3561, allocations: 5.5 kB / 0.5277 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.3564, allocations: 40.94 kB / 0.5278 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3564, allocations: 1.156 kB / 0.5278 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3564, allocations: 6.297 kB / 0.5278 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3564, allocations: 6.156 kB / 0.5278 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3564, allocations: 4 kB / 0.5278 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.357, allocations: 404.5 kB / 0.5282 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.357, allocations: 25.7 kB / 0.5282 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3571, allocations: 7.328 kB / 0.5282 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.3573, allocations: 26.16 kB / 0.5282 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3574, allocations: 17.25 kB / 0.5282 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.3574, allocations: 4.078 kB / 0.5282 GB, free: 4.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004193/0.3578, allocations: 225 kB / 0.5284 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 0.5284 GB, free: 4.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.3582, allocations: 40.12 kB / 0.5285 GB, free: 4.738 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.000763/0.3589, allocations: 0.9419 MB / 0.5294 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3593, allocations: 190.2 kB / 0.5296 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3593, allocations: 1.312 kB / 0.5296 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.3595, allocations: 89.17 kB / 0.5297 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3599, allocations: 40.39 kB / 0.5297 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.3637, allocations: 2.749 MB / 0.5324 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3639, allocations: 150.6 kB / 0.5325 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.364, allocations: 37.31 kB / 0.5326 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3642, allocations: 72.45 kB / 0.5326 GB, free: 1.938 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3642, allocations: 3.938 kB / 0.5326 GB, free: 1.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.3903, allocations: 5.02 MB / 0.5376 GB, free: 1.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.02, allocations: 9.047 kB / 0.5376 GB, free: 1.152 MB / 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.86050643096678] Failed to read output from testmodel.py, exit status != 0: 12.195607501082122 12.217989675 11.866891954 Calling exit ...