Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.001292/0.001292, allocations: 109.2 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.001356/0.001356, allocations: 205.1 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1043/0.1043, allocations: 24.03 MB / 333.6 MB, free: 1.535 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.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") translateModel(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") [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.003365/0.003365, allocations: 63.75 kB / 468.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1261, allocations: 59.55 MB / 0.516 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004322/0.1304, allocations: 2.391 MB / 0.5184 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1323, allocations: 0.8256 MB / 0.5192 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.1327, allocations: 15.94 kB / 0.5192 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1329, allocations: 55.39 kB / 0.5192 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1331, allocations: 39.55 kB / 0.5193 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.1337, allocations: 191.1 kB / 0.5195 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1342, allocations: 319.7 kB / 0.5198 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.1345, allocations: 100.2 kB / 0.5199 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.1347, allocations: 111.5 kB / 0.52 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1349, allocations: 119.2 kB / 0.5201 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.1349, allocations: 24 kB / 0.5201 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.764e-05/0.135, allocations: 28 kB / 0.5201 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.1351, allocations: 59.77 kB / 0.5202 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1352, allocations: 135.1 kB / 0.5203 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.1356, allocations: 314.5 kB / 0.5206 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1356, allocations: 0 / 0.5206 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1356, allocations: 0 / 0.5206 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1356, allocations: 4 kB / 0.5206 GB, free: 7.195 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009493/0.1366, allocations: 0.5997 MB / 0.5212 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1366, allocations: 12.61 kB / 0.5212 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1367, allocations: 40.64 kB / 0.5213 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.1372, allocations: 319.6 kB / 0.5216 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.1372, allocations: 16.81 kB / 0.5216 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.1373, allocations: 24.38 kB / 0.5216 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.1377, allocations: 270.2 kB / 0.5219 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1378, allocations: 0 / 0.5219 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1378, allocations: 8 kB / 0.5219 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1378, allocations: 4 kB / 0.5219 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.1381, allocations: 161.6 kB / 0.522 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.1396, allocations: 1.045 MB / 0.5231 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.14, allocations: 186.8 kB / 0.5232 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1402, allocations: 76.81 kB / 0.5233 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1402, allocations: 0 / 0.5233 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1402, allocations: 38.56 kB / 0.5233 GB, free: 4.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.1402, allocations: 0 / 0.5233 GB, free: 4.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005987/0.1408, allocations: 255.1 kB / 0.5236 GB, free: 3.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.1409, allocations: 106.8 kB / 0.5237 GB, free: 3.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1412, allocations: 276.5 kB / 0.5239 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1412, allocations: 33.64 kB / 0.524 GB, free: 3.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1414, allocations: 184.2 kB / 0.5242 GB, free: 3.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.1414, allocations: 63.47 kB / 0.5242 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.1415, allocations: 49.66 kB / 0.5243 GB, free: 3.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1417, allocations: 346.8 kB / 0.5246 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1418, allocations: 64.83 kB / 0.5247 GB, free: 2.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.142, allocations: 129 kB / 0.5248 GB, free: 2.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.143, allocations: 328.7 kB / 0.5251 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.143, allocations: 0 / 0.5251 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004604/0.1434, allocations: 242.8 kB / 0.5253 GB, free: 2.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1434, allocations: 16.14 kB / 0.5253 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1434, allocations: 3.938 kB / 0.5253 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1435, allocations: 4 kB / 0.5253 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1437, allocations: 39.98 kB / 0.5254 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1437, allocations: 4 kB / 0.5254 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.1438, allocations: 27.77 kB / 0.5254 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.1438, allocations: 12 kB / 0.5254 GB, free: 1.969 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002675/0.1441, allocations: 164 kB / 0.5256 GB, free: 1.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001557/0.1443, allocations: 110.8 kB / 0.5257 GB, free: 1.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007262/0.145, allocations: 295.4 kB / 0.526 GB, free: 1.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.145, allocations: 0 / 0.526 GB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003776/0.1454, allocations: 231.9 kB / 0.5262 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.1454, allocations: 7.938 kB / 0.5262 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.1454, allocations: 0 / 0.5262 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-06/0.1454, allocations: 4 kB / 0.5262 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1456, allocations: 39.92 kB / 0.5262 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.1456, allocations: 0 / 0.5262 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1457, allocations: 19.89 kB / 0.5263 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1457, allocations: 8 kB / 0.5263 GB, free: 1.059 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real T.y:VARIABLE(flow=false start = T.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (PIp.I.local_reset,S.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001544/0.1459, allocations: 213.4 kB / 0.5265 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.1459, allocations: 31.81 kB / 0.5265 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.146, allocations: 30.31 kB / 0.5265 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.146, allocations: 4 kB / 0.5265 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.146, allocations: 0 / 0.5265 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.146, allocations: 0 / 0.5265 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.1465, allocations: 345.3 kB / 0.5269 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1465, allocations: 4 kB / 0.5269 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1467, allocations: 35.91 kB / 0.5269 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1467, allocations: 4 kB / 0.5269 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1467, allocations: 4 kB / 0.5269 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1467, allocations: 0 / 0.5269 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1467, allocations: 0 / 0.5269 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006452/0.1474, allocations: 385.3 kB / 0.5273 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.1475, allocations: 120.9 kB / 0.5274 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.1475, allocations: 8 kB / 0.5274 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1477, allocations: 7.938 kB / 0.5274 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1477, allocations: 11.98 kB / 0.5274 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1478, allocations: 4 kB / 0.5274 GB, free: 15.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.148, allocations: 203 kB / 0.5276 GB, free: 15.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.148, allocations: 0 / 0.5276 GB, free: 15.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1484, allocations: 83.78 kB / 0.5277 GB, free: 15.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (F.y,S.y,T.y,PIp.I.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 (17): * Single equations (assignments): 17 * 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.0001235/0.1485, allocations: 103.3 kB / 0.5278 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005714/0.1491, allocations: 243.6 kB / 0.528 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1491, allocations: 0.625 kB / 0.528 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1492, allocations: 79.91 kB / 0.5281 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.1497, allocations: 71.84 kB / 0.5282 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.1507, allocations: 0.5078 MB / 0.5287 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1511, allocations: 0.7713 MB / 0.5294 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1512, allocations: 30.28 kB / 0.5295 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.1513, allocations: 19.44 kB / 0.5295 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1513, allocations: 0 / 0.5295 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Templates: time 0.006701/0.158, allocations: 2.653 MB / 0.5321 GB, free: 11.01 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.sim & ./AES_AES.Coursework.ElecSys_generator_models.SlidingPressure -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.622304376214743] Failed to read output from testmodel.py, exit status != 0: 0.1677560843527317 0.17965108100000002 0.040923047000000004 Calling exit ...