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.0009856/0.0009856, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001074/0.001074, allocations: 177 kB / 24.08 MB, free: 428 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.082/1.082, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.06505/0.06505, allocations: 18.13 MB / 279.2 MB, free: 11.14 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.914e-06/1.914e-06, allocations: 0 / 357.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.249e-05, allocations: 5.406 kB / 357.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003948/0.003981, allocations: 2.305 MB / 360.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.005422, allocations: 0.8023 MB / 360.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.00565, allocations: 11.94 kB / 360.9 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.005844, allocations: 55.39 kB / 360.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.006247, allocations: 55.41 kB / 361 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.006707, allocations: 187.6 kB / 361.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.007079, allocations: 323.7 kB / 361.5 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.007282, allocations: 96.7 kB / 361.6 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.007428, allocations: 99.62 kB / 361.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.007553, allocations: 83.7 kB / 361.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.007594, allocations: 24 kB / 361.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.007626, allocations: 28 kB / 361.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.007673, allocations: 59.7 kB / 361.9 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.007748, allocations: 79.75 kB / 361.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.008008, allocations: 203.1 kB / 362.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00801, allocations: 0 / 362.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.008011, allocations: 4 kB / 362.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.008015, allocations: 0 / 362.1 MB, free: 3.117 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.0007038/0.008719, allocations: 0.6321 MB / 362.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.008761, allocations: 8.922 kB / 362.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.00884, allocations: 52.7 kB / 362.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.00916, allocations: 267.4 kB / 363.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.009187, allocations: 16.88 kB / 363.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.009224, allocations: 24.38 kB / 363.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.00956, allocations: 287.5 kB / 363.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.00957, allocations: 192 / 363.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.009591, allocations: 12.12 kB / 363.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.009601, allocations: 12 kB / 363.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.009715, allocations: 63.38 kB / 363.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01083, allocations: 1.081 MB / 364.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.01103, allocations: 107.3 kB / 364.7 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.01108, allocations: 35.66 kB / 364.7 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01111, allocations: 4 kB / 364.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.01114, allocations: 41.39 kB / 364.8 MB, free: 312 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.01114, allocations: 0 / 364.8 MB, free: 312 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002851/0.01143, allocations: 152 kB / 364.9 MB, free: 156 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.01148, allocations: 110.8 kB / 365 MB, free: 20 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.01171, allocations: 302.2 kB / 365.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.01174, allocations: 37.69 kB / 365.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.01186, allocations: 231 kB / 365.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.01191, allocations: 63.45 kB / 365.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.01199, allocations: 59.16 kB / 365.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.01216, allocations: 0.5078 MB / 366.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.01222, allocations: 27.67 kB / 366.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01235, allocations: 157.5 kB / 366.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.01257, allocations: 155.5 kB / 366.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01257, allocations: 0 / 366.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002578/0.01283, allocations: 169.3 kB / 366.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01284, allocations: 8 kB / 366.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01285, allocations: 0 / 366.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01287, allocations: 4.156 kB / 366.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01303, allocations: 47.86 kB / 366.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01303, allocations: 0 / 366.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01313, allocations: 19.89 kB / 366.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01315, allocations: 15.98 kB / 366.8 MB, free: 14.11 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.0001526/0.0133, allocations: 150.9 kB / 366.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001107/0.01341, allocations: 153.8 kB / 367.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001777/0.01359, allocations: 144.8 kB / 367.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.01359, allocations: 3.984 kB / 367.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002161/0.01381, allocations: 165.3 kB / 367.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.118e-06/0.01382, allocations: 8 kB / 367.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.01382, allocations: 3.938 kB / 367.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.01383, allocations: 8.094 kB / 367.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.01395, allocations: 43.92 kB / 367.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01395, allocations: 4 kB / 367.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-05/0.01405, allocations: 23.88 kB / 367.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.01405, allocations: 4 kB / 367.5 MB, free: 13.34 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 (S.local_reset,PIp.I.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.0001355/0.01419, allocations: 284 kB / 367.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.01425, allocations: 31.81 kB / 367.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.0143, allocations: 34.12 kB / 367.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01431, allocations: 4 kB / 367.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01431, allocations: 4 kB / 367.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01431, allocations: 0 / 367.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.01497, allocations: 205 kB / 368 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01497, allocations: 0 / 368 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01509, allocations: 31.98 kB / 368.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.0151, allocations: 0 / 368.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01511, allocations: 3.984 kB / 368.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01511, allocations: 4 kB / 368.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01512, allocations: 7.875 kB / 368.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.01544, allocations: 310.4 kB / 368.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.01551, allocations: 39.78 kB / 368.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01553, allocations: 7.984 kB / 368.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01564, allocations: 11.94 kB / 368.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.01567, allocations: 8.031 kB / 368.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01568, allocations: 3.984 kB / 368.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.01581, allocations: 206.9 kB / 368.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01581, allocations: 0 / 368.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.01623, allocations: 91.73 kB / 368.8 MB, free: 12.02 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.0001032/0.01633, allocations: 103.2 kB / 368.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.01663, allocations: 166 kB / 369 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01663, allocations: 0 / 369 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.01669, allocations: 47.59 kB / 369.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.0171, allocations: 80.09 kB / 369.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.01779, allocations: 474.5 kB / 369.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.487e-05/0.01786, allocations: 88.31 kB / 369.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.01797, allocations: 25.88 kB / 369.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.01815, allocations: 134.1 kB / 369.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01816, allocations: 4 kB / 369.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Templates: time 0.006472/0.02463, allocations: 2.943 MB / 372.8 MB, free: 7.973 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.0015304973348975]