Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [/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.09319/0.09319, allocations: 21.61 MB / 36.56 MB, free: 1.156 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.0009208/0.0009208, allocations: 179.6 kB / 42.83 MB, free: 3.832 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.204/1.204, allocations: 223.2 MB / 272.1 MB, free: 1.82 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.000828/0.000828, allocations: 108.8 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 8 kB / 397 MB, free: 46.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09562, allocations: 55.82 MB / 452.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00105/0.09672, allocations: 0.661 MB / 453.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.09792, allocations: 1.155 MB / 454.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.09799, allocations: 3.938 kB / 454.7 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.09821, allocations: 23.91 kB / 454.7 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.09832, allocations: 39.88 kB / 454.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.09846, allocations: 59.86 kB / 454.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.09863, allocations: 131.8 kB / 454.9 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.78e-05/0.09871, allocations: 19.98 kB / 455 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.09884, allocations: 87.8 kB / 455 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.09897, allocations: 79.77 kB / 455.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.099, allocations: 8 kB / 455.1 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.09902, allocations: 4 kB / 455.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.09908, allocations: 39.89 kB / 455.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.09912, allocations: 37.64 kB / 455.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.751e-05/0.09922, allocations: 95.81 kB / 455.3 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.09923, allocations: 3.938 kB / 455.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.09924, allocations: 7.938 kB / 455.3 MB, free: 4.207 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.09925, allocations: 3.938 kB / 455.3 MB, free: 4.203 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009894/0.1002, allocations: 0.5103 MB / 455.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1003, allocations: 8.031 kB / 455.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1003, allocations: 15.81 kB / 455.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.1008, allocations: 278.7 kB / 456.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1009, allocations: 12 kB / 456.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.1009, allocations: 8 kB / 456.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1011, allocations: 109.5 kB / 456.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1011, allocations: 0 / 456.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1011, allocations: 8 kB / 456.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1011, allocations: 3.953 kB / 456.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.1014, allocations: 103.9 kB / 456.4 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.102, allocations: 456.5 kB / 456.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1024, allocations: 158.4 kB / 457 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1024, allocations: 4 kB / 457 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1024, allocations: 34.56 kB / 457 MB, free: 2.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1024, allocations: 0 / 457 MB, free: 2.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009298/0.1034, allocations: 395.3 kB / 457.4 MB, free: 1.941 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1034, allocations: 51.41 kB / 457.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.1038, allocations: 234 kB / 457.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1039, allocations: 25.7 kB / 457.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.104, allocations: 127.9 kB / 457.8 MB, free: 1.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.104, allocations: 39.36 kB / 457.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-06/0.104, allocations: 4 kB / 457.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.1041, allocations: 330.8 kB / 458.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1042, allocations: 51.97 kB / 458.2 MB, free: 1.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.1043, allocations: 47.91 kB / 458.3 MB, free: 1.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1045, allocations: 66.5 kB / 458.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1045, allocations: 0 / 458.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004268/0.1049, allocations: 230.2 kB / 458.6 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1049, allocations: 8 kB / 458.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1049, allocations: 0 / 458.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.1051, allocations: 56.73 kB / 458.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.1053, allocations: 20 kB / 458.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1064, allocations: 1.507 MB / 460.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1067, allocations: 35.89 kB / 460.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1067, allocations: 8 kB / 460.2 MB, free: 14.94 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1068, allocations: 137.7 kB / 460.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1069, allocations: 15.88 kB / 460.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1069, allocations: 29.39 kB / 460.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1069, allocations: 0 / 460.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1069, allocations: 3.953 kB / 460.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1069, allocations: 0 / 460.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1072, allocations: 253.5 kB / 460.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1072, allocations: 0 / 460.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1073, allocations: 19.92 kB / 460.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.1075, allocations: 53.05 kB / 460.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1075, allocations: 8 kB / 460.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1086, allocations: 1.503 MB / 462.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1086, allocations: 7.891 kB / 462.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1091, allocations: 364.6 kB / 462.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.1092, allocations: 108.8 kB / 462.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1092, allocations: 4 kB / 462.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.1095, allocations: 36.02 kB / 462.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1095, allocations: 7.984 kB / 462.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1095, allocations: 0 / 462.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003689/0.1099, allocations: 200.2 kB / 462.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1099, allocations: 4 kB / 462.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.1102, allocations: 28 kB / 463 MB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1]) * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.42e-05/0.1103, allocations: 99.25 kB / 463.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.1107, allocations: 262.6 kB / 463.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1107, allocations: 0 / 463.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.111, allocations: 202.5 kB / 463.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1112, allocations: 20.17 kB / 463.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.1117, allocations: 387.3 kB / 463.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.112, allocations: 0.7361 MB / 464.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.1121, allocations: 33.44 kB / 464.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1121, allocations: 15.44 kB / 464.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1121, allocations: 0 / 464.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Templates: time 0.003535/0.1156, allocations: 1.683 MB / 466.4 MB, free: 8.445 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)