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.0007294/0.0007294, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007421/0.0007421, allocations: 165.2 kB / 23.98 MB, free: 0.5859 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.8348/0.8348, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.05904/0.05904, allocations: 18.14 MB / 278.8 MB, free: 11.52 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.223e-06/1.223e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.393e-05, allocations: 5.922 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002363/0.002387, allocations: 2.762 MB / 419.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003692, allocations: 1.041 MB / 420.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.003905, allocations: 24.84 kB / 420.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.004091, allocations: 88.34 kB / 420.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.004232, allocations: 88.27 kB / 420.3 MB, free: 9.742 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.004738, allocations: 332.8 kB / 420.6 MB, free: 9.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.005139, allocations: 0.5559 MB / 421.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.00536, allocations: 157.4 kB / 421.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005504, allocations: 186.8 kB / 421.5 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005644, allocations: 137.4 kB / 421.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.005693, allocations: 46.53 kB / 421.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.005733, allocations: 49.38 kB / 421.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.005785, allocations: 109.6 kB / 421.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.005869, allocations: 136.1 kB / 422 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.006291, allocations: 0.5464 MB / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006293, allocations: 0 / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 5e-07/0.006293, allocations: 0 / 422.5 MB, free: 8.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.006305, allocations: 1.062 kB / 422.5 MB, free: 8.609 MB / 330.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.0007475/0.007052, allocations: 0.7598 MB / 423.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.007084, allocations: 10.78 kB / 423.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.007153, allocations: 63 kB / 423.4 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.007517, allocations: 363.2 kB / 423.7 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.00754, allocations: 28.22 kB / 423.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.00758, allocations: 36.73 kB / 423.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.008112, allocations: 0.53 MB / 424.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008126, allocations: 5.25 kB / 424.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.008153, allocations: 16.78 kB / 424.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.008165, allocations: 12.12 kB / 424.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.008577, allocations: 282 kB / 424.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.009758, allocations: 1.336 MB / 426 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.01024, allocations: 332.5 kB / 426.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.0104, allocations: 129.1 kB / 426.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.01043, allocations: 6.734 kB / 426.4 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.01044, allocations: 34.11 kB / 426.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.01044, allocations: 1.281 kB / 426.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005669/0.01101, allocations: 412.6 kB / 426.9 MB, free: 5.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.01104, allocations: 159.1 kB / 427 MB, free: 5.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.01131, allocations: 385 kB / 427.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.01133, allocations: 35.95 kB / 427.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01143, allocations: 270.4 kB / 427.7 MB, free: 5.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.01147, allocations: 106.8 kB / 427.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.01155, allocations: 66.41 kB / 427.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.01161, allocations: 355.2 kB / 428.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.01179, allocations: 114.1 kB / 428.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.01199, allocations: 309.6 kB / 428.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000848/0.01284, allocations: 0.5218 MB / 429.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01284, allocations: 0 / 429.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004233/0.01326, allocations: 384.4 kB / 429.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01328, allocations: 5.828 kB / 429.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01329, allocations: 2.281 kB / 429.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.0133, allocations: 6.5 kB / 429.5 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.01346, allocations: 72.58 kB / 429.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01347, allocations: 7.594 kB / 429.6 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01358, allocations: 38.22 kB / 429.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.0136, allocations: 14.02 kB / 429.7 MB, free: 3.98 MB / 330.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.0002085/0.01381, allocations: 208.7 kB / 429.9 MB, free: 3.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.01396, allocations: 291.8 kB / 430.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00063/0.01459, allocations: 475.5 kB / 430.6 MB, free: 3.332 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.01459, allocations: 0 / 430.6 MB, free: 3.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003208/0.01491, allocations: 332.2 kB / 430.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.01492, allocations: 7.438 kB / 430.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.01492, allocations: 1.406 kB / 430.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.01492, allocations: 3.938 kB / 431 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01506, allocations: 66.73 kB / 431 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01506, allocations: 7.75 kB / 431 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01516, allocations: 28.86 kB / 431.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.01517, allocations: 8.969 kB / 431.1 MB, free: 3.141 MB / 330.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 7.343e-05/0.01525, allocations: 206.5 kB / 431.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.01528, allocations: 48.02 kB / 431.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.01534, allocations: 49.58 kB / 431.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.01535, allocations: 8.438 kB / 431.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01535, allocations: 7.938 kB / 431.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.01536, allocations: 1.594 kB / 431.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.01562, allocations: 333.2 kB / 431.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.01562, allocations: 0 / 431.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.01578, allocations: 53.97 kB / 431.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01578, allocations: 1.156 kB / 431.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01579, allocations: 6.156 kB / 431.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01579, allocations: 10 kB / 431.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01579, allocations: 3.938 kB / 431.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.01634, allocations: 0.5372 MB / 432.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.01642, allocations: 75.88 kB / 432.4 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.01645, allocations: 7.266 kB / 432.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01656, allocations: 18.25 kB / 432.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.0166, allocations: 22.33 kB / 432.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.01661, allocations: 5.656 kB / 432.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.01678, allocations: 270.8 kB / 432.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01678, allocations: 0 / 432.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.01709, allocations: 139.2 kB / 432.8 MB, free: 2.102 MB / 330.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 6.69e-05/0.01716, allocations: 104.9 kB / 432.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.01767, allocations: 402 kB / 433.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01767, allocations: 5.656 kB / 433.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.01783, allocations: 133 kB / 433.5 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.01822, allocations: 123.6 kB / 433.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.01909, allocations: 0.8089 MB / 434.4 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.01925, allocations: 229.2 kB / 434.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.01933, allocations: 34.95 kB / 434.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01933, allocations: 0 / 434.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Templates: time 0.00636/0.02569, allocations: 5.39 MB / 440 MB, free: 15.09 MB / 346.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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4671308333054185] Failed to read output from testmodel.py, exit status != 0: 0.030640600249171257 0.038659849 0.030892777000000003 Calling exit ...