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.001786/0.001786, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.002418/0.002418, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.543/1.543, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.09788/0.09788, allocations: 17.79 MB / 277.6 MB, free: 15.33 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.003376/0.003376, allocations: 67.89 kB / 414.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1858, allocations: 59.56 MB / 474.2 MB, free: 8.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.007463/0.1932, allocations: 2.776 MB / 477 MB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1968, allocations: 1.029 MB / 478 MB, free: 4.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007652/0.1975, allocations: 27.81 kB / 478 MB, free: 4.957 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.1981, allocations: 83.06 kB / 478.1 MB, free: 4.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006273/0.1987, allocations: 83.14 kB / 478.2 MB, free: 4.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.2001, allocations: 334.3 kB / 478.5 MB, free: 4.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.2014, allocations: 0.5544 MB / 479.1 MB, free: 3.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006277/0.202, allocations: 155.6 kB / 479.2 MB, free: 3.762 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2025, allocations: 203.1 kB / 479.4 MB, free: 3.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.2028, allocations: 186.8 kB / 479.6 MB, free: 3.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.865e-05/0.2029, allocations: 44 kB / 479.7 MB, free: 3.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.203, allocations: 48 kB / 479.7 MB, free: 3.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2031, allocations: 99.62 kB / 479.8 MB, free: 3.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.2034, allocations: 182.8 kB / 480 MB, free: 3.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.2041, allocations: 0.5444 MB / 480.5 MB, free: 2.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2041, allocations: 0 / 480.5 MB, free: 2.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.2041, allocations: 0 / 480.5 MB, free: 2.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.2041, allocations: 0 / 480.5 MB, free: 2.465 MB / 446.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.001644/0.2058, allocations: 0.7618 MB / 481.3 MB, free: 1.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.2059, allocations: 8.922 kB / 481.3 MB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.206, allocations: 68.52 kB / 481.4 MB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.2068, allocations: 371 kB / 481.7 MB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.2069, allocations: 29.38 kB / 481.7 MB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.2069, allocations: 36.38 kB / 481.8 MB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.2078, allocations: 0.5315 MB / 482.3 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.2079, allocations: 3.938 kB / 482.3 MB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.2079, allocations: 20 kB / 482.3 MB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.2079, allocations: 8 kB / 482.3 MB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.2086, allocations: 278.4 kB / 482.6 MB, free: 252 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.31/0.5186, allocations: 1.332 MB / 484 MB, free: 51.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.5194, allocations: 334.7 kB / 484.3 MB, free: 51.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.5196, allocations: 122.7 kB / 484.4 MB, free: 51.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.5197, allocations: 3.328 kB / 484.4 MB, free: 51.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5197, allocations: 40.02 kB / 484.4 MB, free: 51.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.797e-06/0.5197, allocations: 0 / 484.4 MB, free: 51.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008826/0.5206, allocations: 410.7 kB / 484.8 MB, free: 51.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5207, allocations: 164.2 kB / 485 MB, free: 51.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.5211, allocations: 384.2 kB / 485.4 MB, free: 51.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.5212, allocations: 38.28 kB / 485.4 MB, free: 51.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.5213, allocations: 268.9 kB / 485.7 MB, free: 51.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.5214, allocations: 104.5 kB / 485.8 MB, free: 51.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.5215, allocations: 62.78 kB / 485.8 MB, free: 51.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5217, allocations: 356.4 kB / 486.2 MB, free: 50.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.522, allocations: 120.5 kB / 486.3 MB, free: 50.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.5223, allocations: 313.8 kB / 486.6 MB, free: 50.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5236, allocations: 0.5145 MB / 487.1 MB, free: 50.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5236, allocations: 2.344 kB / 487.1 MB, free: 50.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006583/0.5243, allocations: 392.3 kB / 487.5 MB, free: 50.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5243, allocations: 6.312 kB / 487.5 MB, free: 50.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5243, allocations: 2.844 kB / 487.5 MB, free: 50.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.5243, allocations: 5.656 kB / 487.5 MB, free: 50.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.5246, allocations: 68.14 kB / 487.6 MB, free: 50.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5246, allocations: 7.125 kB / 487.6 MB, free: 50.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5249, allocations: 40.53 kB / 487.6 MB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5249, allocations: 16.62 kB / 487.7 MB, free: 50.14 MB / 446.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.0003485/0.5252, allocations: 203.3 kB / 487.9 MB, free: 50 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002615/0.5255, allocations: 289.1 kB / 488.1 MB, free: 49.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009927/0.5265, allocations: 473.7 kB / 488.6 MB, free: 49.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.5265, allocations: 3.219 kB / 488.6 MB, free: 49.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004729/0.527, allocations: 325.1 kB / 488.9 MB, free: 49.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.527, allocations: 6.469 kB / 488.9 MB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.527, allocations: 4.531 kB / 488.9 MB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/0.527, allocations: 6.969 kB / 488.9 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5272, allocations: 63.17 kB / 489 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5272, allocations: 4.656 kB / 489 MB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.5274, allocations: 39.97 kB / 489 MB, free: 49.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.5275, allocations: 9.406 kB / 489.1 MB, free: 49.32 MB / 446.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.0001454/0.5276, allocations: 202.5 kB / 489.2 MB, free: 49.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.5277, allocations: 42.88 kB / 489.3 MB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5278, allocations: 52.02 kB / 489.3 MB, free: 49.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5278, allocations: 7.219 kB / 489.3 MB, free: 49.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5278, allocations: 3.938 kB / 489.4 MB, free: 49.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5278, allocations: 6.344 kB / 489.4 MB, free: 49.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.5282, allocations: 334.5 kB / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5282, allocations: 1.875 kB / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.5285, allocations: 54.22 kB / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5285, allocations: 0 / 489.7 MB, free: 48.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.5286, allocations: 10.52 kB / 489.8 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5286, allocations: 0 / 489.8 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5286, allocations: 0 / 489.8 MB, free: 48.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.5294, allocations: 0.5511 MB / 490.3 MB, free: 48.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5295, allocations: 64.36 kB / 490.4 MB, free: 48.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.5296, allocations: 13.64 kB / 490.4 MB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.5298, allocations: 12.78 kB / 490.4 MB, free: 48.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.5298, allocations: 25.84 kB / 490.4 MB, free: 48.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5298, allocations: 7.125 kB / 490.4 MB, free: 48.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.5301, allocations: 269.9 kB / 490.7 MB, free: 48.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5301, allocations: 0 / 490.7 MB, free: 48.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.5306, allocations: 150.1 kB / 490.8 MB, free: 48.31 MB / 446.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.0001034/0.5307, allocations: 104.5 kB / 490.9 MB, free: 48.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.5315, allocations: 401.9 kB / 491.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5315, allocations: 0 / 491.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.5317, allocations: 123.2 kB / 491.4 MB, free: 48.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.5324, allocations: 128.7 kB / 491.6 MB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5337, allocations: 0.8081 MB / 492.4 MB, free: 47.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.5339, allocations: 229.7 kB / 492.6 MB, free: 47.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.5341, allocations: 53.91 kB / 492.7 MB, free: 47.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.5342, allocations: 27.78 kB / 492.7 MB, free: 47.43 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5342, allocations: 0 / 492.7 MB, free: 47.43 MB / 446.1 MB Notification: Performance of Templates: time 0.009275/0.5435, allocations: 4.555 MB / 497.2 MB, free: 46.91 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2297813390614465] Failed to read output from testmodel.py, exit status != 0: 0.5551133779808879 0.562701139 0.35617879 Calling exit ...