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.001883/0.001883, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001843/0.001843, allocations: 221 kB / 23.01 MB, free: 4.609 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 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.1071/0.1071, allocations: 24.13 MB / 337.3 MB, free: 11.48 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 67.88 kB / 474.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3363, allocations: 59.59 MB / 0.5216 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.003735/0.34, allocations: 2.407 MB / 0.524 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3417, allocations: 0.8348 MB / 0.5248 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.3421, allocations: 14.75 kB / 0.5248 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3423, allocations: 51.22 kB / 0.5249 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3425, allocations: 44.34 kB / 0.5249 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.3431, allocations: 193 kB / 0.5251 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.3436, allocations: 319.7 kB / 0.5254 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.3439, allocations: 95.02 kB / 0.5255 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.344, allocations: 114.3 kB / 0.5256 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3442, allocations: 130.2 kB / 0.5257 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.3443, allocations: 25.44 kB / 0.5257 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.3443, allocations: 24.75 kB / 0.5258 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.3443, allocations: 55.89 kB / 0.5258 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3444, allocations: 134.6 kB / 0.5259 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.3448, allocations: 317.9 kB / 0.5262 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3448, allocations: 1.25 kB / 0.5262 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3448, allocations: 0 / 0.5262 GB, free: 7.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3448, allocations: 0 / 0.5262 GB, free: 7.305 MB / 382.1 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.0008347/0.3457, allocations: 0.5327 MB / 0.5268 GB, free: 6.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3457, allocations: 9.609 kB / 0.5268 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.3458, allocations: 43.67 kB / 0.5268 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.3463, allocations: 256 kB / 0.5271 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.3463, allocations: 13.16 kB / 0.5271 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.3464, allocations: 27.17 kB / 0.5271 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.3468, allocations: 273.1 kB / 0.5274 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3469, allocations: 0 / 0.5274 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3469, allocations: 7.281 kB / 0.5274 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3469, allocations: 4.844 kB / 0.5274 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.3473, allocations: 166.8 kB / 0.5275 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.3487, allocations: 0.9997 MB / 0.5285 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.3491, allocations: 187.2 kB / 0.5287 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.3493, allocations: 74.89 kB / 0.5288 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.3493, allocations: 1.094 kB / 0.5288 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.3494, allocations: 37.44 kB / 0.5288 GB, free: 5.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.3494, allocations: 0 / 0.5288 GB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006754/0.35, allocations: 260.1 kB / 0.529 GB, free: 5.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.3501, allocations: 106.1 kB / 0.5291 GB, free: 5.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.3504, allocations: 272.2 kB / 0.5294 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3504, allocations: 30.36 kB / 0.5294 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3505, allocations: 189.2 kB / 0.5296 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3506, allocations: 60 kB / 0.5297 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.3506, allocations: 54.7 kB / 0.5297 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.692e-05/0.3507, allocations: 337.8 kB / 0.53 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3509, allocations: 71.41 kB / 0.5301 GB, free: 4.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3511, allocations: 126.3 kB / 0.5302 GB, free: 4.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/0.352, allocations: 332.8 kB / 0.5306 GB, free: 4.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.352, allocations: 1.219 kB / 0.5306 GB, free: 4.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004481/0.3524, allocations: 247.6 kB / 0.5308 GB, free: 4.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3525, allocations: 5.688 kB / 0.5308 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3525, allocations: 5.375 kB / 0.5308 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3525, allocations: 2.375 kB / 0.5308 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.3527, allocations: 40.42 kB / 0.5308 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3527, allocations: 7.438 kB / 0.5308 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3528, allocations: 28.22 kB / 0.5309 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3529, allocations: 5.594 kB / 0.5309 GB, free: 4.043 MB / 382.1 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.000238/0.3531, allocations: 156.5 kB / 0.531 GB, free: 3.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001356/0.3532, allocations: 115.7 kB / 0.5311 GB, free: 3.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006789/0.3539, allocations: 292 kB / 0.5314 GB, free: 3.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.3539, allocations: 1.062 kB / 0.5314 GB, free: 3.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003536/0.3543, allocations: 227.4 kB / 0.5316 GB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3543, allocations: 14.05 kB / 0.5316 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3543, allocations: 6.094 kB / 0.5317 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.3543, allocations: 2.562 kB / 0.5317 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3545, allocations: 39.33 kB / 0.5317 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3545, allocations: 3.062 kB / 0.5317 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3546, allocations: 20.3 kB / 0.5317 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3546, allocations: 15.08 kB / 0.5317 GB, free: 3.539 MB / 382.1 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.0001163/0.3548, allocations: 198.4 kB / 0.5319 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.3548, allocations: 29.86 kB / 0.5319 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.3549, allocations: 37.14 kB / 0.532 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3549, allocations: 2.781 kB / 0.532 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3549, allocations: 4 kB / 0.532 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3549, allocations: 1.453 kB / 0.532 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.3554, allocations: 319.4 kB / 0.5323 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3554, allocations: 0 / 0.5323 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.3556, allocations: 42.2 kB / 0.5323 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3556, allocations: 1.281 kB / 0.5323 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.3557, allocations: 1.922 kB / 0.5323 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3557, allocations: 1.25 kB / 0.5323 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3557, allocations: 0 / 0.5323 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.3562, allocations: 382.2 kB / 0.5327 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.3563, allocations: 46.97 kB / 0.5327 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.3564, allocations: 2.656 kB / 0.5328 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3565, allocations: 10.69 kB / 0.5328 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3566, allocations: 10.3 kB / 0.5328 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3566, allocations: 4.344 kB / 0.5328 GB, free: 2.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3568, allocations: 196.7 kB / 0.533 GB, free: 2.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 1.281 kB / 0.533 GB, free: 2.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.3572, allocations: 86.47 kB / 0.533 GB, free: 2.648 MB / 382.1 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.0001073/0.3573, allocations: 102.8 kB / 0.5331 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.3579, allocations: 248.8 kB / 0.5334 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3579, allocations: 0 / 0.5334 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3581, allocations: 75.52 kB / 0.5335 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3587, allocations: 80.23 kB / 0.5335 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3597, allocations: 0.5424 MB / 0.5341 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.3599, allocations: 0.7702 MB / 0.5348 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.36, allocations: 20.38 kB / 0.5348 GB, free: 1.348 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.36, allocations: 0 / 0.5348 GB, free: 1.348 MB / 382.1 MB Notification: Performance of Templates: time 0.007084/0.367, allocations: 3.225 MB / 0.538 GB, free: 1.02 MB / 382.1 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: 7.783858753973618] Failed to read output from testmodel.py, exit status != 0: 0.3781925621442497 0.393359892 0.044794549 Calling exit ...