Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001697/0.001697, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00204/0.00204, allocations: 211.2 kB / 23.01 MB, free: 4.992 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1058/0.1058, allocations: 24.04 MB / 337.2 MB, free: 11.43 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_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",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.002358/0.002358, allocations: 67.89 kB / 473.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3439, allocations: 59.57 MB / 0.5209 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002679/0.3465, allocations: 1.757 MB / 0.5226 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.3475, allocations: 0.5858 MB / 0.5232 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.3476, allocations: 5.406 kB / 0.5232 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3478, allocations: 48.59 kB / 0.5232 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.348, allocations: 58.47 kB / 0.5233 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3483, allocations: 103.9 kB / 0.5234 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.3486, allocations: 301 kB / 0.5237 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3488, allocations: 38.31 kB / 0.5237 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.3489, allocations: 111 kB / 0.5238 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.3491, allocations: 128 kB / 0.5239 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.3491, allocations: 14.66 kB / 0.524 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.3492, allocations: 14.41 kB / 0.524 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.3493, allocations: 69.08 kB / 0.524 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.3493, allocations: 68.55 kB / 0.5241 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.3496, allocations: 182.8 kB / 0.5243 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3496, allocations: 0 / 0.5243 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3496, allocations: 3.938 kB / 0.5243 GB, free: 8.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3496, allocations: 1.344 kB / 0.5243 GB, free: 8.004 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001136/0.3507, allocations: 0.5012 MB / 0.5248 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3508, allocations: 9.984 kB / 0.5248 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.3508, allocations: 51.48 kB / 0.5248 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.3508, allocations: 23.3 kB / 0.5249 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.3514, allocations: 255.7 kB / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3514, allocations: 8.891 kB / 0.5251 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.3515, allocations: 16.34 kB / 0.5251 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3517, allocations: 150.8 kB / 0.5253 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3517, allocations: 4.75 kB / 0.5253 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3518, allocations: 5.562 kB / 0.5253 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3518, allocations: 2.812 kB / 0.5253 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.352, allocations: 130.4 kB / 0.5254 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.3528, allocations: 490.9 kB / 0.5259 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.3532, allocations: 195.2 kB / 0.5261 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3533, allocations: 81.5 kB / 0.5261 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.3534, allocations: 2.922 kB / 0.5261 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3534, allocations: 37.09 kB / 0.5262 GB, free: 6.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3534, allocations: 0 / 0.5262 GB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000506/0.3539, allocations: 259.7 kB / 0.5264 GB, free: 6.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.3539, allocations: 53.91 kB / 0.5265 GB, free: 6.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.3544, allocations: 264 kB / 0.5267 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3544, allocations: 30.7 kB / 0.5268 GB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3545, allocations: 136.4 kB / 0.5269 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.3545, allocations: 62.98 kB / 0.5269 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.3546, allocations: 34.92 kB / 0.527 GB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.3546, allocations: 330.8 kB / 0.5273 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3548, allocations: 66.89 kB / 0.5274 GB, free: 5.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3549, allocations: 63.89 kB / 0.5274 GB, free: 5.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3565, allocations: 480.5 kB / 0.5279 GB, free: 5.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3565, allocations: 0 / 0.5279 GB, free: 5.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003507/0.3569, allocations: 233 kB / 0.5281 GB, free: 5.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3569, allocations: 10.77 kB / 0.5281 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3569, allocations: 1.125 kB / 0.5281 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3569, allocations: 5.125 kB / 0.5281 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3571, allocations: 35.38 kB / 0.5281 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3571, allocations: 0 / 0.5281 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3573, allocations: 38.95 kB / 0.5282 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3574, allocations: 4.734 kB / 0.5282 GB, free: 5.656 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001562/0.3575, allocations: 160.6 kB / 0.5283 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3576, allocations: 20.05 kB / 0.5284 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.358, allocations: 237.5 kB / 0.5286 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.358, allocations: 5.938 kB / 0.5286 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.358, allocations: 5.469 kB / 0.5286 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.358, allocations: 0.6094 kB / 0.5286 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.3583, allocations: 246.2 kB / 0.5288 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3583, allocations: 0 / 0.5288 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3585, allocations: 31.36 kB / 0.5289 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3585, allocations: 3.672 kB / 0.5289 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3585, allocations: 6.594 kB / 0.5289 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3585, allocations: 1.188 kB / 0.5289 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3585, allocations: 0 / 0.5289 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.359, allocations: 409.5 kB / 0.5293 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.359, allocations: 27.27 kB / 0.5293 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3591, allocations: 1.094 kB / 0.5293 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3593, allocations: 30.5 kB / 0.5293 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3594, allocations: 10.28 kB / 0.5293 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3594, allocations: 9.875 kB / 0.5293 GB, free: 4.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004077/0.3598, allocations: 214 kB / 0.5295 GB, free: 4.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3598, allocations: 0 / 0.5295 GB, free: 4.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3601, allocations: 40.52 kB / 0.5296 GB, free: 4.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * 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.0006313/0.3607, allocations: 0.9465 MB / 0.5305 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3611, allocations: 166.8 kB / 0.5307 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3611, allocations: 1.062 kB / 0.5307 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3612, allocations: 85.02 kB / 0.5307 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.3616, allocations: 44.23 kB / 0.5308 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.365, allocations: 2.489 MB / 0.5332 GB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3651, allocations: 143.2 kB / 0.5334 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3653, allocations: 39.59 kB / 0.5334 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3654, allocations: 68.27 kB / 0.5335 GB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3654, allocations: 0 / 0.5335 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3975, allocations: 4.789 MB / 0.5381 GB, free: 1.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 7.969 kB / 0.5381 GB, free: 1.152 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.DaisyChain_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.620083310175687] Failed to read output from testmodel.py, exit status != 0: 11.88937517395243 11.906114491 11.553218397 Calling exit ...