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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) [/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.1188/0.1188, allocations: 21.61 MB / 36.56 MB, free: 1.082 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.001376/0.001376, allocations: 186.4 kB / 42.83 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.387/1.387, allocations: 223.2 MB / 272.1 MB, free: 1.789 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.0009269/0.000927, allocations: 98.66 kB / 328.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004542, allocations: 8 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09815, allocations: 55.84 MB / 452.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.455, allocations: 79.99 MB / 0.5204 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4554, allocations: 80.34 kB / 0.5205 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.4656, allocations: 3.526 MB / 0.524 GB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4656, allocations: 0 / 0.524 GB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4656, allocations: 7.812 kB / 0.524 GB, free: 12.45 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.0008944/0.4665, allocations: 0.5374 MB / 0.5245 GB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4666, allocations: 7.688 kB / 0.5245 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.4666, allocations: 48.81 kB / 0.5245 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.4667, allocations: 23.12 kB / 0.5246 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.4673, allocations: 309.2 kB / 0.5249 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4673, allocations: 7.125 kB / 0.5249 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.4673, allocations: 11 kB / 0.5249 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.4675, allocations: 132.5 kB / 0.525 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4676, allocations: 3.688 kB / 0.525 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4676, allocations: 7.703 kB / 0.525 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4676, allocations: 11.64 kB / 0.525 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.4678, allocations: 115.8 kB / 0.5251 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.4684, allocations: 495.2 kB / 0.5256 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4688, allocations: 180.2 kB / 0.5258 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4688, allocations: 0 / 0.5258 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.4689, allocations: 38.38 kB / 0.5258 GB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.4689, allocations: 0 / 0.5258 GB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004396/0.4693, allocations: 234.1 kB / 0.526 GB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4693, allocations: 51.69 kB / 0.5261 GB, free: 11.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.4698, allocations: 256.3 kB / 0.5263 GB, free: 11.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4698, allocations: 25.7 kB / 0.5264 GB, free: 11.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.4699, allocations: 125.9 kB / 0.5265 GB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.4699, allocations: 59.02 kB / 0.5265 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.4699, allocations: 0 / 0.5265 GB, free: 10.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.758e-05/0.47, allocations: 333 kB / 0.5269 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.4701, allocations: 68.36 kB / 0.5269 GB, free: 10.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.4702, allocations: 62.3 kB / 0.527 GB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.4703, allocations: 69.94 kB / 0.527 GB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4703, allocations: 0 / 0.527 GB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003001/0.4706, allocations: 225.4 kB / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4707, allocations: 7.75 kB / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4707, allocations: 0 / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4707, allocations: 0 / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.4709, allocations: 34.36 kB / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4709, allocations: 0 / 0.5273 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4712, allocations: 42.14 kB / 0.5273 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4712, allocations: 3.719 kB / 0.5273 GB, free: 10.5 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.0001675/0.4713, allocations: 151.9 kB / 0.5275 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.4714, allocations: 15.34 kB / 0.5275 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.4718, allocations: 227.5 kB / 0.5277 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4718, allocations: 3.688 kB / 0.5277 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4718, allocations: 2.062 kB / 0.5277 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4718, allocations: 0 / 0.5277 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.4721, allocations: 294.4 kB / 0.528 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4721, allocations: 0 / 0.528 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.4723, allocations: 37.97 kB / 0.528 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4723, allocations: 3.75 kB / 0.528 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4723, allocations: 0 / 0.528 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4723, allocations: 3.781 kB / 0.528 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4723, allocations: 1.875 kB / 0.5281 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.4728, allocations: 381.6 kB / 0.5284 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.4728, allocations: 108.4 kB / 0.5285 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.4729, allocations: 6.375 kB / 0.5285 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.4731, allocations: 30.64 kB / 0.5286 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.4732, allocations: 11.78 kB / 0.5286 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.4732, allocations: 8.031 kB / 0.5286 GB, free: 9.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003711/0.4736, allocations: 215.9 kB / 0.5288 GB, free: 9.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4736, allocations: 0 / 0.5288 GB, free: 9.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.4739, allocations: 39 kB / 0.5288 GB, free: 9.582 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 0.0006084/0.4745, allocations: 0.9295 MB / 0.5297 GB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.4748, allocations: 162.9 kB / 0.5299 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4748, allocations: 0 / 0.5299 GB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.4749, allocations: 80.97 kB / 0.53 GB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4752, allocations: 30.62 kB / 0.53 GB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.4777, allocations: 1.497 MB / 0.5314 GB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.4779, allocations: 0.7542 MB / 0.5322 GB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.4781, allocations: 46.61 kB / 0.5322 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4782, allocations: 63.27 kB / 0.5323 GB, free: 7.285 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4782, allocations: 0 / 0.5323 GB, free: 7.285 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.4928, allocations: 3.881 MB / 0.5361 GB, free: 5.492 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001253/0.4929, allocations: 182 kB / 0.5363 GB, free: 5.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.189, allocations: 0 / 0.5363 GB, free: 5.254 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)