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.0008249/0.0008249, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.0007648/0.0007648, allocations: 165.2 kB / 23.98 MB, free: 0.582 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 0.8721/0.8721, allocations: 177.1 MB / 204.3 MB, free: 5.348 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.07214/0.07214, allocations: 18.13 MB / 278.8 MB, free: 11.41 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.754e-06/1.754e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.523e-05, allocations: 2.281 kB / 416.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002513/0.002549, allocations: 2.26 MB / 418.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003688, allocations: 0.7886 MB / 419.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.003881, allocations: 18.31 kB / 419.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.004061, allocations: 47.47 kB / 419.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.004164, allocations: 58.02 kB / 419.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.004601, allocations: 189.5 kB / 419.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.004913, allocations: 318 kB / 420 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.005108, allocations: 93.42 kB / 420.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.005215, allocations: 97.83 kB / 420.2 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.005325, allocations: 81.34 kB / 420.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.00536, allocations: 25 kB / 420.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.005385, allocations: 26.03 kB / 420.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.005426, allocations: 65.98 kB / 420.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.005486, allocations: 75.73 kB / 420.4 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.005856, allocations: 323.2 kB / 420.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.005861, allocations: 0.6562 kB / 420.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.005863, allocations: 1.188 kB / 420.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.00587, allocations: 0 / 420.7 MB, free: 9.703 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.0006797/0.00655, allocations: 0.5233 MB / 421.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.006591, allocations: 14.55 kB / 421.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.006672, allocations: 42.89 kB / 421.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.007051, allocations: 246.7 kB / 421.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.007071, allocations: 14.94 kB / 421.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.007106, allocations: 22.53 kB / 421.6 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.007462, allocations: 323.2 kB / 421.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.007473, allocations: 1.219 kB / 421.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.007494, allocations: 15.3 kB / 421.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.007502, allocations: 4.938 kB / 421.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.007733, allocations: 159.8 kB / 422.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.008723, allocations: 0.9041 MB / 423 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.009043, allocations: 185.7 kB / 423.2 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.009152, allocations: 81.44 kB / 423.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.009181, allocations: 2.047 kB / 423.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.0092, allocations: 37.39 kB / 423.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/0.009202, allocations: 3.938 kB / 423.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004062/0.009608, allocations: 241.2 kB / 423.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.009644, allocations: 109.5 kB / 423.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.009848, allocations: 271.7 kB / 423.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.009864, allocations: 34.8 kB / 423.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.009947, allocations: 181.6 kB / 424.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.009981, allocations: 59.86 kB / 424.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.01004, allocations: 50.45 kB / 424.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.01009, allocations: 338.6 kB / 424.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.0102, allocations: 68.75 kB / 424.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01033, allocations: 185.4 kB / 424.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.0109, allocations: 323.5 kB / 425.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0109, allocations: 4 kB / 425.1 MB, free: 6.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002829/0.01118, allocations: 246.7 kB / 425.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.0112, allocations: 7.969 kB / 425.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.01121, allocations: 5.031 kB / 425.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.01123, allocations: 3.031 kB / 425.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01135, allocations: 44.27 kB / 425.4 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01136, allocations: 11.69 kB / 425.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.01144, allocations: 18.67 kB / 425.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.01145, allocations: 11.72 kB / 425.5 MB, free: 6.395 MB / 330.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.0001934/0.01164, allocations: 167.9 kB / 425.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001058/0.01175, allocations: 160.3 kB / 425.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000435/0.01219, allocations: 294.5 kB / 426.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.01219, allocations: 1.438 kB / 426.1 MB, free: 5.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002315/0.01242, allocations: 231.6 kB / 426.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.01243, allocations: 5.594 kB / 426.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.01243, allocations: 5.188 kB / 426.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.01244, allocations: 4.047 kB / 426.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.01252, allocations: 35.34 kB / 426.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01253, allocations: 3.188 kB / 426.4 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.0126, allocations: 24.2 kB / 426.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.01262, allocations: 14.16 kB / 426.4 MB, free: 5.828 MB / 330.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.0001026/0.01272, allocations: 192.8 kB / 426.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.01276, allocations: 29.09 kB / 426.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.01282, allocations: 32.98 kB / 426.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01283, allocations: 1.25 kB / 426.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.01283, allocations: 1.844 kB / 426.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01284, allocations: 0.5156 kB / 426.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.01315, allocations: 247.2 kB / 426.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01316, allocations: 0.6562 kB / 426.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.01326, allocations: 37.98 kB / 426.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.01326, allocations: 9.344 kB / 426.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01328, allocations: 1.828 kB / 426.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01328, allocations: 5.172 kB / 426.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01329, allocations: 0 / 426.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01371, allocations: 378.8 kB / 427.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.01378, allocations: 46.05 kB / 427.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01381, allocations: 6.594 kB / 427.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.01388, allocations: 11.61 kB / 427.4 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.01392, allocations: 13.81 kB / 427.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01393, allocations: 4.062 kB / 427.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01404, allocations: 187.5 kB / 427.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01404, allocations: 0 / 427.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.01435, allocations: 83.28 kB / 427.7 MB, free: 5 MB / 330.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 9.914e-05/0.01445, allocations: 102.9 kB / 427.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.01484, allocations: 250.6 kB / 428 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01484, allocations: 1.188 kB / 428 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01494, allocations: 74.77 kB / 428.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01528, allocations: 69.98 kB / 428.1 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.016, allocations: 0.5259 MB / 428.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.01612, allocations: 163 kB / 428.8 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.01618, allocations: 23 kB / 428.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01618, allocations: 0 / 428.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of Templates: time 0.005353/0.02153, allocations: 3.294 MB / 432.1 MB, free: 4.012 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.345420379191637] Failed to read output from testmodel.py, exit status != 0: 0.028512432239949703 0.038372459000000005 0.029776860000000002 Calling exit ...