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.002355/0.002355, allocations: 84.98 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002805/0.002805, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 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.1168/0.1168, allocations: 18.14 MB / 278.5 MB, free: 11.31 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 356.5 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.77e-05, allocations: 2.312 kB / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.007009/0.007047, allocations: 2.29 MB / 358.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.01023, allocations: 0.8024 MB / 359.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.01051, allocations: 15.88 kB / 359.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.01082, allocations: 43.47 kB / 359.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.01108, allocations: 55.41 kB / 359.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.01197, allocations: 183.6 kB / 359.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.01272, allocations: 331.7 kB / 360.2 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.01306, allocations: 84.84 kB / 360.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.0133, allocations: 99.69 kB / 360.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.01356, allocations: 87.58 kB / 360.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.01364, allocations: 24 kB / 360.5 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.01372, allocations: 28 kB / 360.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.01383, allocations: 59.75 kB / 360.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.01401, allocations: 83.69 kB / 360.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.01473, allocations: 306.9 kB / 361 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.01474, allocations: 4 kB / 361 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.01474, allocations: 4 kB / 361 MB, free: 3.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.01475, allocations: 0 / 361 MB, free: 3.703 MB / 282.7 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.001614/0.01636, allocations: 0.6513 MB / 361.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.01642, allocations: 8.922 kB / 361.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.01659, allocations: 52.7 kB / 361.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.01736, allocations: 271.3 kB / 362 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.01741, allocations: 20.88 kB / 362 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.0175, allocations: 24.38 kB / 362 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.01846, allocations: 338.8 kB / 362.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.01848, allocations: 192 / 362.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.01853, allocations: 16.12 kB / 362.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.01854, allocations: 8 kB / 362.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.01919, allocations: 149.9 kB / 362.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.02217, allocations: 1.218 MB / 363.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.02295, allocations: 183.4 kB / 363.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.02327, allocations: 75.66 kB / 364 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.02331, allocations: 4 kB / 364 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.02337, allocations: 41.33 kB / 364 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.02337, allocations: 3.938 kB / 364 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001019/0.02439, allocations: 244.3 kB / 364.3 MB, free: 228 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.02451, allocations: 110.8 kB / 364.4 MB, free: 92 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.02515, allocations: 366.3 kB / 364.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.0252, allocations: 29.7 kB / 364.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.02549, allocations: 247 kB / 365 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.0256, allocations: 63.48 kB / 365.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.02577, allocations: 59.31 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004488/0.02622, allocations: 0.5235 MB / 365.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.0265, allocations: 71.66 kB / 365.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.02695, allocations: 197.5 kB / 365.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/0.02792, allocations: 264.5 kB / 366.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/0.02793, allocations: 4 kB / 366.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008318/0.02877, allocations: 243.9 kB / 366.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.02879, allocations: 8.156 kB / 366.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.0288, allocations: 4 kB / 366.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.02883, allocations: 7.938 kB / 366.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.02922, allocations: 43.91 kB / 366.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.02923, allocations: 0 / 366.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.02947, allocations: 19.89 kB / 366.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.0295, allocations: 12 kB / 366.5 MB, free: 13.83 MB / 298.7 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.0004994/0.03, allocations: 210.1 kB / 366.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003973/0.0304, allocations: 197 kB / 366.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007342/0.03114, allocations: 234 kB / 367.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.03114, allocations: 0 / 367.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007161/0.03186, allocations: 236.1 kB / 367.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.03188, allocations: 8.125 kB / 367.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.03189, allocations: 4 kB / 367.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.03189, allocations: 4 kB / 367.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.03222, allocations: 39.92 kB / 367.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.03223, allocations: 4 kB / 367.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.03246, allocations: 15.89 kB / 367.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.03249, allocations: 19.91 kB / 367.4 MB, free: 12.8 MB / 298.7 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.0003392/0.03283, allocations: 284 kB / 367.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.03296, allocations: 39.75 kB / 367.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.03308, allocations: 34.19 kB / 367.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.03309, allocations: 4 kB / 367.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.0331, allocations: 0 / 367.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.03311, allocations: 0 / 367.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.03402, allocations: 304.3 kB / 368.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03402, allocations: 0 / 368.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.0344, allocations: 35.92 kB / 368.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.03441, allocations: 0 / 368.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.03443, allocations: 3.938 kB / 368.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.03444, allocations: 0 / 368.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.03444, allocations: 8 kB / 368.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.03556, allocations: 422.4 kB / 368.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.03572, allocations: 43.72 kB / 368.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.03577, allocations: 4.047 kB / 368.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.03601, allocations: 11.97 kB / 368.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.03609, allocations: 11.98 kB / 368.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.03611, allocations: 4 kB / 368.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000415/0.03652, allocations: 243 kB / 368.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.03652, allocations: 0 / 368.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007583/0.03728, allocations: 95.67 kB / 369 MB, free: 11.23 MB / 298.7 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.0001969/0.03748, allocations: 99.25 kB / 369.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.03852, allocations: 275 kB / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03852, allocations: 0 / 369.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.0388, allocations: 88.22 kB / 369.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.03989, allocations: 83.33 kB / 369.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.04152, allocations: 0.5048 MB / 370 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.04179, allocations: 156.8 kB / 370.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.042, allocations: 25.95 kB / 370.2 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.04212, allocations: 20.5 kB / 370.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.04212, allocations: 0 / 370.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01325/0.05537, allocations: 2.702 MB / 372.9 MB, free: 7.289 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.621960607008077]