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.001465/0.001465, allocations: 91.55 kB / 20.97 MB, free: 3.578 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.001256/0.001256, allocations: 177 kB / 24.27 MB, free: 280 kB / 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.116/1.116, allocations: 177.2 MB / 204.6 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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.09045/0.09045, allocations: 18.14 MB / 279.2 MB, free: 11.24 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 1.462e-06/1.462e-06, allocations: 0 / 357.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.518e-05, allocations: 2.312 kB / 357.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002721/0.002746, allocations: 2.323 MB / 359.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003867, allocations: 0.8061 MB / 360.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.004035, allocations: 7.938 kB / 360.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.004199, allocations: 51.47 kB / 360.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.004297, allocations: 47.48 kB / 360.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.004658, allocations: 195.5 kB / 360.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.00493, allocations: 319.7 kB / 361 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.005107, allocations: 96.75 kB / 361.1 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.005201, allocations: 107.6 kB / 361.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.005294, allocations: 79.66 kB / 361.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.005326, allocations: 32 kB / 361.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.005351, allocations: 24 kB / 361.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.005397, allocations: 59.75 kB / 361.4 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.005457, allocations: 79.7 kB / 361.4 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005657, allocations: 203.1 kB / 361.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00566, allocations: 0 / 361.6 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00566, allocations: 4 kB / 361.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.005664, allocations: 3.938 kB / 361.6 MB, free: 3.742 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.0005927/0.006257, allocations: 0.6205 MB / 362.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006293, allocations: 12.92 kB / 362.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.647e-05/0.00637, allocations: 56.7 kB / 362.3 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.006646, allocations: 263.4 kB / 362.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.006669, allocations: 24.88 kB / 362.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.006705, allocations: 20.38 kB / 362.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.007029, allocations: 299.5 kB / 362.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007038, allocations: 192 / 362.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.00706, allocations: 16.12 kB / 362.9 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.00707, allocations: 4 kB / 363 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.007199, allocations: 74.89 kB / 363 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.008271, allocations: 1.119 MB / 364.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.008483, allocations: 119.4 kB / 364.3 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.008548, allocations: 43.67 kB / 364.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.008567, allocations: 4 kB / 364.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.00859, allocations: 37.39 kB / 364.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.008591, allocations: 0 / 364.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002915/0.008883, allocations: 164.3 kB / 364.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.008934, allocations: 110.8 kB / 364.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.009127, allocations: 306.2 kB / 364.9 MB, free: 240 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.009144, allocations: 33.7 kB / 364.9 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.00927, allocations: 239 kB / 365.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.009309, allocations: 63.48 kB / 365.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.009368, allocations: 55.17 kB / 365.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.0095, allocations: 0.5079 MB / 365.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.00956, allocations: 35.67 kB / 365.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.009672, allocations: 161.5 kB / 366 MB, free: 15.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.009879, allocations: 171.9 kB / 366.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009882, allocations: 0 / 366.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002063/0.01009, allocations: 185.3 kB / 366.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.0101, allocations: 4 kB / 366.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01011, allocations: 7.938 kB / 366.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01012, allocations: 3.938 kB / 366.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.01024, allocations: 47.92 kB / 366.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01025, allocations: 0 / 366.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.01032, allocations: 19.88 kB / 366.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01033, allocations: 12 kB / 366.4 MB, free: 14.6 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.0001699/0.0105, allocations: 170.6 kB / 366.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001066/0.01061, allocations: 153.7 kB / 366.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001647/0.01077, allocations: 160.6 kB / 366.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.01077, allocations: 0 / 366.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002832/0.01105, allocations: 184.1 kB / 367.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.01106, allocations: 7.938 kB / 367.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.01106, allocations: 0 / 367.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.01107, allocations: 4 kB / 367.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.01116, allocations: 47.92 kB / 367.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01116, allocations: 4 kB / 367.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.01123, allocations: 19.88 kB / 367.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01124, allocations: 11.98 kB / 367.2 MB, free: 13.78 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.0001238/0.01137, allocations: 284.2 kB / 367.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.0114, allocations: 35.75 kB / 367.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.01145, allocations: 34.19 kB / 367.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01145, allocations: 4 kB / 367.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01145, allocations: 0 / 367.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01146, allocations: 0 / 367.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.01172, allocations: 248.4 kB / 367.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01172, allocations: 0 / 367.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01182, allocations: 31.98 kB / 367.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.01183, allocations: 4 kB / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01184, allocations: 3.938 kB / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.01184, allocations: 0 / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01184, allocations: 4 kB / 367.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01212, allocations: 330.5 kB / 368.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.01217, allocations: 39.72 kB / 368.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01219, allocations: 4 kB / 368.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.01226, allocations: 15.92 kB / 368.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.0123, allocations: 11.98 kB / 368.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.01231, allocations: 0 / 368.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01242, allocations: 215 kB / 368.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01242, allocations: 0 / 368.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01266, allocations: 91.73 kB / 368.5 MB, free: 12.39 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 8.505e-05/0.01275, allocations: 99.19 kB / 368.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.013, allocations: 175.1 kB / 368.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.013, allocations: 4.625 kB / 368.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.01306, allocations: 51.61 kB / 368.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01336, allocations: 83.14 kB / 368.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.01396, allocations: 478.5 kB / 369.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.01401, allocations: 84.31 kB / 369.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.01408, allocations: 33.97 kB / 369.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.01413, allocations: 20.5 kB / 369.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01413, allocations: 0 / 369.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of Templates: time 0.004858/0.01899, allocations: 2.708 MB / 372.2 MB, free: 8.672 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: 3.124407014111057]