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.0009889/0.0009889, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.00102/0.00102, allocations: 173 kB / 24.17 MB, free: 336 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.9891/0.9891, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.06481/0.06481, allocations: 18.14 MB / 279.2 MB, free: 11.2 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.884e-06/1.884e-06, allocations: 0 / 304.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.079e-05, allocations: 2.969 kB / 304.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003348/0.003379, allocations: 2.823 MB / 307.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004858, allocations: 1.095 MB / 308.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.005111, allocations: 23.81 kB / 308.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.005342, allocations: 83.48 kB / 308.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.005538, allocations: 87.45 kB / 308.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.006154, allocations: 324.1 kB / 308.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.00666, allocations: 0.5578 MB / 309.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.006916, allocations: 176 kB / 309.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.00709, allocations: 177.7 kB / 309.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.007244, allocations: 139.4 kB / 310 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.007299, allocations: 47.94 kB / 310 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.665e-05/0.007345, allocations: 52 kB / 310.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.007417, allocations: 103.6 kB / 310.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.007519, allocations: 135.5 kB / 310.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.007885, allocations: 366.4 kB / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007887, allocations: 0 / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007888, allocations: 0 / 310.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.007892, allocations: 0 / 310.7 MB, free: 11.78 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.0007666/0.008659, allocations: 0.7314 MB / 311.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.008692, allocations: 8.922 kB / 311.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.008776, allocations: 68.88 kB / 311.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.00915, allocations: 327.7 kB / 311.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.009181, allocations: 29.38 kB / 311.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.00923, allocations: 36.38 kB / 311.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.009634, allocations: 445.2 kB / 312.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.009647, allocations: 8.125 kB / 312.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.009671, allocations: 16.38 kB / 312.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.009684, allocations: 15.92 kB / 312.3 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.009829, allocations: 92.47 kB / 312.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01091, allocations: 1.099 MB / 313.5 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.01116, allocations: 157 kB / 313.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.01123, allocations: 53.3 kB / 313.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.01125, allocations: 8.234 kB / 313.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.01127, allocations: 30.8 kB / 313.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.01128, allocations: 0 / 313.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.00028/0.01156, allocations: 179.6 kB / 313.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.01162, allocations: 166.2 kB / 314.1 MB, free: 8.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01186, allocations: 355.3 kB / 314.4 MB, free: 7.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.01189, allocations: 33.7 kB / 314.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.01199, allocations: 213.2 kB / 314.7 MB, free: 7.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.01205, allocations: 107.1 kB / 314.8 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.01213, allocations: 69.94 kB / 314.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.01223, allocations: 358.7 kB / 315.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.01229, allocations: 38.16 kB / 315.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01243, allocations: 222.4 kB / 315.5 MB, free: 6.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01266, allocations: 197.2 kB / 315.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01266, allocations: 0 / 315.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002361/0.0129, allocations: 187.2 kB / 315.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.01291, allocations: 4 kB / 315.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01292, allocations: 4 kB / 315.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01293, allocations: 4 kB / 315.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.01312, allocations: 68.12 kB / 315.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01312, allocations: 11.88 kB / 315.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.01325, allocations: 35.77 kB / 316 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01326, allocations: 16 kB / 316 MB, free: 6.113 MB / 282.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.0001312/0.01339, allocations: 113.3 kB / 316.1 MB, free: 6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001326/0.01353, allocations: 229.7 kB / 316.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002003/0.01373, allocations: 183.5 kB / 316.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.01373, allocations: 0 / 316.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002163/0.01394, allocations: 185.3 kB / 316.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.01395, allocations: 8 kB / 316.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.01395, allocations: 224 / 316.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.01396, allocations: 8 kB / 316.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01411, allocations: 63.91 kB / 316.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01412, allocations: 4 kB / 316.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.01423, allocations: 35.72 kB / 316.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.01425, allocations: 12 kB / 316.8 MB, free: 5.191 MB / 282.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 (Gs.local_reset,PIp.I.local_reset,PIe.I.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 9.666e-05/0.01434, allocations: 200.8 kB / 317 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.0144, allocations: 31.97 kB / 317 MB, free: 4.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.01446, allocations: 52.56 kB / 317.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01446, allocations: 8 kB / 317.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01447, allocations: 7.922 kB / 317.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01447, allocations: 0 / 317.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.01474, allocations: 229.5 kB / 317.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01474, allocations: 0 / 317.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.01491, allocations: 47.97 kB / 317.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.01491, allocations: 0 / 317.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01492, allocations: 8 kB / 317.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01493, allocations: 0 / 317.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01493, allocations: 96 / 317.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.01522, allocations: 309.1 kB / 317.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.0153, allocations: 51.61 kB / 317.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.01534, allocations: 8 kB / 317.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.01546, allocations: 15.98 kB / 317.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.01549, allocations: 15.95 kB / 317.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.0155, allocations: 4 kB / 317.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01562, allocations: 152.7 kB / 317.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01562, allocations: 0 / 317.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.01598, allocations: 151.5 kB / 318.1 MB, free: 3.887 MB / 282.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 8.172e-05/0.01606, allocations: 92.34 kB / 318.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.01635, allocations: 218.8 kB / 318.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.01636, allocations: 4 kB / 318.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.01644, allocations: 65.92 kB / 318.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.01684, allocations: 138.9 kB / 318.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.01771, allocations: 0.7296 MB / 319.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.01779, allocations: 109.3 kB / 319.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.01794, allocations: 51.25 kB / 319.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.01817, allocations: 139.3 kB / 319.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01817, allocations: 0 / 319.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of Templates: time 0.007957/0.02613, allocations: 4.959 MB / 324.6 MB, free: 13.48 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.9473034851253033]