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.001389/0.001389, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001416/0.001416, allocations: 177 kB / 24.08 MB, free: 432 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 1.047/1.047, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.06486/0.06486, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.593e-06/1.593e-06, allocations: 0 / 357.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.19e-05, allocations: 8.984 kB / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003091/0.003113, allocations: 2.811 MB / 360.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004714, allocations: 1.052 MB / 361.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.00494, allocations: 23.81 kB / 361.7 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.005139, allocations: 91 kB / 361.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.005277, allocations: 91.08 kB / 361.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.005741, allocations: 335.3 kB / 362.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.006213, allocations: 0.5582 MB / 362.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.006389, allocations: 159.6 kB / 362.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.006528, allocations: 179.4 kB / 363.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.006633, allocations: 143.5 kB / 363.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.006671, allocations: 44 kB / 363.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.006707, allocations: 48 kB / 363.3 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.006757, allocations: 111.5 kB / 363.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.006832, allocations: 135.5 kB / 363.5 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.007094, allocations: 358.4 kB / 363.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-06/0.007095, allocations: 0 / 363.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.007096, allocations: 0 / 363.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007101, allocations: 0 / 363.9 MB, free: 1.375 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.0008242/0.007925, allocations: 0.8538 MB / 364.7 MB, free: 492 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.007961, allocations: 8.922 kB / 364.7 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.008045, allocations: 96.5 kB / 364.8 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.008424, allocations: 389 kB / 365.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.008452, allocations: 25.38 kB / 365.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.008496, allocations: 40.38 kB / 365.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.008898, allocations: 468.3 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.008909, allocations: 4.125 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.00893, allocations: 16.38 kB / 365.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.008941, allocations: 15.94 kB / 365.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.009074, allocations: 100.4 kB / 365.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01022, allocations: 1.568 MB / 367.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.01044, allocations: 179.6 kB / 367.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.0105, allocations: 56.12 kB / 367.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.01052, allocations: 8.234 kB / 367.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.01053, allocations: 33.62 kB / 367.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.122e-06/0.01054, allocations: 0 / 367.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005203/0.01106, allocations: 228 kB / 367.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.01112, allocations: 162.1 kB / 368.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.01139, allocations: 410.4 kB / 368.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01141, allocations: 37.7 kB / 368.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01154, allocations: 318.9 kB / 368.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.0116, allocations: 107.1 kB / 368.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.01167, allocations: 75.59 kB / 369 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.01186, allocations: 0.5273 MB / 369.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.01191, allocations: 40.97 kB / 369.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.01206, allocations: 264.3 kB / 369.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.01225, allocations: 215.9 kB / 370 MB, free: 10.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01226, allocations: 0 / 370 MB, free: 10.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002251/0.01248, allocations: 247 kB / 370.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.01249, allocations: 4 kB / 370.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.01249, allocations: 4.219 kB / 370.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.0125, allocations: 8 kB / 370.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01265, allocations: 71.84 kB / 370.4 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.01265, allocations: 4 kB / 370.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.01275, allocations: 35.88 kB / 370.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01276, allocations: 7.984 kB / 370.4 MB, free: 10.39 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.0001307/0.01289, allocations: 175.4 kB / 370.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001328/0.01303, allocations: 263.5 kB / 370.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005358/0.01356, allocations: 222.1 kB / 371.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01356, allocations: 0 / 371.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002146/0.01378, allocations: 241.3 kB / 371.3 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-06/0.01378, allocations: 8.031 kB / 371.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.01378, allocations: 4 kB / 371.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-06/0.01379, allocations: 4 kB / 371.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01391, allocations: 59.92 kB / 371.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01391, allocations: 11.92 kB / 371.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.822e-05/0.01401, allocations: 31.78 kB / 371.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.01402, allocations: 8 kB / 371.4 MB, free: 9.266 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 (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 0.0001042/0.01412, allocations: 284 kB / 371.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.01417, allocations: 59.72 kB / 371.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.01422, allocations: 56.61 kB / 371.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01423, allocations: 0 / 371.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01423, allocations: 3.938 kB / 371.8 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01423, allocations: 4 kB / 371.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01446, allocations: 256.9 kB / 372.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.01446, allocations: 0 / 372.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.01459, allocations: 51.92 kB / 372.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.01459, allocations: 0 / 372.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.0146, allocations: 8 kB / 372.1 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01461, allocations: 4 kB / 372.1 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01461, allocations: 3.984 kB / 372.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.01492, allocations: 393.8 kB / 372.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.015, allocations: 75.58 kB / 372.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01502, allocations: 4 kB / 372.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.01512, allocations: 15.98 kB / 372.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.01514, allocations: 19.97 kB / 372.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01515, allocations: 0 / 372.6 MB, free: 7.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.01529, allocations: 274.9 kB / 372.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 0 / 372.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.0156, allocations: 151.6 kB / 373.1 MB, free: 7.586 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 6.387e-05/0.01566, allocations: 103.2 kB / 373.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.01593, allocations: 244.3 kB / 373.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01594, allocations: 0.875 kB / 373.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.01601, allocations: 72.75 kB / 373.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01635, allocations: 124.6 kB / 373.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.01704, allocations: 0.735 MB / 374.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.01736, allocations: 117.1 kB / 374.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.01749, allocations: 55.28 kB / 374.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.01769, allocations: 170.1 kB / 374.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01769, allocations: 0 / 374.7 MB, free: 5.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006645/0.02433, allocations: 4.969 MB / 379.6 MB, free: 1.047 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.943959326017648]