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.001043/0.001043, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.002042/0.002042, allocations: 165 kB / 24.85 MB, free: 8.641 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.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.0728/0.0728, allocations: 18.14 MB / 280 MB, free: 11.17 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.433e-06/1.433e-06, allocations: 0 / 358.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.387e-05, allocations: 5.406 kB / 358.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.00271/0.002734, allocations: 2.309 MB / 360.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.003862, allocations: 0.8024 MB / 361.7 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.004036, allocations: 15.88 kB / 361.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.0042, allocations: 47.41 kB / 361.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.004304, allocations: 47.48 kB / 361.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.004689, allocations: 191.6 kB / 362 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.004975, allocations: 323.7 kB / 362.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.00515, allocations: 88.78 kB / 362.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.005275, allocations: 111.5 kB / 362.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005388, allocations: 79.7 kB / 362.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.005421, allocations: 24 kB / 362.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.465e-05/0.005445, allocations: 28 kB / 362.6 MB, free: 4.504 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.005487, allocations: 59.69 kB / 362.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.005542, allocations: 75.77 kB / 362.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005763, allocations: 211.1 kB / 362.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005765, allocations: 4 kB / 362.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.005765, allocations: 0 / 362.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.00577, allocations: 0 / 362.9 MB, free: 4.16 MB / 330.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.0006184/0.006388, allocations: 0.6243 MB / 363.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.00642, allocations: 8.922 kB / 363.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.006484, allocations: 56.64 kB / 363.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.006755, allocations: 267.4 kB / 363.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.00678, allocations: 16.88 kB / 363.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006809, allocations: 24.38 kB / 363.9 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.007067, allocations: 283.5 kB / 364.2 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.007078, allocations: 12.11 kB / 364.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.007095, allocations: 16.12 kB / 364.2 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.007104, allocations: 8 kB / 364.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.007188, allocations: 59.39 kB / 364.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.008139, allocations: 1.077 MB / 365.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.008303, allocations: 115.3 kB / 365.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.008348, allocations: 43.56 kB / 365.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.008363, allocations: 4 kB / 365.5 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.008386, allocations: 37.39 kB / 365.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.008387, allocations: 0 / 365.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002146/0.008602, allocations: 139.9 kB / 365.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.008649, allocations: 110.8 kB / 365.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.008813, allocations: 306.1 kB / 366.1 MB, free: 0.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.008833, allocations: 29.7 kB / 366.1 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.00895, allocations: 239 kB / 366.4 MB, free: 488 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.008984, allocations: 59.47 kB / 366.4 MB, free: 428 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.009044, allocations: 59.28 kB / 366.5 MB, free: 360 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.009217, allocations: 0.5117 MB / 367 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.009262, allocations: 31.53 kB / 367 MB, free: 15.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.009351, allocations: 153.7 kB / 367.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.009498, allocations: 143.5 kB / 367.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.0095, allocations: 4 kB / 367.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000174/0.009674, allocations: 177.2 kB / 367.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.009687, allocations: 4 kB / 367.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009693, allocations: 4 kB / 367.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.009703, allocations: 4.156 kB / 367.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.009815, allocations: 43.92 kB / 367.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00982, allocations: 7.922 kB / 367.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.009889, allocations: 19.89 kB / 367.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.009899, allocations: 4 kB / 367.6 MB, free: 15.17 MB / 346.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.0001448/0.01004, allocations: 158.8 kB / 367.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.842e-05/0.01013, allocations: 152.8 kB / 367.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001285/0.01026, allocations: 149 kB / 368 MB, free: 14.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.01026, allocations: 0 / 368 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0001581/0.01042, allocations: 161.3 kB / 368.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.01043, allocations: 4 kB / 368.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01043, allocations: 11.98 kB / 368.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.592e-06/0.01044, allocations: 8.094 kB / 368.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.01052, allocations: 39.98 kB / 368.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.01053, allocations: 7.938 kB / 368.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.136e-05/0.01059, allocations: 19.89 kB / 368.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.01059, allocations: 4 kB / 368.3 MB, free: 14.39 MB / 346.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.0001221/0.01072, allocations: 276.1 kB / 368.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.01076, allocations: 35.75 kB / 368.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.0108, allocations: 38.12 kB / 368.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0108, allocations: 4 kB / 368.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.0108, allocations: 4 kB / 368.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01081, allocations: 3.984 kB / 368.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.01105, allocations: 205 kB / 368.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01105, allocations: 0 / 368.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.01114, allocations: 31.98 kB / 368.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01114, allocations: 0 / 368.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01116, allocations: 0 / 368.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.01116, allocations: 0 / 368.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01116, allocations: 7.938 kB / 368.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.0114, allocations: 315.5 kB / 369.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.01145, allocations: 43.73 kB / 369.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01147, allocations: 0 / 369.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.01153, allocations: 11.94 kB / 369.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.01156, allocations: 11.97 kB / 369.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01157, allocations: 4 kB / 369.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.639e-05/0.01165, allocations: 210.9 kB / 369.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 369.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.0119, allocations: 83.78 kB / 369.6 MB, free: 13.07 MB / 346.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.749e-05/0.01198, allocations: 99.19 kB / 369.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.0122, allocations: 164.3 kB / 369.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0122, allocations: 3.938 kB / 369.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.01225, allocations: 43.61 kB / 369.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.01255, allocations: 81.5 kB / 369.9 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.01312, allocations: 488.5 kB / 370.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.01317, allocations: 88.31 kB / 370.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.01325, allocations: 21.94 kB / 370.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.01338, allocations: 130.2 kB / 370.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01338, allocations: 4 kB / 370.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Templates: time 0.005136/0.01852, allocations: 3.002 MB / 373.7 MB, free: 8.961 MB / 346.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.125246237963438]