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.002004/0.002004, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002587/0.002587, allocations: 204 kB / 20.11 MB, free: 2.977 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1066/0.1066, allocations: 24.03 MB / 333.6 MB, free: 1.574 MB / 254.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.002849/0.002849, allocations: 61.66 kB / 468.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1418, allocations: 59.54 MB / 0.5156 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003247/0.145, allocations: 1.81 MB / 0.5173 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1462, allocations: 0.6312 MB / 0.5179 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1463, allocations: 7.938 kB / 0.518 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.1466, allocations: 31.72 kB / 0.518 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1468, allocations: 59.69 kB / 0.518 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1471, allocations: 95.8 kB / 0.5181 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1475, allocations: 267.5 kB / 0.5184 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1476, allocations: 37.61 kB / 0.5184 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1477, allocations: 103.7 kB / 0.5185 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.148, allocations: 135.5 kB / 0.5187 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.148, allocations: 16 kB / 0.5187 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/0.1481, allocations: 16 kB / 0.5187 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.1482, allocations: 63.81 kB / 0.5187 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.1482, allocations: 79.41 kB / 0.5188 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1485, allocations: 187.2 kB / 0.519 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1485, allocations: 4 kB / 0.519 GB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1485, allocations: 0 / 0.519 GB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1485, allocations: 0 / 0.519 GB, free: 8.789 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.001327/0.1498, allocations: 0.5727 MB / 0.5196 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1499, allocations: 12.62 kB / 0.5196 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.1499, allocations: 46.73 kB / 0.5196 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.15, allocations: 24.73 kB / 0.5196 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.1507, allocations: 323.4 kB / 0.5199 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1507, allocations: 12.61 kB / 0.52 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1507, allocations: 12.38 kB / 0.52 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.151, allocations: 143.6 kB / 0.5201 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.151, allocations: 0 / 0.5201 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1511, allocations: 8 kB / 0.5201 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1511, allocations: 0 / 0.5201 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1514, allocations: 136.6 kB / 0.5202 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000944/0.1523, allocations: 0.5403 MB / 0.5208 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.1528, allocations: 198.3 kB / 0.521 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1529, allocations: 84.81 kB / 0.521 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.153, allocations: 4 kB / 0.521 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.153, allocations: 34.83 kB / 0.5211 GB, free: 6.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.153, allocations: 0 / 0.5211 GB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005617/0.1536, allocations: 259.7 kB / 0.5213 GB, free: 6.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1536, allocations: 59.39 kB / 0.5214 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.1542, allocations: 264.2 kB / 0.5216 GB, free: 5.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1543, allocations: 25.7 kB / 0.5217 GB, free: 5.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1544, allocations: 136 kB / 0.5218 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.1544, allocations: 63.47 kB / 0.5219 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.1545, allocations: 33.7 kB / 0.5219 GB, free: 5.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1547, allocations: 338.8 kB / 0.5222 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1548, allocations: 59.97 kB / 0.5223 GB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.155, allocations: 63.95 kB / 0.5223 GB, free: 5.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.1568, allocations: 470.3 kB / 0.5228 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1568, allocations: 4 kB / 0.5228 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004493/0.1573, allocations: 238.6 kB / 0.523 GB, free: 4.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1573, allocations: 8 kB / 0.523 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1573, allocations: 0 / 0.523 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1573, allocations: 0 / 0.523 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.1575, allocations: 39.97 kB / 0.5231 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1575, allocations: 4 kB / 0.5231 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1578, allocations: 27.92 kB / 0.5231 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1578, allocations: 15.98 kB / 0.5231 GB, free: 4.355 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.0002433/0.158, allocations: 155.6 kB / 0.5232 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1581, allocations: 19.86 kB / 0.5233 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.1586, allocations: 241.2 kB / 0.5235 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1586, allocations: 0 / 0.5235 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1586, allocations: 3.938 kB / 0.5235 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1586, allocations: 7.984 kB / 0.5235 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.159, allocations: 289.4 kB / 0.5238 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.159, allocations: 0 / 0.5238 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1592, allocations: 31.97 kB / 0.5238 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1593, allocations: 8 kB / 0.5238 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1593, allocations: 4 kB / 0.5238 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1593, allocations: 3.938 kB / 0.5238 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1593, allocations: 0 / 0.5238 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.1599, allocations: 411 kB / 0.5242 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.16, allocations: 101 kB / 0.5243 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.16, allocations: 4 kB / 0.5243 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1603, allocations: 31.95 kB / 0.5243 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.1604, allocations: 7.984 kB / 0.5244 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1604, allocations: 8 kB / 0.5244 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004658/0.1609, allocations: 211.3 kB / 0.5246 GB, free: 2.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1609, allocations: 4 kB / 0.5246 GB, free: 2.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1611, allocations: 39.89 kB / 0.5246 GB, free: 2.711 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.0009433/0.1621, allocations: 0.9368 MB / 0.5255 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1625, allocations: 169.8 kB / 0.5257 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1625, allocations: 4 kB / 0.5257 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.1626, allocations: 83.89 kB / 0.5258 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.163, allocations: 41.83 kB / 0.5258 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.1672, allocations: 2.486 MB / 0.5282 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.1676, allocations: 0.7514 MB / 0.529 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.1678, allocations: 45.77 kB / 0.529 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1679, allocations: 63.42 kB / 0.5291 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1679, allocations: 0 / 0.5291 GB, free: 14.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1965, allocations: 4.209 MB / 0.5332 GB, free: 9.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.37, allocations: 5.5 kB / 0.5332 GB, free: 9.879 MB / 398.1 MB " [Timeout remaining time 652] (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: 11.29238472506404] Failed to read output from testmodel.py, exit status != 0: 8.439992936793715 8.45358335 8.30221623 Calling exit ...