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.001429/0.001429, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001591/0.001591, allocations: 215 kB / 20.13 MB, free: 2.949 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1032/0.1032, allocations: 22.93 MB / 332.5 MB, free: 2.656 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",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.002052/0.002052, allocations: 67.22 kB / 466.7 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1284, allocations: 59.27 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.004242/0.1326, allocations: 1.806 MB / 0.5154 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1343, allocations: 0.6351 MB / 0.5161 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1344, allocations: 0 / 0.5161 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.1348, allocations: 39.7 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.1351, allocations: 63.62 kB / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1354, allocations: 91.86 kB / 0.5162 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.1358, allocations: 267.5 kB / 0.5165 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1359, allocations: 33.61 kB / 0.5165 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1361, allocations: 107.7 kB / 0.5166 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1363, allocations: 131.5 kB / 0.5168 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.1364, allocations: 12 kB / 0.5168 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.1364, allocations: 16 kB / 0.5168 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1365, allocations: 71.78 kB / 0.5169 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1366, allocations: 83.47 kB / 0.5169 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1369, allocations: 187.1 kB / 0.5171 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1369, allocations: 0 / 0.5171 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1369, allocations: 0 / 0.5171 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1369, allocations: 0 / 0.5171 GB, free: 10.49 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.001411/0.1383, allocations: 0.5728 MB / 0.5177 GB, free: 9.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.1383, allocations: 8.625 kB / 0.5177 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.96e-05/0.1384, allocations: 4.422 kB / 0.5177 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.1384, allocations: 46.73 kB / 0.5177 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1385, allocations: 28.73 kB / 0.5178 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.1392, allocations: 323.4 kB / 0.5181 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1392, allocations: 4.609 kB / 0.5181 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.1393, allocations: 12.38 kB / 0.5181 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.1396, allocations: 151.4 kB / 0.5182 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1396, allocations: 0 / 0.5182 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.1397, allocations: 15.92 kB / 0.5182 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1397, allocations: 4 kB / 0.5182 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.14, allocations: 132.6 kB / 0.5184 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.141, allocations: 0.54 MB / 0.5189 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.1415, allocations: 186.5 kB / 0.5191 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1416, allocations: 80.81 kB / 0.5192 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1417, allocations: 0 / 0.5192 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.1417, allocations: 38.78 kB / 0.5192 GB, free: 8.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.1417, allocations: 4 kB / 0.5192 GB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005951/0.1423, allocations: 259.6 kB / 0.5194 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1423, allocations: 59.34 kB / 0.5195 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.1429, allocations: 264.2 kB / 0.5197 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1429, allocations: 25.7 kB / 0.5198 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.143, allocations: 136 kB / 0.5199 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.1431, allocations: 63.48 kB / 0.52 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.1432, allocations: 37.7 kB / 0.52 GB, free: 7.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1433, allocations: 330.8 kB / 0.5203 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1435, allocations: 59.97 kB / 0.5204 GB, free: 6.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1436, allocations: 59.95 kB / 0.5204 GB, free: 6.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.1454, allocations: 478.1 kB / 0.5209 GB, free: 6.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.1455, allocations: 7.984 kB / 0.5209 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004338/0.1459, allocations: 238.7 kB / 0.5211 GB, free: 6.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1459, allocations: 6.031 kB / 0.5211 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1459, allocations: 0 / 0.5211 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1459, allocations: 0 / 0.5211 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1462, allocations: 47.91 kB / 0.5212 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1462, allocations: 0 / 0.5212 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.1464, allocations: 31.92 kB / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1464, allocations: 11.98 kB / 0.5212 GB, free: 6.055 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.0002163/0.1467, allocations: 150.9 kB / 0.5214 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.1467, allocations: 23.86 kB / 0.5214 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.1472, allocations: 239.3 kB / 0.5216 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1472, allocations: 4 kB / 0.5216 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1472, allocations: 0 / 0.5216 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1472, allocations: 7.984 kB / 0.5216 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.1476, allocations: 293.4 kB / 0.5219 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1476, allocations: 0 / 0.5219 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1479, allocations: 39.91 kB / 0.5219 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1479, allocations: 0 / 0.5219 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1479, allocations: 4 kB / 0.5219 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1479, allocations: 4 kB / 0.5219 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1479, allocations: 0 / 0.5219 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.1485, allocations: 408.9 kB / 0.5223 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1486, allocations: 109 kB / 0.5224 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.1486, allocations: 0 / 0.5224 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.1489, allocations: 31.95 kB / 0.5225 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.149, allocations: 11.98 kB / 0.5225 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.149, allocations: 4 kB / 0.5225 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004667/0.1495, allocations: 215.3 kB / 0.5227 GB, free: 4.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1495, allocations: 3.938 kB / 0.5227 GB, free: 4.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1498, allocations: 39.89 kB / 0.5227 GB, free: 4.406 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.0009627/0.1507, allocations: 0.9425 MB / 0.5237 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.1511, allocations: 163.9 kB / 0.5238 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1511, allocations: 0 / 0.5238 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1513, allocations: 90.08 kB / 0.5239 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1516, allocations: 38.11 kB / 0.5239 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.1559, allocations: 2.489 MB / 0.5264 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.1563, allocations: 0.7514 MB / 0.5271 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1564, allocations: 45.52 kB / 0.5271 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1566, allocations: 59.42 kB / 0.5272 GB, free: 15.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1566, allocations: 0 / 0.5272 GB, free: 15.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.1785, allocations: 4.239 MB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.709, allocations: 5.828 kB / 0.5313 GB, free: 11.56 MB / 398.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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.648282287002075] Failed to read output from testmodel.py, exit status != 0: 8.836893566010986 8.857268558 8.716338177999999 Calling exit ...