Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [/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.0944/0.0944, allocations: 21.61 MB / 36.56 MB, free: 1.09 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.0009082/0.0009082, allocations: 182.4 kB / 42.82 MB, free: 3.785 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.201/1.201, allocations: 223.2 MB / 272.1 MB, free: 1.348 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.0008011/0.0008011, allocations: 96.25 kB / 328.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 8 kB / 397 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07642/0.07676, allocations: 55.82 MB / 452.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.3409, allocations: 80 MB / 0.5204 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.3411, allocations: 74.77 kB / 0.5204 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009492/0.3506, allocations: 3.532 MB / 0.5239 GB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3506, allocations: 0 / 0.5239 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3506, allocations: 3.906 kB / 0.5239 GB, free: 12.61 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008016/0.3514, allocations: 0.5367 MB / 0.5244 GB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.3515, allocations: 7.688 kB / 0.5244 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.3515, allocations: 23.41 kB / 0.5244 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.3521, allocations: 313.8 kB / 0.5247 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3521, allocations: 6.781 kB / 0.5248 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3521, allocations: 14.41 kB / 0.5248 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3523, allocations: 124.5 kB / 0.5249 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3523, allocations: 0 / 0.5249 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3524, allocations: 7.266 kB / 0.5249 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3524, allocations: 7.844 kB / 0.5249 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.3526, allocations: 124.6 kB / 0.525 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.3532, allocations: 490.2 kB / 0.5255 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3535, allocations: 177.7 kB / 0.5257 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3536, allocations: 3.719 kB / 0.5257 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.3536, allocations: 39.61 kB / 0.5257 GB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3536, allocations: 0 / 0.5257 GB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004031/0.354, allocations: 233.7 kB / 0.5259 GB, free: 11.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.354, allocations: 51.69 kB / 0.526 GB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.3544, allocations: 253 kB / 0.5262 GB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3545, allocations: 29.27 kB / 0.5262 GB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.3545, allocations: 123.9 kB / 0.5264 GB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3546, allocations: 65.81 kB / 0.5264 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.3546, allocations: 0 / 0.5264 GB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.3546, allocations: 337.4 kB / 0.5267 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.3547, allocations: 57.77 kB / 0.5268 GB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.3548, allocations: 58.02 kB / 0.5269 GB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.355, allocations: 68.08 kB / 0.5269 GB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.355, allocations: 3.938 kB / 0.5269 GB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003118/0.3553, allocations: 226.4 kB / 0.5271 GB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3553, allocations: 5.719 kB / 0.5271 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3553, allocations: 0 / 0.5271 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3553, allocations: 3.844 kB / 0.5271 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3555, allocations: 34.64 kB / 0.5272 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3555, allocations: 0 / 0.5272 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.3557, allocations: 42.11 kB / 0.5272 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3558, allocations: 3.906 kB / 0.5272 GB, free: 10.65 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: 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 (20): * Single equations (assignments): 20 * 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.0001397/0.3559, allocations: 146.5 kB / 0.5274 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.356, allocations: 27.05 kB / 0.5274 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.3563, allocations: 219.8 kB / 0.5276 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3563, allocations: 3.844 kB / 0.5276 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3563, allocations: 0 / 0.5276 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3564, allocations: 4 kB / 0.5276 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3566, allocations: 285.5 kB / 0.5279 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3566, allocations: 3.953 kB / 0.5279 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3568, allocations: 36.56 kB / 0.5279 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3568, allocations: 0 / 0.5279 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.3569, allocations: 10.06 kB / 0.5279 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3569, allocations: 0 / 0.5279 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3569, allocations: 2.672 kB / 0.5279 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3573, allocations: 382.8 kB / 0.5283 GB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.3573, allocations: 108.3 kB / 0.5284 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3574, allocations: 3.812 kB / 0.5284 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3577, allocations: 34.98 kB / 0.5284 GB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3577, allocations: 11.64 kB / 0.5284 GB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3577, allocations: 3.969 kB / 0.5284 GB, free: 9.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003491/0.3581, allocations: 222.2 kB / 0.5287 GB, free: 9.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3581, allocations: 0 / 0.5287 GB, free: 9.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.3583, allocations: 37.72 kB / 0.5287 GB, free: 9.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.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 (17): * Single equations (assignments): 17 * 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.54e-05/0.3584, allocations: 105.6 kB / 0.5288 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3587, allocations: 159.5 kB / 0.5289 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3587, allocations: 0 / 0.5289 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3588, allocations: 87.08 kB / 0.529 GB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.3591, allocations: 45.89 kB / 0.5291 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.3598, allocations: 0.5174 MB / 0.5296 GB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.36, allocations: 0.7611 MB / 0.5303 GB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.3601, allocations: 40.58 kB / 0.5304 GB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3602, allocations: 19 kB / 0.5304 GB, free: 8.477 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3602, allocations: 0 / 0.5304 GB, free: 8.477 MB / 362.7 MB Notification: Performance of Templates: time 0.003704/0.3639, allocations: 1.774 MB / 0.5321 GB, free: 7.621 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)