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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.09752/0.09752, allocations: 22.69 MB / 327.2 MB, free: 7.23 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002691/0.002691, allocations: 66.11 kB / 460.6 MB, free: 41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1039, allocations: 58.03 MB / 0.5065 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.002725/0.1066, allocations: 2.413 MB / 0.5088 GB, free: 4.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1077, allocations: 0.7948 MB / 0.5096 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1079, allocations: 11.94 kB / 0.5096 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.108, allocations: 47.47 kB / 0.5097 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1081, allocations: 51.47 kB / 0.5097 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1085, allocations: 184.3 kB / 0.5099 GB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1088, allocations: 319.8 kB / 0.5102 GB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.1089, allocations: 100.2 kB / 0.5103 GB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.109, allocations: 115.4 kB / 0.5104 GB, free: 2.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1091, allocations: 115.3 kB / 0.5105 GB, free: 2.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1091, allocations: 24 kB / 0.5105 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.1092, allocations: 31.94 kB / 0.5106 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.1092, allocations: 59.77 kB / 0.5106 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.1093, allocations: 135.1 kB / 0.5108 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1095, allocations: 318.5 kB / 0.5111 GB, free: 1.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1095, allocations: 0 / 0.5111 GB, free: 1.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1095, allocations: 0 / 0.5111 GB, free: 1.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1095, allocations: 4 kB / 0.5111 GB, free: 1.961 MB / 366.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.0006504/0.1102, allocations: 0.6075 MB / 0.5117 GB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1102, allocations: 12.75 kB / 0.5117 GB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.1103, allocations: 36.7 kB / 0.5117 GB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1106, allocations: 319.6 kB / 0.512 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1106, allocations: 16.81 kB / 0.512 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.1106, allocations: 20.38 kB / 0.512 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.111, allocations: 265.4 kB / 0.5123 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.111, allocations: 3.938 kB / 0.5123 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.111, allocations: 4 kB / 0.5123 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.111, allocations: 8 kB / 0.5123 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.1113, allocations: 161.6 kB / 0.5125 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.1126, allocations: 1.034 MB / 0.5135 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.113, allocations: 188.9 kB / 0.5137 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1132, allocations: 72.83 kB / 0.5137 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1132, allocations: 4 kB / 0.5137 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1132, allocations: 38.55 kB / 0.5138 GB, free: 15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.1132, allocations: 0 / 0.5138 GB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005653/0.1138, allocations: 257.2 kB / 0.514 GB, free: 14.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1138, allocations: 77.11 kB / 0.5141 GB, free: 14.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1141, allocations: 272.6 kB / 0.5144 GB, free: 14.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1141, allocations: 29.7 kB / 0.5144 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1143, allocations: 184.2 kB / 0.5146 GB, free: 14.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.1143, allocations: 67.42 kB / 0.5146 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.1144, allocations: 49.64 kB / 0.5147 GB, free: 14.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1145, allocations: 342.8 kB / 0.515 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1147, allocations: 64.83 kB / 0.5151 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1149, allocations: 118 kB / 0.5152 GB, free: 13.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.1157, allocations: 332.1 kB / 0.5155 GB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1157, allocations: 0 / 0.5155 GB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004443/0.1162, allocations: 249.2 kB / 0.5157 GB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1162, allocations: 4.156 kB / 0.5157 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1162, allocations: 8 kB / 0.5157 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1162, allocations: 0 / 0.5157 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1164, allocations: 47.92 kB / 0.5158 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1164, allocations: 7.984 kB / 0.5158 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1165, allocations: 23.83 kB / 0.5158 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1166, allocations: 8 kB / 0.5158 GB, free: 12.79 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.0002446/0.1168, allocations: 164 kB / 0.516 GB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001407/0.1169, allocations: 106 kB / 0.5161 GB, free: 12.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006799/0.1176, allocations: 300.4 kB / 0.5164 GB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1176, allocations: 0 / 0.5164 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0003453/0.118, allocations: 225.3 kB / 0.5166 GB, free: 11.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.118, allocations: 6.188 kB / 0.5166 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.118, allocations: 4 kB / 0.5166 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-06/0.118, allocations: 0 / 0.5166 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1181, allocations: 43.92 kB / 0.5166 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1181, allocations: 4 kB / 0.5166 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1182, allocations: 11.89 kB / 0.5166 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1183, allocations: 12 kB / 0.5167 GB, free: 11.89 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.0001357/0.1184, allocations: 209.9 kB / 0.5169 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.1185, allocations: 27.81 kB / 0.5169 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.1185, allocations: 34.31 kB / 0.5169 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1185, allocations: 4 kB / 0.5169 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1185, allocations: 0 / 0.5169 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1185, allocations: 0 / 0.5169 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.119, allocations: 349.3 kB / 0.5173 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.119, allocations: 0 / 0.5173 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1192, allocations: 35.98 kB / 0.5173 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1192, allocations: 4 kB / 0.5173 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1192, allocations: 0 / 0.5173 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1192, allocations: 0 / 0.5173 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1192, allocations: 0 / 0.5173 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.1198, allocations: 387 kB / 0.5177 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.12, allocations: 124.9 kB / 0.5178 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.12, allocations: 0 / 0.5178 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1202, allocations: 15.98 kB / 0.5178 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.1203, allocations: 11.98 kB / 0.5178 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1203, allocations: 4 kB / 0.5178 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.1206, allocations: 195 kB / 0.518 GB, free: 10.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 0.518 GB, free: 10.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.121, allocations: 91.8 kB / 0.5181 GB, free: 10.35 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.000134/0.1211, allocations: 99.19 kB / 0.5182 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1216, allocations: 241.8 kB / 0.5184 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1216, allocations: 0 / 0.5184 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1218, allocations: 78.25 kB / 0.5185 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.1223, allocations: 84.98 kB / 0.5186 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1234, allocations: 0.5334 MB / 0.5191 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.1238, allocations: 0.7675 MB / 0.5198 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.1239, allocations: 34.28 kB / 0.5199 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.124, allocations: 19.44 kB / 0.5199 GB, free: 8.441 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.124, allocations: 0 / 0.5199 GB, free: 8.441 MB / 382.1 MB Notification: Performance of Templates: time 0.006771/0.1308, allocations: 2.708 MB / 0.5225 GB, free: 5.758 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: 4.797959877178073]