Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.002119/0.002119, allocations: 110.1 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.00185/0.00185, 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.643/1.643, 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.1099/0.1099, allocations: 24.03 MB / 333.6 MB, free: 1.586 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [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.002184/0.002184, allocations: 65.31 kB / 469.6 MB, free: 30.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.101, allocations: 59.55 MB / 0.5167 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002575/0.1036, allocations: 1.015 MB / 0.5177 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1056, allocations: 1.299 MB / 0.519 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1057, allocations: 7.938 kB / 0.519 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1061, allocations: 51.69 kB / 0.519 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1063, allocations: 71.67 kB / 0.5191 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1066, allocations: 95.78 kB / 0.5192 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.107, allocations: 291.5 kB / 0.5195 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1071, allocations: 17.55 kB / 0.5195 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1073, allocations: 119.7 kB / 0.5196 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1075, allocations: 167.4 kB / 0.5198 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.1076, allocations: 16 kB / 0.5198 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.1076, allocations: 20 kB / 0.5198 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1078, allocations: 95.77 kB / 0.5199 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1079, allocations: 91.33 kB / 0.52 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1082, allocations: 215.1 kB / 0.5202 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1082, allocations: 0 / 0.5202 GB, free: 7.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1082, allocations: 0 / 0.5202 GB, free: 7.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1082, allocations: 0 / 0.5202 GB, free: 7.562 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001782/0.11, allocations: 0.6543 MB / 0.5208 GB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.11, allocations: 8.625 kB / 0.5208 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.1101, allocations: 28.78 kB / 0.5209 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008953/0.111, allocations: 358.9 kB / 0.5212 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.111, allocations: 4.375 kB / 0.5212 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.111, allocations: 16.33 kB / 0.5212 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1113, allocations: 160.3 kB / 0.5214 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1114, allocations: 4 kB / 0.5214 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1114, allocations: 4 kB / 0.5214 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1114, allocations: 0 / 0.5214 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003464/0.1117, allocations: 163.9 kB / 0.5215 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1128, allocations: 0.59 MB / 0.5221 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.1132, allocations: 198.5 kB / 0.5223 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1134, allocations: 113.1 kB / 0.5224 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1134, allocations: 3.953 kB / 0.5224 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1134, allocations: 34.56 kB / 0.5224 GB, free: 5.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.1134, allocations: 0 / 0.5224 GB, free: 5.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001514/0.115, allocations: 0.5471 MB / 0.523 GB, free: 4.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.115, allocations: 59.39 kB / 0.523 GB, free: 4.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.1158, allocations: 336.9 kB / 0.5234 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1159, allocations: 29.7 kB / 0.5234 GB, free: 4.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.116, allocations: 124.1 kB / 0.5235 GB, free: 3.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.116, allocations: 79.36 kB / 0.5236 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.1161, allocations: 41.7 kB / 0.5236 GB, free: 3.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1163, allocations: 338.8 kB / 0.5239 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.1165, allocations: 79.95 kB / 0.524 GB, free: 3.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1166, allocations: 103.7 kB / 0.5241 GB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.1187, allocations: 0.6151 MB / 0.5247 GB, free: 2.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1187, allocations: 3.938 kB / 0.5247 GB, free: 2.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007593/0.1195, allocations: 370.2 kB / 0.5251 GB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1195, allocations: 8 kB / 0.5251 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1195, allocations: 0 / 0.5251 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.1198, allocations: 68.78 kB / 0.5252 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.12, allocations: 31.98 kB / 0.5252 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.1218, allocations: 1.641 MB / 0.5268 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.1222, allocations: 59.88 kB / 0.5268 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.1222, allocations: 12 kB / 0.5269 GB, free: 340 kB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: C.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.1224, allocations: 164.1 kB / 0.527 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.1225, allocations: 23.86 kB / 0.527 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.1226, allocations: 30.19 kB / 0.5271 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1226, allocations: 7.938 kB / 0.5271 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1226, allocations: 3.984 kB / 0.5271 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1226, allocations: 0 / 0.5271 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.123, allocations: 321.4 kB / 0.5274 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.123, allocations: 0 / 0.5274 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1232, allocations: 27.92 kB / 0.5274 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002519/0.1235, allocations: 72.78 kB / 0.5275 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.1235, allocations: 8 kB / 0.5275 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.1252, allocations: 1.649 MB / 0.5291 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1252, allocations: 0 / 0.5291 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.1261, allocations: 0.528 MB / 0.5296 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.1262, allocations: 100.9 kB / 0.5297 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1263, allocations: 12.05 kB / 0.5297 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.1266, allocations: 43.94 kB / 0.5298 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.1267, allocations: 19.91 kB / 0.5298 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1267, allocations: 4 kB / 0.5298 GB, free: 13.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007095/0.1274, allocations: 268.3 kB / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1274, allocations: 4 kB / 0.53 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1278, allocations: 44 kB / 0.5301 GB, free: 12.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pol.x_scaled[1],Pol.x_scaled[2],Pcl.x_scaled[1],Pcl.x_scaled[2],C.x_scaled[1],C.x_scaled[2]) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.1279, allocations: 107.2 kB / 0.5302 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007243/0.1286, allocations: 359.4 kB / 0.5305 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1286, allocations: 0 / 0.5305 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.129, allocations: 246.5 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1294, allocations: 43.95 kB / 0.5308 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1304, allocations: 0.5368 MB / 0.5313 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1308, allocations: 0.7599 MB / 0.5321 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.131, allocations: 57.48 kB / 0.5321 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.1311, allocations: 19.44 kB / 0.5321 GB, free: 10.59 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1311, allocations: 0 / 0.5321 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Templates: time 0.007444/0.1385, allocations: 3.296 MB / 0.5354 GB, free: 7.301 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.853567995131016] Failed to read output from testmodel.py, exit status != 0: 0.14631496742367744 0.16039167699999995 0.049297294000000005 Calling exit ...