Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") [/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.09185/0.09185, allocations: 21.61 MB / 36.56 MB, free: 1.102 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.0008552/0.0008553, allocations: 183.1 kB / 42.82 MB, free: 3.789 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.211/1.211, allocations: 223.2 MB / 272.1 MB, free: 1.355 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.0008591/0.000859, allocations: 102.6 kB / 328.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 12 kB / 397 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0805/0.08089, allocations: 55.81 MB / 452.8 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.3413, allocations: 80.06 MB / 0.5204 GB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3415, allocations: 76.41 kB / 0.5205 GB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.3559, allocations: 5.047 MB / 0.5254 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3559, allocations: 0 / 0.5254 GB, free: 12.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.3559, allocations: 11.88 kB / 0.5254 GB, free: 12.35 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001608/0.3575, allocations: 0.6723 MB / 0.5261 GB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3576, allocations: 11.38 kB / 0.5261 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.3577, allocations: 31.11 kB / 0.5261 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3588, allocations: 419.8 kB / 0.5265 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3588, allocations: 12.19 kB / 0.5265 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3588, allocations: 14.75 kB / 0.5266 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.3592, allocations: 171.2 kB / 0.5267 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3592, allocations: 9.438 kB / 0.5267 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3592, allocations: 8.953 kB / 0.5267 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3592, allocations: 2.188 kB / 0.5267 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.3596, allocations: 179.1 kB / 0.5269 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.3606, allocations: 0.6122 MB / 0.5275 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/0.3612, allocations: 252.7 kB / 0.5277 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3613, allocations: 4.172 kB / 0.5278 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3613, allocations: 36.59 kB / 0.5278 GB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.3613, allocations: 4 kB / 0.5278 GB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007186/0.362, allocations: 345.3 kB / 0.5281 GB, free: 10.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3621, allocations: 59.16 kB / 0.5282 GB, free: 10.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.363, allocations: 390.3 kB / 0.5285 GB, free: 10.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.363, allocations: 28.2 kB / 0.5286 GB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.3631, allocations: 154.5 kB / 0.5287 GB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.3632, allocations: 83.91 kB / 0.5288 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.3632, allocations: 3.875 kB / 0.5288 GB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.3633, allocations: 342.8 kB / 0.5291 GB, free: 10 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3635, allocations: 91.33 kB / 0.5292 GB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3636, allocations: 87.06 kB / 0.5293 GB, free: 9.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.3638, allocations: 106.3 kB / 0.5294 GB, free: 9.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3638, allocations: 0 / 0.5294 GB, free: 9.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004993/0.3643, allocations: 317 kB / 0.5297 GB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3644, allocations: 3.688 kB / 0.5297 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3644, allocations: 3.984 kB / 0.5297 GB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3644, allocations: 0 / 0.5297 GB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3647, allocations: 46.42 kB / 0.5298 GB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3647, allocations: 0 / 0.5298 GB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.3652, allocations: 67.17 kB / 0.5298 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3652, allocations: 11.78 kB / 0.5298 GB, free: 9.82 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real 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 (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 prepare postOptimizeDAE: time 0.000224/0.3655, allocations: 166.4 kB / 0.53 GB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.3655, allocations: 27.31 kB / 0.53 GB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005755/0.3661, allocations: 306.5 kB / 0.5303 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3661, allocations: 4 kB / 0.5303 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3661, allocations: 0 / 0.5303 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3662, allocations: 4.859 kB / 0.5303 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.3665, allocations: 356.6 kB / 0.5307 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3665, allocations: 0 / 0.5307 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.3669, allocations: 42.84 kB / 0.5307 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3669, allocations: 3.844 kB / 0.5307 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.3669, allocations: 3.625 kB / 0.5307 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3669, allocations: 7.906 kB / 0.5307 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3669, allocations: 0 / 0.5307 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.3676, allocations: 0.4956 MB / 0.5312 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3677, allocations: 113 kB / 0.5313 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.3678, allocations: 10.11 kB / 0.5313 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.3683, allocations: 49.88 kB / 0.5314 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3684, allocations: 26.25 kB / 0.5314 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3684, allocations: 5.125 kB / 0.5314 GB, free: 8.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008323/0.3692, allocations: 331.5 kB / 0.5317 GB, free: 8.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3693, allocations: 3.938 kB / 0.5317 GB, free: 8.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000345/0.3696, allocations: 57.84 kB / 0.5318 GB, free: 8.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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 0.0001252/0.3697, allocations: 117.7 kB / 0.5319 GB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/0.3702, allocations: 231 kB / 0.5321 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3702, allocations: 0 / 0.5321 GB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.3704, allocations: 124.4 kB / 0.5322 GB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3707, allocations: 52.11 kB / 0.5323 GB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3719, allocations: 0.7317 MB / 0.533 GB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3721, allocations: 0.7964 MB / 0.5338 GB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.3723, allocations: 60.91 kB / 0.5338 GB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.3724, allocations: 26.77 kB / 0.5338 GB, free: 7.359 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3724, allocations: 0 / 0.5338 GB, free: 7.359 MB / 362.7 MB Notification: Performance of Templates: time 0.004609/0.3771, allocations: 2.566 MB / 0.5364 GB, free: 6.121 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)