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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.1309/0.1309, allocations: 21.46 MB / 36.42 MB, free: 1.141 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.000934, allocations: 187.1 kB / 42.65 MB, free: 3.992 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.4 MB / 254.1 MB, free: 15.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007411/0.0007411, allocations: 100.8 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 12.25 kB / 373.3 MB, free: 59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09338, allocations: 52.96 MB / 426.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002711/0.09614, allocations: 2.539 MB / 428.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.09754, allocations: 1.022 MB / 429.8 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.09776, allocations: 19.88 kB / 429.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.09794, allocations: 59.39 kB / 429.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.0981, allocations: 71.38 kB / 429.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.09866, allocations: 228.5 kB / 430.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.09906, allocations: 495.8 kB / 430.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.09934, allocations: 175.5 kB / 430.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.09947, allocations: 127.2 kB / 430.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.09962, allocations: 150.9 kB / 431.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.09966, allocations: 12 kB / 431.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.09971, allocations: 16 kB / 431.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.09975, allocations: 67.5 kB / 431.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.0998, allocations: 97.45 kB / 431.3 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1, allocations: 375.1 kB / 431.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1001, allocations: 0 / 431.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1001, allocations: 4 kB / 431.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1001, allocations: 0 / 431.6 MB, free: 7.551 MB / 298.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.000929/0.101, allocations: 0.744 MB / 432.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1011, allocations: 12.03 kB / 432.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.1012, allocations: 67.23 kB / 432.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1015, allocations: 408.7 kB / 432.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1016, allocations: 21 kB / 432.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1016, allocations: 40 kB / 432.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.1022, allocations: 423.5 kB / 433.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1023, allocations: 0 / 433.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.1023, allocations: 16 kB / 433.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1023, allocations: 12 kB / 433.4 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.1028, allocations: 302.3 kB / 433.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1043, allocations: 1.55 MB / 435.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.105, allocations: 370 kB / 435.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.1052, allocations: 145.3 kB / 435.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1053, allocations: 4.234 kB / 435.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.1053, allocations: 34.75 kB / 435.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.1053, allocations: 0 / 435.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008005/0.1061, allocations: 435.6 kB / 436.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1062, allocations: 110.8 kB / 436.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1065, allocations: 430 kB / 436.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1065, allocations: 29.7 kB / 436.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1066, allocations: 264.1 kB / 437 MB, free: 1.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1067, allocations: 103.2 kB / 437.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.1067, allocations: 4 kB / 437.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.1068, allocations: 358.8 kB / 437.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.107, allocations: 120.6 kB / 437.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1073, allocations: 201.7 kB / 437.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.1075, allocations: 140.8 kB / 437.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1076, allocations: 0 / 437.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005966/0.1082, allocations: 394.9 kB / 438.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.1082, allocations: 147.2 kB / 438.4 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1082, allocations: 4 kB / 438.4 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1082, allocations: 4 kB / 438.4 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1085, allocations: 67.91 kB / 438.5 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1086, allocations: 8 kB / 438.5 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1088, allocations: 51.66 kB / 438.6 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1088, allocations: 8 kB / 438.6 MB, free: 300 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.1088, allocations: 4 kB / 438.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003855/0.1092, allocations: 268 kB / 438.8 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1092, allocations: 3.984 kB / 438.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.1092, allocations: 4 kB / 438.8 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1095, allocations: 63.86 kB / 438.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1095, allocations: 4 kB / 438.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1097, allocations: 31.69 kB / 438.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1097, allocations: 12 kB / 438.9 MB, free: 15.91 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002827/0.11, allocations: 245.1 kB / 439.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.1101, allocations: 47.44 kB / 439.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.1102, allocations: 56.75 kB / 439.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1102, allocations: 7.984 kB / 439.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1102, allocations: 0 / 439.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1102, allocations: 3.953 kB / 439.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1107, allocations: 457.2 kB / 439.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1107, allocations: 0 / 439.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.1111, allocations: 71.84 kB / 439.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1111, allocations: 4 kB / 439.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.1111, allocations: 4 kB / 439.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1111, allocations: 4 kB / 439.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1111, allocations: 7.969 kB / 439.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009107/0.112, allocations: 0.5692 MB / 440.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1122, allocations: 144.5 kB / 440.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1122, allocations: 12 kB / 440.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1125, allocations: 23.92 kB / 440.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.1125, allocations: 19.91 kB / 440.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1126, allocations: 8 kB / 440.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002714/0.1128, allocations: 290.9 kB / 440.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1128, allocations: 0 / 440.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.1133, allocations: 139.4 kB / 441 MB, free: 13.73 MB / 314.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 9.352e-05/0.1134, allocations: 115 kB / 441.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.1142, allocations: 432 kB / 441.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1142, allocations: 0 / 441.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.1145, allocations: 140.3 kB / 441.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.1152, allocations: 113.8 kB / 441.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1166, allocations: 0.9664 MB / 442.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1169, allocations: 0.8351 MB / 443.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.1172, allocations: 47.39 kB / 443.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.1173, allocations: 27.44 kB / 443.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1173, allocations: 4 kB / 443.7 MB, free: 11 MB / 314.7 MB Notification: Performance of Templates: time 0.00792/0.1252, allocations: 4.037 MB / 447.7 MB, free: 6.969 MB / 314.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)