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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 106.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.09624/0.09624, allocations: 22.7 MB / 325.4 MB, free: 3.531 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.88 kB / 457.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 58.02 MB / 0.5031 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003251/0.1158, allocations: 1.795 MB / 0.5049 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1169, allocations: 0.5923 MB / 0.5054 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.117, allocations: 3.938 kB / 0.5054 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1173, allocations: 35.72 kB / 0.5055 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1175, allocations: 63.67 kB / 0.5055 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1177, allocations: 91.8 kB / 0.5056 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1181, allocations: 267.5 kB / 0.5059 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1182, allocations: 37.61 kB / 0.5059 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1183, allocations: 107.6 kB / 0.506 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1186, allocations: 131.5 kB / 0.5061 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.1186, allocations: 12 kB / 0.5061 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.1186, allocations: 16 kB / 0.5062 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1187, allocations: 71.73 kB / 0.5062 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.1188, allocations: 79.47 kB / 0.5063 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1191, allocations: 179.2 kB / 0.5065 GB, free: 4.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1191, allocations: 4 kB / 0.5065 GB, free: 4.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1191, allocations: 3.938 kB / 0.5065 GB, free: 4.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1191, allocations: 4 kB / 0.5065 GB, free: 4.141 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.001374/0.1205, allocations: 0.5766 MB / 0.5071 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1205, allocations: 8.031 kB / 0.5071 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.1206, allocations: 46.75 kB / 0.5071 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1206, allocations: 20.8 kB / 0.5071 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.1213, allocations: 319.6 kB / 0.5074 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1213, allocations: 8.609 kB / 0.5074 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1213, allocations: 12.38 kB / 0.5075 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.1216, allocations: 154.9 kB / 0.5076 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1216, allocations: 0 / 0.5076 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1217, allocations: 4 kB / 0.5076 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1217, allocations: 7.938 kB / 0.5076 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.1219, allocations: 140.5 kB / 0.5077 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.1229, allocations: 0.5286 MB / 0.5083 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.1233, allocations: 190.5 kB / 0.5084 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1235, allocations: 89.09 kB / 0.5085 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1235, allocations: 15.86 kB / 0.5085 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1235, allocations: 30.56 kB / 0.5086 GB, free: 1.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1235, allocations: 0 / 0.5086 GB, free: 1.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005348/0.1241, allocations: 264.3 kB / 0.5088 GB, free: 1.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1241, allocations: 55.41 kB / 0.5089 GB, free: 1.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005015/0.1246, allocations: 270.9 kB / 0.5091 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1246, allocations: 25.7 kB / 0.5092 GB, free: 1.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.1247, allocations: 128 kB / 0.5093 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.1248, allocations: 67.42 kB / 0.5093 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.1248, allocations: 33.7 kB / 0.5094 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.125, allocations: 330.8 kB / 0.5097 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1251, allocations: 63.95 kB / 0.5098 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1252, allocations: 66.59 kB / 0.5098 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.127, allocations: 469.4 kB / 0.5103 GB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.127, allocations: 4 kB / 0.5103 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.2055/0.3324, allocations: 227.6 kB / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.3325, allocations: 5.75 kB / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3325, allocations: 0 / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3325, allocations: 1.688 kB / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3328, allocations: 38.06 kB / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3328, allocations: 1.281 kB / 0.5105 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.333, allocations: 41.06 kB / 0.5106 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.333, allocations: 8.859 kB / 0.5106 GB, free: 15.37 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.000204/0.3332, allocations: 156 kB / 0.5107 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.3333, allocations: 17.47 kB / 0.5107 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.3338, allocations: 237 kB / 0.511 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3338, allocations: 4.109 kB / 0.511 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3338, allocations: 0 / 0.511 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3338, allocations: 7.719 kB / 0.511 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3341, allocations: 292.1 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3341, allocations: 0.6562 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.3343, allocations: 40.83 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3343, allocations: 1.406 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3344, allocations: 7.391 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3344, allocations: 1.125 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3344, allocations: 1.5 kB / 0.5113 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.3349, allocations: 415 kB / 0.5117 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.3349, allocations: 94.38 kB / 0.5118 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.335, allocations: 7.188 kB / 0.5118 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3352, allocations: 31.28 kB / 0.5118 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3353, allocations: 14.14 kB / 0.5118 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3353, allocations: 11.06 kB / 0.5119 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.3357, allocations: 203.3 kB / 0.5121 GB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 0.5121 GB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3359, allocations: 46.14 kB / 0.5121 GB, free: 14.7 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.0006555/0.3366, allocations: 0.9306 MB / 0.513 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.3369, allocations: 172.5 kB / 0.5132 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3369, allocations: 3.531 kB / 0.5132 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.337, allocations: 86.66 kB / 0.5133 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3374, allocations: 39.47 kB / 0.5133 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.3404, allocations: 2.491 MB / 0.5157 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.3406, allocations: 0.7533 MB / 0.5165 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3408, allocations: 45.34 kB / 0.5165 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3409, allocations: 72.33 kB / 0.5166 GB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3409, allocations: 0 / 0.5166 GB, free: 12.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.368, allocations: 4.207 MB / 0.5207 GB, free: 11.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.016, allocations: 13.11 kB / 0.5207 GB, free: 11.54 MB / 382.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 & /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: 10.523092225193977] Failed to read output from testmodel.py, exit status != 0: 8.08206792222336 8.092819889 7.971453923 Calling exit ...