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.0008371/0.0008371, allocations: 75.7 kB / 20.8 MB, free: 3.707 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.0008493/0.0008493, allocations: 165.7 kB / 24.09 MB, free: 420 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 0.9096/0.9096, allocations: 177.1 MB / 204.4 MB, free: 5.723 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.06642/0.06642, allocations: 18.12 MB / 279 MB, free: 11.5 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 2.925e-06/2.925e-06, allocations: 0 / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.623e-05, allocations: 2.281 kB / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002481/0.002517, allocations: 2.261 MB / 418.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003686, allocations: 0.7811 MB / 419.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.003863, allocations: 18.88 kB / 419.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.00403, allocations: 55.02 kB / 419.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.004133, allocations: 53.19 kB / 419.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.004533, allocations: 190.5 kB / 419.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.00482, allocations: 319.7 kB / 420.2 MB, free: 9.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.004995, allocations: 93.27 kB / 420.3 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.005098, allocations: 105.3 kB / 420.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.005209, allocations: 85.98 kB / 420.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.005243, allocations: 24.75 kB / 420.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.662e-05/0.00527, allocations: 25.12 kB / 420.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.00531, allocations: 61.12 kB / 420.6 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.005371, allocations: 77.06 kB / 420.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.005675, allocations: 312.2 kB / 421 MB, free: 9.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005678, allocations: 0 / 421 MB, free: 9.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005679, allocations: 0 / 421 MB, free: 9.543 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.005685, allocations: 0 / 421 MB, free: 9.543 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.0006099/0.006295, allocations: 0.5326 MB / 421.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006333, allocations: 14.14 kB / 421.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.006385, allocations: 38.23 kB / 421.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.006671, allocations: 252 kB / 421.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.006691, allocations: 13.53 kB / 421.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.006738, allocations: 23.48 kB / 421.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.007137, allocations: 327.3 kB / 422.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.007146, allocations: 1.344 kB / 422.2 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.007164, allocations: 14.47 kB / 422.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007172, allocations: 9.562 kB / 422.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.007412, allocations: 157.9 kB / 422.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.008343, allocations: 0.9005 MB / 423.2 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.008637, allocations: 180 kB / 423.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.00876, allocations: 80.8 kB / 423.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.008787, allocations: 2.406 kB / 423.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.008809, allocations: 42.94 kB / 423.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.345e-06/0.008812, allocations: 0 / 423.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004179/0.00923, allocations: 239.3 kB / 423.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.009269, allocations: 110.4 kB / 423.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.009462, allocations: 267.5 kB / 424.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.009477, allocations: 34.89 kB / 424.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.009555, allocations: 185.7 kB / 424.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.009585, allocations: 63.3 kB / 424.4 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.009643, allocations: 50.09 kB / 424.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.009689, allocations: 342.2 kB / 424.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.009797, allocations: 67.56 kB / 424.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.009922, allocations: 182.5 kB / 425 MB, free: 6.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.0105, allocations: 321.4 kB / 425.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0105, allocations: 4 kB / 425.4 MB, free: 6.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002947/0.01079, allocations: 246 kB / 425.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01081, allocations: 5.594 kB / 425.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.01082, allocations: 12.03 kB / 425.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01083, allocations: 2.281 kB / 425.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.01096, allocations: 50.31 kB / 425.7 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01096, allocations: 7.188 kB / 425.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.01104, allocations: 18.97 kB / 425.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01105, allocations: 10.31 kB / 425.7 MB, free: 6.223 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.0001809/0.01123, allocations: 157.1 kB / 425.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.937e-05/0.01133, allocations: 164.3 kB / 426 MB, free: 5.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004421/0.01177, allocations: 301.1 kB / 426.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.01178, allocations: 0 / 426.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0002396/0.01202, allocations: 231.9 kB / 426.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.01203, allocations: 5.469 kB / 426.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.01203, allocations: 2.188 kB / 426.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.01203, allocations: 2.438 kB / 426.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.01213, allocations: 39.08 kB / 426.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01213, allocations: 3.906 kB / 426.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.0122, allocations: 20.84 kB / 426.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01222, allocations: 9.25 kB / 426.6 MB, free: 5.664 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 9.123e-05/0.01231, allocations: 201.2 kB / 426.8 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.01234, allocations: 29.52 kB / 426.8 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.01239, allocations: 32.69 kB / 426.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01239, allocations: 1.953 kB / 426.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.0124, allocations: 0 / 426.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.0124, allocations: 2.734 kB / 426.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.0127, allocations: 245.4 kB / 427.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0127, allocations: 5.062 kB / 427.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01281, allocations: 38.03 kB / 427.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01281, allocations: 9.969 kB / 427.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01282, allocations: 0.7031 kB / 427.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01283, allocations: 0.5312 kB / 427.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01283, allocations: 1.094 kB / 427.2 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.01322, allocations: 374.3 kB / 427.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.01328, allocations: 47.34 kB / 427.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.0133, allocations: 6.094 kB / 427.6 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.01338, allocations: 10.77 kB / 427.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01343, allocations: 13.84 kB / 427.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01344, allocations: 3.281 kB / 427.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.01359, allocations: 188.4 kB / 427.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01359, allocations: 0 / 427.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.01388, allocations: 83.84 kB / 427.9 MB, free: 4.832 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 8.215e-05/0.01396, allocations: 103.7 kB / 428 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.01435, allocations: 252.2 kB / 428.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01435, allocations: 1.25 kB / 428.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.01445, allocations: 74.84 kB / 428.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.01478, allocations: 77.69 kB / 428.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.01546, allocations: 0.4986 MB / 428.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.01557, allocations: 164.4 kB / 429 MB, free: 4.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.01567, allocations: 26.23 kB / 429.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.01572, allocations: 21.3 kB / 429.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01572, allocations: 1.25 kB / 429.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of Templates: time 0.005614/0.02133, allocations: 2.663 MB / 431.8 MB, free: 3.867 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9302030112594366] Failed to read output from testmodel.py, exit status != 0: 0.02781419176608324 0.037838907000000005 0.030360617000000003 Calling exit ...