Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.001121/0.001121, 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.001309/0.001309, allocations: 165.2 kB / 23.23 MB, free: 1.336 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.8915/0.8915, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.06034/0.06034, allocations: 18.13 MB / 278.1 MB, free: 11.55 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_with_delay,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation_with_delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation_with_delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.091e-05, allocations: 2.281 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002113/0.002134, allocations: 1.913 MB / 417 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003189, allocations: 0.7075 MB / 417.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.003294, allocations: 4.156 kB / 417.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.003611, allocations: 87.22 kB / 417.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.003801, allocations: 110.3 kB / 417.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.004287, allocations: 292.5 kB / 418.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.004609, allocations: 343.9 kB / 418.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.004723, allocations: 48.59 kB / 418.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.004899, allocations: 142.5 kB / 418.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.005142, allocations: 183.8 kB / 418.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.005184, allocations: 21.44 kB / 418.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.304e-05/0.005217, allocations: 24.44 kB / 418.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.005306, allocations: 107.5 kB / 419 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.005369, allocations: 73.36 kB / 419.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.005612, allocations: 285.2 kB / 419.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005614, allocations: 0 / 419.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005615, allocations: 1.281 kB / 419.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.00562, allocations: 0 / 419.4 MB, free: 10.33 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.00115/0.00677, allocations: 0.7059 MB / 420.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.006809, allocations: 14.14 kB / 420.1 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.006854, allocations: 47.47 kB / 420.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.006915, allocations: 36.73 kB / 420.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.007542, allocations: 380.7 kB / 420.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.00756, allocations: 10.16 kB / 420.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.007588, allocations: 18.45 kB / 420.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.007853, allocations: 182.6 kB / 420.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007863, allocations: 4.938 kB / 420.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.007879, allocations: 9.125 kB / 420.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007887, allocations: 5.328 kB / 420.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.008159, allocations: 190.2 kB / 420.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/0.009033, allocations: 0.5652 MB / 421.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.009625, allocations: 334 kB / 421.8 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.009744, allocations: 94.09 kB / 421.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.009769, allocations: 7.281 kB / 421.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.009783, allocations: 37.89 kB / 422 MB, free: 8.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.009784, allocations: 0 / 422 MB, free: 8.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007969/0.01058, allocations: 432.9 kB / 422.4 MB, free: 8.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.0106, allocations: 56.91 kB / 422.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.01121, allocations: 455.3 kB / 422.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01122, allocations: 26.86 kB / 422.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.01131, allocations: 168.9 kB / 423.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.01136, allocations: 81.94 kB / 423.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.01142, allocations: 42 kB / 423.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.01147, allocations: 341.4 kB / 423.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.01158, allocations: 90.98 kB / 423.6 MB, free: 7.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.0117, allocations: 107 kB / 423.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/0.01263, allocations: 0.5176 MB / 424.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01264, allocations: 0 / 424.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004222/0.01306, allocations: 345 kB / 424.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01308, allocations: 5.172 kB / 424.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01308, allocations: 5.438 kB / 424.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.01324, allocations: 55.92 kB / 424.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01334, allocations: 34.61 kB / 424.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008826/0.01422, allocations: 1.499 MB / 426.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.01446, allocations: 73.03 kB / 426.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01448, allocations: 5.391 kB / 426.3 MB, free: 6.145 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.01462, allocations: 165.5 kB / 426.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.01466, allocations: 32.41 kB / 426.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.0147, allocations: 45.53 kB / 426.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0147, allocations: 6.219 kB / 426.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.01471, allocations: 1.125 kB / 426.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01472, allocations: 1.219 kB / 426.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.01496, allocations: 289.6 kB / 426.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01496, allocations: 0 / 426.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01507, allocations: 28.7 kB / 426.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.01517, allocations: 52.28 kB / 426.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01519, allocations: 3.875 kB / 426.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000657/0.01584, allocations: 1.511 MB / 428.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01584, allocations: 0.7969 kB / 428.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.01635, allocations: 0.5213 MB / 428.9 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.01639, allocations: 32.66 kB / 428.9 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01641, allocations: 8.344 kB / 428.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.01663, allocations: 62.53 kB / 429 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.0167, allocations: 20.22 kB / 429 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.01671, allocations: 8.891 kB / 429 MB, free: 4.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004818/0.01719, allocations: 361.8 kB / 429.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01719, allocations: 0 / 429.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01743, allocations: 56.95 kB / 429.4 MB, free: 3.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007845/0.01822, allocations: 1.059 MB / 430.5 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.01873, allocations: 352 kB / 430.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01873, allocations: 0 / 430.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.01894, allocations: 236.4 kB / 431.1 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01924, allocations: 52.8 kB / 431.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.02294, allocations: 3.396 MB / 434.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.02309, allocations: 190.7 kB / 434.7 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.0232, allocations: 53.59 kB / 434.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.0233, allocations: 92.48 kB / 434.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02331, allocations: 0 / 434.9 MB, free: 0.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.04444, allocations: 7.145 MB / 442 MB, free: 13.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.267, allocations: 8.5 kB / 442 MB, free: 13.11 MB / 346.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Coursework_Typical_control_structures_FF_compensation_with_delay.fmu > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.248869343660772] Failed to read output from testmodel.py, exit status != 0: 7.35630018543452 7.366717932 7.359430262 Calling exit ...