Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",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.1524/0.1524, allocations: 21.62 MB / 36.57 MB, free: 1.078 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.001412/0.001412, allocations: 186.4 kB / 42.83 MB, free: 3.781 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.542/1.542, allocations: 223.2 MB / 272.1 MB, free: 1.426 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.001083/0.001083, allocations: 91.69 kB / 328.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003256, allocations: 12 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 55.82 MB / 452.9 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4658, allocations: 80.21 MB / 0.5207 GB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.466, allocations: 74.22 kB / 0.5207 GB, free: 13.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.4823, allocations: 5.293 MB / 0.5259 GB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.4824, allocations: 0 / 0.5259 GB, free: 12.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.4824, allocations: 7.781 kB / 0.5259 GB, free: 12.15 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001346/0.4837, allocations: 0.6955 MB / 0.5266 GB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.4838, allocations: 7.75 kB / 0.5266 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.746e-05/0.4839, allocations: 50.86 kB / 0.5266 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.4839, allocations: 34.91 kB / 0.5267 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.4849, allocations: 434.1 kB / 0.5271 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4849, allocations: 7.234 kB / 0.5271 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.485, allocations: 22.19 kB / 0.5271 GB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.4853, allocations: 198 kB / 0.5273 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.4853, allocations: 6.328 kB / 0.5273 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.4853, allocations: 10.56 kB / 0.5273 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.4853, allocations: 3.719 kB / 0.5273 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.4857, allocations: 199.9 kB / 0.5275 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.4866, allocations: 0.6615 MB / 0.5282 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.4873, allocations: 312.1 kB / 0.5285 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.4873, allocations: 4 kB / 0.5285 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4874, allocations: 38.72 kB / 0.5285 GB, free: 10.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.4874, allocations: 0 / 0.5285 GB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005922/0.488, allocations: 364.3 kB / 0.5288 GB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.488, allocations: 62.48 kB / 0.5289 GB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.4888, allocations: 385.3 kB / 0.5293 GB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4888, allocations: 36.72 kB / 0.5293 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.4889, allocations: 160.1 kB / 0.5295 GB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.489, allocations: 87.28 kB / 0.5295 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.489, allocations: 4 kB / 0.5295 GB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4891, allocations: 347.2 kB / 0.5299 GB, free: 9.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.4892, allocations: 93.44 kB / 0.53 GB, free: 9.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4894, allocations: 100.5 kB / 0.5301 GB, free: 9.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4896, allocations: 110.8 kB / 0.5302 GB, free: 9.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4896, allocations: 0 / 0.5302 GB, free: 9.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004888/0.4901, allocations: 327.6 kB / 0.5305 GB, free: 9.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4901, allocations: 4.844 kB / 0.5305 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4901, allocations: 1 kB / 0.5305 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4901, allocations: 5.219 kB / 0.5305 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.4904, allocations: 52.16 kB / 0.5305 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4904, allocations: 3.422 kB / 0.5305 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.4908, allocations: 70.09 kB / 0.5306 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.4909, allocations: 8.094 kB / 0.5306 GB, free: 9.5 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.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 (31): * Single equations (assignments): 31 * 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.0002156/0.4911, allocations: 162.4 kB / 0.5308 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.4911, allocations: 34.47 kB / 0.5308 GB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.4917, allocations: 333.4 kB / 0.5311 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4917, allocations: 7.828 kB / 0.5311 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4917, allocations: 0 / 0.5311 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4917, allocations: 0 / 0.5311 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.492, allocations: 371.5 kB / 0.5315 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.492, allocations: 0.6875 kB / 0.5315 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.4923, allocations: 46.81 kB / 0.5315 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4923, allocations: 3.875 kB / 0.5315 GB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.4924, allocations: 15.14 kB / 0.5315 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4924, allocations: 0.875 kB / 0.5315 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4924, allocations: 0 / 0.5315 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000578/0.493, allocations: 0.5157 MB / 0.532 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.4931, allocations: 111.8 kB / 0.5322 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.4931, allocations: 7.031 kB / 0.5322 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.4935, allocations: 61.8 kB / 0.5322 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.4936, allocations: 18.31 kB / 0.5322 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.4936, allocations: 8.188 kB / 0.5322 GB, free: 8.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006468/0.4943, allocations: 337.7 kB / 0.5326 GB, free: 8.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4943, allocations: 0 / 0.5326 GB, free: 8.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.4946, allocations: 68 kB / 0.5326 GB, free: 8.426 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,CA2.x_scaled[1],CA1.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 (26): * Single equations (assignments): 26 * 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.000916/0.4955, allocations: 1.065 MB / 0.5337 GB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.4959, allocations: 258.7 kB / 0.5339 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4959, allocations: 0 / 0.5339 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.4961, allocations: 129.6 kB / 0.534 GB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.4965, allocations: 50.12 kB / 0.5341 GB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.5006, allocations: 2.35 MB / 0.5364 GB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.5008, allocations: 0.7989 MB / 0.5372 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000171/0.501, allocations: 64.69 kB / 0.5372 GB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.5011, allocations: 105.4 kB / 0.5373 GB, free: 5.746 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5011, allocations: 4 kB / 0.5373 GB, free: 5.742 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.5171, allocations: 5.718 MB / 0.5429 GB, free: 3.113 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.5173, allocations: 188.4 kB / 0.5431 GB, free: 2.871 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.456, allocations: 8 kB / 0.5431 GB, free: 2.863 MB / 362.7 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)