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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09293/0.09293, allocations: 21.61 MB / 36.56 MB, free: 1.086 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 187.1 kB / 42.83 MB, free: 3.781 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 223.2 MB / 272.1 MB, free: 1.746 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 105.5 kB / 328.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 11.98 kB / 397 MB, free: 46.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.0838, allocations: 55.81 MB / 452.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2724/0.3563, allocations: 82.36 MB / 0.5227 GB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.3565, allocations: 76.48 kB / 0.5227 GB, free: 12.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.374, allocations: 8.308 MB / 0.5309 GB, free: 10.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3741, allocations: 1.281 kB / 0.5309 GB, free: 10.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.085e-05/0.3741, allocations: 10.19 kB / 0.5309 GB, free: 10.3 MB / 362.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.0008252/0.3749, allocations: 0.7566 MB / 0.5316 GB, free: 9.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.375, allocations: 11.78 kB / 0.5316 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3751, allocations: 62.09 kB / 0.5317 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.3755, allocations: 410.6 kB / 0.5321 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3755, allocations: 32.02 kB / 0.5321 GB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.3756, allocations: 34.5 kB / 0.5321 GB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.3761, allocations: 424.3 kB / 0.5325 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3761, allocations: 0 / 0.5325 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3761, allocations: 23.27 kB / 0.5326 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3762, allocations: 11.69 kB / 0.5326 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.3766, allocations: 295.2 kB / 0.5328 GB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.378, allocations: 1.547 MB / 0.5344 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.3786, allocations: 382.5 kB / 0.5347 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3787, allocations: 4.109 kB / 0.5347 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3787, allocations: 42.56 kB / 0.5348 GB, free: 7.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.263e-06/0.3787, allocations: 0 / 0.5348 GB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007015/0.3794, allocations: 435.1 kB / 0.5352 GB, free: 7.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3794, allocations: 114.6 kB / 0.5353 GB, free: 7.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3797, allocations: 361.4 kB / 0.5356 GB, free: 7.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3798, allocations: 36.64 kB / 0.5357 GB, free: 7.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3799, allocations: 251.4 kB / 0.5359 GB, free: 7.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.3799, allocations: 103 kB / 0.536 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.38, allocations: 5.562 kB / 0.536 GB, free: 7.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.38, allocations: 356.3 kB / 0.5364 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3802, allocations: 123.6 kB / 0.5365 GB, free: 6.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3805, allocations: 199.4 kB / 0.5367 GB, free: 6.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3807, allocations: 143.2 kB / 0.5368 GB, free: 6.781 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3807, allocations: 0 / 0.5368 GB, free: 6.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005735/0.3813, allocations: 391 kB / 0.5372 GB, free: 6.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.3814, allocations: 0.7066 MB / 0.5379 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3814, allocations: 4.406 kB / 0.5379 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3815, allocations: 3.875 kB / 0.5379 GB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.3817, allocations: 76.8 kB / 0.5379 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3818, allocations: 0 / 0.5379 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.382, allocations: 49.36 kB / 0.538 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.382, allocations: 14.78 kB / 0.538 GB, free: 5.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/0.382, allocations: 3.812 kB / 0.538 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003364/0.3823, allocations: 260.7 kB / 0.5383 GB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.3823, allocations: 11.78 kB / 0.5383 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.3824, allocations: 3.844 kB / 0.5383 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.3826, allocations: 62.03 kB / 0.5383 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.3826, allocations: 7.734 kB / 0.5383 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3827, allocations: 33.91 kB / 0.5384 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3828, allocations: 11.16 kB / 0.5384 GB, free: 5.828 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.383, allocations: 239.8 kB / 0.5386 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.383, allocations: 46 kB / 0.5387 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/0.3831, allocations: 53.41 kB / 0.5387 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3831, allocations: 7.969 kB / 0.5387 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3831, allocations: 3.953 kB / 0.5387 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3831, allocations: 0 / 0.5387 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.3835, allocations: 467 kB / 0.5392 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3835, allocations: 0 / 0.5392 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.3838, allocations: 57.56 kB / 0.5392 GB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3838, allocations: 3.938 kB / 0.5392 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3838, allocations: 6.438 kB / 0.5392 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3838, allocations: 0 / 0.5392 GB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3838, allocations: 4 kB / 0.5392 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.3846, allocations: 0.5763 MB / 0.5398 GB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3847, allocations: 148.5 kB / 0.5399 GB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3847, allocations: 3.312 kB / 0.5399 GB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3849, allocations: 26.48 kB / 0.54 GB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.385, allocations: 22.88 kB / 0.54 GB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.385, allocations: 3.875 kB / 0.54 GB, free: 4.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.3852, allocations: 285.4 kB / 0.5403 GB, free: 4.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3852, allocations: 0 / 0.5403 GB, free: 4.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.3856, allocations: 153 kB / 0.5404 GB, free: 4.766 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.608e-05/0.3857, allocations: 109.2 kB / 0.5405 GB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.3863, allocations: 435.3 kB / 0.5409 GB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.3864, allocations: 0 / 0.5409 GB, free: 4.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3866, allocations: 145.5 kB / 0.5411 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.387, allocations: 115.6 kB / 0.5412 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.388, allocations: 0.946 MB / 0.5421 GB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.3882, allocations: 0.8411 MB / 0.5429 GB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.3884, allocations: 50.36 kB / 0.543 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.3885, allocations: 30.62 kB / 0.543 GB, free: 3.152 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3885, allocations: 0 / 0.543 GB, free: 3.152 MB / 362.7 MB Notification: Performance of Templates: time 0.005818/0.3943, allocations: 4.061 MB / 0.547 GB, free: 1.199 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile (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)