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.001345/0.001345, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001565/0.001565, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1056/0.1056, allocations: 24.03 MB / 333.6 MB, free: 1.594 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: translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [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.002036/0.002036, allocations: 71.45 kB / 468.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09735, allocations: 59.55 MB / 0.516 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003334/0.1007, allocations: 1.802 MB / 0.5178 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1019, allocations: 0.6311 MB / 0.5184 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.102, allocations: 0 / 0.5184 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1023, allocations: 39.7 kB / 0.5185 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1025, allocations: 67.62 kB / 0.5185 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1027, allocations: 83.88 kB / 0.5186 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.103, allocations: 271.5 kB / 0.5189 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1032, allocations: 37.61 kB / 0.5189 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1033, allocations: 103.7 kB / 0.519 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.1035, allocations: 127.5 kB / 0.5191 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.1036, allocations: 12 kB / 0.5191 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.1036, allocations: 20 kB / 0.5191 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1037, allocations: 79.66 kB / 0.5192 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.1038, allocations: 75.53 kB / 0.5193 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.104, allocations: 183.2 kB / 0.5195 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.104, allocations: 0 / 0.5195 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.104, allocations: 0 / 0.5195 GB, free: 8.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.104, allocations: 4 kB / 0.5195 GB, free: 8.301 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.001341/0.1054, allocations: 0.5727 MB / 0.52 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1054, allocations: 8.625 kB / 0.52 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1055, allocations: 28.73 kB / 0.5201 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.1061, allocations: 323.4 kB / 0.5204 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1062, allocations: 8.609 kB / 0.5204 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.1062, allocations: 12.38 kB / 0.5204 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.1065, allocations: 147.8 kB / 0.5205 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1065, allocations: 3.984 kB / 0.5205 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1065, allocations: 8 kB / 0.5206 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1065, allocations: 4 kB / 0.5206 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1068, allocations: 136.6 kB / 0.5207 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009464/0.1078, allocations: 0.5363 MB / 0.5212 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.1083, allocations: 190.4 kB / 0.5214 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1084, allocations: 84.81 kB / 0.5215 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1085, allocations: 3.984 kB / 0.5215 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.842e-05/0.1086, allocations: 34.84 kB / 0.5215 GB, free: 6.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1086, allocations: 0 / 0.5215 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006051/0.1092, allocations: 269.3 kB / 0.5218 GB, free: 5.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1092, allocations: 51.41 kB / 0.5218 GB, free: 5.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.1098, allocations: 264.2 kB / 0.5221 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1098, allocations: 33.64 kB / 0.5221 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1099, allocations: 128 kB / 0.5222 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/0.11, allocations: 63.48 kB / 0.5223 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.1101, allocations: 33.7 kB / 0.5223 GB, free: 5.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1102, allocations: 330.8 kB / 0.5226 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1104, allocations: 67.95 kB / 0.5227 GB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1105, allocations: 63.97 kB / 0.5228 GB, free: 4.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.1123, allocations: 476.3 kB / 0.5232 GB, free: 4.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1123, allocations: 3.938 kB / 0.5232 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004603/0.1128, allocations: 234.7 kB / 0.5234 GB, free: 4.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1128, allocations: 4 kB / 0.5234 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1128, allocations: 0 / 0.5234 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1128, allocations: 4 kB / 0.5234 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.113, allocations: 39.97 kB / 0.5235 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1131, allocations: 3.938 kB / 0.5235 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.1133, allocations: 35.91 kB / 0.5235 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1133, allocations: 8 kB / 0.5235 GB, free: 3.922 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.0001974/0.1135, allocations: 150.5 kB / 0.5237 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1136, allocations: 23.86 kB / 0.5237 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.1141, allocations: 235.3 kB / 0.5239 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1141, allocations: 4 kB / 0.5239 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1141, allocations: 3.984 kB / 0.5239 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1141, allocations: 4 kB / 0.5239 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1145, allocations: 289.4 kB / 0.5242 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1145, allocations: 0 / 0.5242 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.1147, allocations: 39.97 kB / 0.5242 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1147, allocations: 0 / 0.5242 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.1147, allocations: 4 kB / 0.5242 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1147, allocations: 0 / 0.5242 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1148, allocations: 0 / 0.5242 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.1154, allocations: 420.8 kB / 0.5246 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.1155, allocations: 96.95 kB / 0.5247 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1155, allocations: 8.062 kB / 0.5247 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.1158, allocations: 23.95 kB / 0.5248 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.1158, allocations: 15.98 kB / 0.5248 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1159, allocations: 4.125 kB / 0.5248 GB, free: 2.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005283/0.1164, allocations: 211.3 kB / 0.525 GB, free: 2.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1164, allocations: 0 / 0.525 GB, free: 2.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.1167, allocations: 43.89 kB / 0.525 GB, free: 2.285 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.0001131/0.1168, allocations: 107.1 kB / 0.5251 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1172, allocations: 159.9 kB / 0.5253 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1172, allocations: 0 / 0.5253 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.1173, allocations: 91.89 kB / 0.5254 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1177, allocations: 51.92 kB / 0.5254 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.1187, allocations: 489.4 kB / 0.5259 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1191, allocations: 0.7631 MB / 0.5266 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1193, allocations: 41.52 kB / 0.5267 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.1193, allocations: 19.44 kB / 0.5267 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1193, allocations: 0 / 0.5267 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of Templates: time 0.005548/0.1249, allocations: 1.956 MB / 0.5286 GB, free: 14.57 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (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 & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.636335212737322] Failed to read output from testmodel.py, exit status != 0: 0.13294390961527824 0.14694659899999996 0.039941055 Calling exit ...