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.0007141/0.0007141, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008456/0.0008456, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.06166/0.06166, allocations: 18.12 MB / 278.1 MB, free: 11.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 415 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.319e-05, allocations: 3.656 kB / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002696/0.002719, allocations: 1.875 MB / 416.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003725, allocations: 0.5831 MB / 417.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.003843, allocations: 6.438 kB / 417.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.004165, allocations: 61.69 kB / 417.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004339, allocations: 50.83 kB / 417.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.004703, allocations: 156.2 kB / 417.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.005043, allocations: 249.4 kB / 418 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.005196, allocations: 32.33 kB / 418.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.005378, allocations: 96.67 kB / 418.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.005592, allocations: 104.2 kB / 418.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.005645, allocations: 17.88 kB / 418.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.005678, allocations: 22.22 kB / 418.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.005771, allocations: 68.69 kB / 418.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.005846, allocations: 57.72 kB / 418.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.006126, allocations: 205.3 kB / 418.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.006131, allocations: 0 / 418.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.006133, allocations: 0 / 418.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.00614, allocations: 4.75 kB / 418.6 MB, free: 10.6 MB / 330.7 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.0009963/0.007137, allocations: 0.5124 MB / 419.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.00719, allocations: 10.58 kB / 419.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.00724, allocations: 51.19 kB / 419.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/0.007297, allocations: 26.38 kB / 419.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.007705, allocations: 261.2 kB / 419.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.00773, allocations: 15.38 kB / 419.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.007765, allocations: 15.44 kB / 419.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.008061, allocations: 199.4 kB / 419.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.00807, allocations: 192 / 419.7 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.008085, allocations: 10.47 kB / 419.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.008093, allocations: 8.531 kB / 419.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.008325, allocations: 154.2 kB / 419.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.00908, allocations: 0.662 MB / 420.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.009475, allocations: 211.5 kB / 420.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.00959, allocations: 81.53 kB / 420.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.009618, allocations: 3.031 kB / 420.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.009636, allocations: 38 kB / 420.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.009638, allocations: 0 / 420.9 MB, free: 9.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004776/0.01012, allocations: 268.7 kB / 421.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01015, allocations: 54.64 kB / 421.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.01054, allocations: 300.3 kB / 421.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01055, allocations: 25.7 kB / 421.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.01064, allocations: 147.4 kB / 421.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.01069, allocations: 78.03 kB / 421.7 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.01077, allocations: 54.78 kB / 421.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.01084, allocations: 336.5 kB / 422.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01096, allocations: 69.14 kB / 422.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01111, allocations: 126.5 kB / 422.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.01208, allocations: 467.5 kB / 422.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01208, allocations: 0 / 422.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003302/0.01241, allocations: 282.1 kB / 423 MB, free: 7.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.01243, allocations: 5.938 kB / 423 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01244, allocations: 5.188 kB / 423 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01246, allocations: 4.109 kB / 423 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01264, allocations: 65.11 kB / 423.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.01265, allocations: 3.469 kB / 423.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.0128, allocations: 49.94 kB / 423.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01282, allocations: 13.69 kB / 423.2 MB, free: 7.762 MB / 330.7 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.000171/0.01299, allocations: 148.3 kB / 423.3 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.01302, allocations: 22.2 kB / 423.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.01337, allocations: 235 kB / 423.6 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.01337, allocations: 10.75 kB / 423.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.01338, allocations: 0.7031 kB / 423.6 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01339, allocations: 9.609 kB / 423.6 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.01361, allocations: 240.3 kB / 423.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01361, allocations: 0 / 423.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.01378, allocations: 45.58 kB / 423.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01378, allocations: 1.734 kB / 423.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.0138, allocations: 2.828 kB / 423.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.0138, allocations: 5.969 kB / 423.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0138, allocations: 0 / 423.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.0142, allocations: 417.2 kB / 424.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.01424, allocations: 29.19 kB / 424.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01426, allocations: 15.84 kB / 424.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01439, allocations: 26.17 kB / 424.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.01444, allocations: 17.56 kB / 424.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.01445, allocations: 4.344 kB / 424.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.01469, allocations: 224.8 kB / 424.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01469, allocations: 0 / 424.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01491, allocations: 44.11 kB / 424.6 MB, free: 6.887 MB / 330.7 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.000497/0.01541, allocations: 0.9345 MB / 425.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01571, allocations: 181.1 kB / 425.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01571, allocations: 1.469 kB / 425.7 MB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01582, allocations: 95.08 kB / 425.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01607, allocations: 39.62 kB / 425.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.01878, allocations: 2.724 MB / 428.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.01891, allocations: 142.6 kB / 428.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.01902, allocations: 37.8 kB / 428.8 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.01912, allocations: 77.2 kB / 428.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01913, allocations: 0 / 428.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.04085, allocations: 5.468 MB / 434.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.945, allocations: 13.44 kB / 434.3 MB, free: 2.324 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_control_structures.FF_compensation_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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: 8.922203631140292] Failed to read output from testmodel.py, exit status != 0: 7.027780320495367 7.037123123 7.028261743 Calling exit ...