Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.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.001554/0.001554, allocations: 101.8 kB / 16.45 MB, free: 6.449 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.002595/0.002595, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1045/0.1045, allocations: 24.11 MB / 332.9 MB, free: 12.63 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.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") [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.002381/0.002381, allocations: 71.83 kB / 468.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5172, allocations: 59.56 MB / 0.5155 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.005508/0.5227, allocations: 3.042 MB / 0.5185 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.5256, allocations: 1.07 MB / 0.5195 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.526, allocations: 24.34 kB / 0.5196 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.5263, allocations: 84.67 kB / 0.5196 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.5265, allocations: 85.94 kB / 0.5197 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009538/0.5275, allocations: 323.6 kB / 0.52 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.5283, allocations: 0.5418 MB / 0.5206 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.5287, allocations: 172.9 kB / 0.5207 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.5289, allocations: 208.7 kB / 0.5209 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.5291, allocations: 205.5 kB / 0.5211 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.5292, allocations: 45.22 kB / 0.5212 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.461e-05/0.5293, allocations: 46.09 kB / 0.5212 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.5293, allocations: 106.6 kB / 0.5213 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.5295, allocations: 231.8 kB / 0.5215 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.5304, allocations: 0.5451 MB / 0.5221 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5304, allocations: 0 / 0.5221 GB, free: 5.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5304, allocations: 0 / 0.5221 GB, free: 5.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5304, allocations: 5.125 kB / 0.5221 GB, free: 5.641 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001233/0.5316, allocations: 0.8378 MB / 0.5229 GB, free: 4.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5317, allocations: 9.5 kB / 0.5229 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.5318, allocations: 62.91 kB / 0.523 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.5324, allocations: 440.1 kB / 0.5234 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.5324, allocations: 28.31 kB / 0.5234 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.5325, allocations: 35.97 kB / 0.5234 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.5333, allocations: 441.3 kB / 0.5239 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.5334, allocations: 1.156 kB / 0.5239 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.5334, allocations: 15.75 kB / 0.5239 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.5334, allocations: 8.75 kB / 0.5239 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.5341, allocations: 287.9 kB / 0.5242 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.5361, allocations: 1.524 MB / 0.5256 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.5369, allocations: 336.7 kB / 0.526 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.5371, allocations: 130 kB / 0.5261 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.5372, allocations: 7.266 kB / 0.5261 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.5372, allocations: 38.02 kB / 0.5261 GB, free: 2.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.452e-06/0.5372, allocations: 0 / 0.5261 GB, free: 2.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009832/0.5382, allocations: 411.1 kB / 0.5265 GB, free: 2.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.5383, allocations: 158.4 kB / 0.5267 GB, free: 2.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.5388, allocations: 407.4 kB / 0.5271 GB, free: 2.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5388, allocations: 35.05 kB / 0.5271 GB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.539, allocations: 268.9 kB / 0.5274 GB, free: 2.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.539, allocations: 108.4 kB / 0.5275 GB, free: 2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5392, allocations: 66.19 kB / 0.5275 GB, free: 1.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5393, allocations: 356.9 kB / 0.5279 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5395, allocations: 113.2 kB / 0.528 GB, free: 1.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.5398, allocations: 208.4 kB / 0.5282 GB, free: 1.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.5413, allocations: 0.5358 MB / 0.5287 GB, free: 1.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5413, allocations: 5.438 kB / 0.5287 GB, free: 1.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007218/0.542, allocations: 382.6 kB / 0.5291 GB, free: 1.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5421, allocations: 6.109 kB / 0.5291 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5421, allocations: 2.219 kB / 0.5291 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.5421, allocations: 7.531 kB / 0.5291 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.5424, allocations: 74.66 kB / 0.5291 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.5424, allocations: 5.062 kB / 0.5291 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.5426, allocations: 42.41 kB / 0.5292 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.5427, allocations: 14.53 kB / 0.5292 GB, free: 0.9648 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003508/0.543, allocations: 207.1 kB / 0.5294 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000237/0.5433, allocations: 186.4 kB / 0.5296 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.5444, allocations: 463.5 kB / 0.53 GB, free: 460 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.5444, allocations: 0.9375 kB / 0.53 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005659/0.5449, allocations: 338.4 kB / 0.5303 GB, free: 292 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.545, allocations: 7.109 kB / 0.5304 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.545, allocations: 9.906 kB / 0.5304 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.545, allocations: 3.219 kB / 0.5304 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.5453, allocations: 62.64 kB / 0.5304 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.5453, allocations: 3.75 kB / 0.5304 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.5455, allocations: 33.41 kB / 0.5305 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.5455, allocations: 13.03 kB / 0.5305 GB, free: 252 kB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.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: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001354/0.5457, allocations: 204.9 kB / 0.5307 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.5457, allocations: 58.81 kB / 0.5307 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.5459, allocations: 50.31 kB / 0.5308 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5459, allocations: 7.469 kB / 0.5308 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.5459, allocations: 0.6094 kB / 0.5308 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5459, allocations: 1.906 kB / 0.5308 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.5466, allocations: 465.1 kB / 0.5312 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5466, allocations: 0 / 0.5312 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.5469, allocations: 53.91 kB / 0.5313 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5469, allocations: 0.6562 kB / 0.5313 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.5469, allocations: 6.312 kB / 0.5313 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5469, allocations: 10.34 kB / 0.5313 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5469, allocations: 0 / 0.5313 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.5479, allocations: 0.5451 MB / 0.5318 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.5481, allocations: 154.6 kB / 0.532 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.5481, allocations: 5.594 kB / 0.532 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.5483, allocations: 23.39 kB / 0.532 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.5484, allocations: 13.52 kB / 0.532 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.5484, allocations: 9.219 kB / 0.532 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.5487, allocations: 282.4 kB / 0.5323 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5487, allocations: 0 / 0.5323 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.5493, allocations: 144.1 kB / 0.5324 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.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 (28): * Single equations (assignments): 28 * 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.0001307/0.5494, allocations: 108.3 kB / 0.5325 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008828/0.5503, allocations: 395.6 kB / 0.5329 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5503, allocations: 1.188 kB / 0.5329 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.5506, allocations: 131.1 kB / 0.533 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.5513, allocations: 130.6 kB / 0.5332 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.5528, allocations: 0.809 MB / 0.5339 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5533, allocations: 0.8277 MB / 0.5348 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.5535, allocations: 50.36 kB / 0.5348 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.763e-05/0.5536, allocations: 29.48 kB / 0.5348 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5536, allocations: 0 / 0.5348 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.01046/0.564, allocations: 4.49 MB / 0.5392 GB, free: 12.55 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.BoilerFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342616520123556] Failed to read output from testmodel.py, exit status != 0: 0.5733692240901291 0.5928901 0.059010873000000005 Calling exit ...