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.001029/0.001029, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001195/0.001195, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9708/0.9708, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.09311/0.09311, allocations: 18.13 MB / 278.9 MB, free: 11.19 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.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: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.034e-05, allocations: 2.312 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002866/0.002886, allocations: 2.865 MB / 360.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004345, allocations: 1.055 MB / 361.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.004589, allocations: 23.81 kB / 361.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.004783, allocations: 87 kB / 361.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.004957, allocations: 91.08 kB / 361.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.005518, allocations: 323.3 kB / 361.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.005955, allocations: 0.566 MB / 362.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.006216, allocations: 163.6 kB / 362.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.006377, allocations: 179.4 kB / 362.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.006502, allocations: 143.4 kB / 362.8 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.006549, allocations: 44 kB / 362.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.006585, allocations: 44 kB / 362.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.00664, allocations: 111.5 kB / 363 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.006724, allocations: 131.5 kB / 363.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.007011, allocations: 366.4 kB / 363.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.007013, allocations: 0 / 363.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007014, allocations: 0 / 363.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.007019, allocations: 4 kB / 363.4 MB, free: 1.617 MB / 282.7 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.0006855/0.007705, allocations: 0.8384 MB / 364.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.007734, allocations: 8.922 kB / 364.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.007825, allocations: 100.5 kB / 364.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.008469, allocations: 389 kB / 364.8 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.008507, allocations: 25.38 kB / 364.8 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.008562, allocations: 40.38 kB / 364.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.009109, allocations: 488.4 kB / 365.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.00912, allocations: 192 / 365.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.009147, allocations: 20.38 kB / 365.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.009159, allocations: 15.88 kB / 365.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.009374, allocations: 131.8 kB / 365.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01085, allocations: 1.626 MB / 367.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.01119, allocations: 188.5 kB / 367.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.01128, allocations: 76.11 kB / 367.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.01131, allocations: 8.234 kB / 367.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.01134, allocations: 37.62 kB / 367.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.01134, allocations: 0 / 367.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.000384/0.01172, allocations: 256 kB / 367.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.01178, allocations: 158.2 kB / 367.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.01207, allocations: 410.7 kB / 368.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.01209, allocations: 33.7 kB / 368.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.01224, allocations: 315 kB / 368.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.0123, allocations: 103.1 kB / 368.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.01239, allocations: 79.56 kB / 368.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01254, allocations: 0.5235 MB / 369.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.01263, allocations: 56.97 kB / 369.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.0128, allocations: 268.3 kB / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.0131, allocations: 244 kB / 369.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01311, allocations: 4 kB / 369.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003078/0.01341, allocations: 271.2 kB / 370.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01343, allocations: 9.094 kB / 370.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01344, allocations: 0 / 370.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01345, allocations: 7.938 kB / 370.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01362, allocations: 67.91 kB / 370.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.01363, allocations: 4 kB / 370.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01373, allocations: 31.83 kB / 370.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.01375, allocations: 12 kB / 370.2 MB, free: 10.41 MB / 298.7 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.0002019/0.01395, allocations: 179.4 kB / 370.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001552/0.01411, allocations: 279.6 kB / 370.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002462/0.01435, allocations: 238.2 kB / 370.9 MB, free: 9.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.01435, allocations: 7.938 kB / 370.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002724/0.01463, allocations: 257.2 kB / 371.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.01463, allocations: 8 kB / 371.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.01464, allocations: 0 / 371.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.01464, allocations: 4 kB / 371.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01478, allocations: 67.78 kB / 371.2 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01478, allocations: 4 kB / 371.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01489, allocations: 31.84 kB / 371.3 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.0149, allocations: 8 kB / 371.3 MB, free: 9.23 MB / 298.7 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.000148/0.01505, allocations: 300.2 kB / 371.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.0151, allocations: 55.72 kB / 371.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.01516, allocations: 48.62 kB / 371.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01516, allocations: 3.938 kB / 371.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01517, allocations: 3.938 kB / 371.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.01518, allocations: 7.984 kB / 371.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.01548, allocations: 316.3 kB / 372 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.01548, allocations: 0 / 372 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.01564, allocations: 51.92 kB / 372 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01564, allocations: 11.98 kB / 372.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01566, allocations: 4 kB / 372.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01566, allocations: 0 / 372.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01566, allocations: 3.938 kB / 372.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.01608, allocations: 413.9 kB / 372.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.351e-05/0.01617, allocations: 75.58 kB / 372.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.0162, allocations: 8 kB / 372.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.01629, allocations: 15.98 kB / 372.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.01634, allocations: 15.91 kB / 372.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01635, allocations: 12 kB / 372.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.01652, allocations: 279 kB / 372.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01652, allocations: 0 / 372.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.01683, allocations: 147.6 kB / 373 MB, free: 7.438 MB / 298.7 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 9.143e-05/0.01692, allocations: 103.2 kB / 373.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.01729, allocations: 273.2 kB / 373.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01729, allocations: 8 kB / 373.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.01738, allocations: 80.75 kB / 373.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.01783, allocations: 137.1 kB / 373.6 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.01876, allocations: 0.735 MB / 374.3 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.01882, allocations: 117.1 kB / 374.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.01895, allocations: 47.27 kB / 374.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.01902, allocations: 32.5 kB / 374.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01902, allocations: 0 / 374.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of Templates: time 0.006844/0.02586, allocations: 4.831 MB / 379.4 MB, free: 1.113 MB / 298.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.920937438029796]