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.001366/0.001366, allocations: 76.42 kB / 19.96 MB, free: 1.746 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.001607/0.001607, allocations: 175.6 kB / 23.24 MB, free: 4.859 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.5/1.5, allocations: 177.1 MB / 203.5 MB, free: 9.16 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.1042/0.1042, allocations: 18.14 MB / 278.1 MB, free: 15.04 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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.441e-05, allocations: 8.812 kB / 415.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004651/0.004686, allocations: 2.772 MB / 418.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.006789, allocations: 1.028 MB / 419.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.007034, allocations: 23.81 kB / 419.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.007275, allocations: 87 kB / 419.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.007492, allocations: 95.08 kB / 419.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.008183, allocations: 322.5 kB / 419.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000649/0.008832, allocations: 0.5582 MB / 420.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.009129, allocations: 159.6 kB / 420.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.009353, allocations: 179.4 kB / 420.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.009556, allocations: 143.4 kB / 420.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.009634, allocations: 48 kB / 421 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.009704, allocations: 48 kB / 421 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.00981, allocations: 103.5 kB / 421.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.009964, allocations: 135.5 kB / 421.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.0107, allocations: 0.5643 MB / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.01071, allocations: 0 / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01071, allocations: 0 / 421.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.01072, allocations: 3.938 kB / 421.8 MB, free: 12.29 MB / 350.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.001498/0.01222, allocations: 0.7462 MB / 422.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.01226, allocations: 8.922 kB / 422.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.01237, allocations: 64.56 kB / 422.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.01301, allocations: 366.2 kB / 423 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.057e-05/0.01305, allocations: 29.38 kB / 423 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.01312, allocations: 40.36 kB / 423.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008968/0.01402, allocations: 0.5317 MB / 423.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01403, allocations: 192 / 423.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.01407, allocations: 12.38 kB / 423.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.01409, allocations: 15.92 kB / 423.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.01477, allocations: 282.4 kB / 423.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.01695, allocations: 1.333 MB / 425.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.01774, allocations: 323.4 kB / 425.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.01812, allocations: 129.3 kB / 425.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.01816, allocations: 4.234 kB / 425.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.01821, allocations: 42.78 kB / 425.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/0.01821, allocations: 0 / 425.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001481/0.01969, allocations: 413.5 kB / 426.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.01985, allocations: 162.2 kB / 426.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.02051, allocations: 389.8 kB / 426.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.02056, allocations: 33.7 kB / 426.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.02085, allocations: 265 kB / 426.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.02099, allocations: 103.1 kB / 427 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.02118, allocations: 73.97 kB / 427.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.02142, allocations: 354.8 kB / 427.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.02178, allocations: 114.1 kB / 427.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.02225, allocations: 306.3 kB / 427.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.02388, allocations: 0.5247 MB / 428.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.02388, allocations: 0 / 428.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007798/0.02466, allocations: 386.7 kB / 428.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.02468, allocations: 4 kB / 428.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.02469, allocations: 4 kB / 428.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.02471, allocations: 7.938 kB / 428.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.02506, allocations: 72.11 kB / 428.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.02507, allocations: 4 kB / 428.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.02531, allocations: 35.83 kB / 428.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.02533, allocations: 12 kB / 428.9 MB, free: 4.82 MB / 350.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.0003835/0.02572, allocations: 208.8 kB / 429.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003214/0.02604, allocations: 284.9 kB / 429.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001204/0.02724, allocations: 483.8 kB / 429.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.361e-06/0.02725, allocations: 4 kB / 429.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005524/0.0278, allocations: 329.1 kB / 430.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.02781, allocations: 6.344 kB / 430.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.02782, allocations: 4.219 kB / 430.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/0.02782, allocations: 4 kB / 430.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.02808, allocations: 71.78 kB / 430.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.02809, allocations: 4 kB / 430.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.02831, allocations: 31.81 kB / 430.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.02834, allocations: 12 kB / 430.3 MB, free: 3.316 MB / 350.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.0001921/0.02853, allocations: 200.1 kB / 430.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.02862, allocations: 51.67 kB / 430.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.02874, allocations: 56.61 kB / 430.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.02874, allocations: 7.938 kB / 430.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.02875, allocations: 0 / 430.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.02876, allocations: 4 kB / 430.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.02928, allocations: 325 kB / 431 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02928, allocations: 0 / 431 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.0296, allocations: 55.91 kB / 431 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.02961, allocations: 4 kB / 431 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.02964, allocations: 4.094 kB / 431 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.02964, allocations: 3.984 kB / 431 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.02964, allocations: 7.938 kB / 431 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.03074, allocations: 0.5429 MB / 431.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.0309, allocations: 67.64 kB / 431.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.03095, allocations: 8 kB / 431.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.03118, allocations: 15.98 kB / 431.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.03125, allocations: 19.91 kB / 431.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.03126, allocations: 11.98 kB / 431.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000295/0.03156, allocations: 267.2 kB / 432 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03156, allocations: 0 / 432 MB, free: 1.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005251/0.03208, allocations: 147.6 kB / 432.1 MB, free: 1.492 MB / 350.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.0001528/0.03224, allocations: 104.5 kB / 432.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009084/0.03315, allocations: 401 kB / 432.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.03315, allocations: 0 / 432.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.03343, allocations: 127.9 kB / 432.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/0.03415, allocations: 132.2 kB / 432.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.03565, allocations: 0.7757 MB / 433.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.03589, allocations: 233.6 kB / 433.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.03609, allocations: 51.25 kB / 433.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.944e-05/0.03619, allocations: 28.5 kB / 433.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.03619, allocations: 0 / 433.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01004/0.04623, allocations: 4.514 MB / 438.4 MB, free: 11.19 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8356928043067455] Failed to read output from testmodel.py, exit status != 0: 0.054884057492017746 0.266745259 0.252101583 Calling exit ...