Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops") [/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.1297/0.1297, allocations: 21.44 MB / 36.39 MB, free: 1.188 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 191.5 kB / 42.62 MB, free: 3.988 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 254.1 MB, free: 15.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.0008199, allocations: 92.98 kB / 307.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8.531 kB / 373.2 MB, free: 59.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 52.96 MB / 426.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.6002, allocations: 80.54 MB / 0.4948 GB, free: 17.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.6005, allocations: 83.2 kB / 0.4949 GB, free: 17.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02094/0.6215, allocations: 6.695 MB / 0.5015 GB, free: 17.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.6216, allocations: 1.156 kB / 0.5015 GB, free: 17.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.6217, allocations: 12.31 kB / 0.5015 GB, free: 17.01 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001676/0.6233, allocations: 0.6725 MB / 0.5021 GB, free: 16.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.851e-05/0.6234, allocations: 9.281 kB / 0.5021 GB, free: 16.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.6236, allocations: 51.59 kB / 0.5022 GB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.6244, allocations: 347.1 kB / 0.5025 GB, free: 16.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.6244, allocations: 29.17 kB / 0.5026 GB, free: 16.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.6246, allocations: 31.94 kB / 0.5026 GB, free: 16.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.6258, allocations: 385 kB / 0.5029 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.6258, allocations: 5 kB / 0.503 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/0.6259, allocations: 14.19 kB / 0.503 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.626, allocations: 7.188 kB / 0.503 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009358/0.6269, allocations: 299.7 kB / 0.5033 GB, free: 16.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.6295, allocations: 0.9961 MB / 0.5042 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6306, allocations: 317.3 kB / 0.5045 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/0.6306, allocations: 7.656 kB / 0.5045 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6307, allocations: 34.3 kB / 0.5046 GB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/0.6307, allocations: 0 / 0.5046 GB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001573/0.6323, allocations: 456.5 kB / 0.505 GB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.6324, allocations: 132.3 kB / 0.5051 GB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.6328, allocations: 241.1 kB / 0.5054 GB, free: 15.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.6329, allocations: 34.64 kB / 0.5054 GB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.6331, allocations: 211.6 kB / 0.5056 GB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6332, allocations: 106.4 kB / 0.5057 GB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.6332, allocations: 4.938 kB / 0.5057 GB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6334, allocations: 341.3 kB / 0.506 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.6339, allocations: 124.8 kB / 0.5062 GB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.6344, allocations: 174.1 kB / 0.5063 GB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.6349, allocations: 138.8 kB / 0.5065 GB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.6349, allocations: 0 / 0.5065 GB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001177/0.6361, allocations: 380.7 kB / 0.5068 GB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/0.6362, allocations: 185.5 kB / 0.507 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6362, allocations: 3.391 kB / 0.507 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6363, allocations: 1.156 kB / 0.507 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.6369, allocations: 81.72 kB / 0.5071 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6369, allocations: 6.078 kB / 0.5071 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.6373, allocations: 46.2 kB / 0.5071 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.6374, allocations: 12.8 kB / 0.5071 GB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6374, allocations: 8.031 kB / 0.5071 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006193/0.638, allocations: 222.4 kB / 0.5074 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.638, allocations: 0 / 0.5074 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.6381, allocations: 3.969 kB / 0.5074 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.6385, allocations: 65.12 kB / 0.5074 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6385, allocations: 2.219 kB / 0.5074 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.6388, allocations: 31.06 kB / 0.5075 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.6388, allocations: 13.58 kB / 0.5075 GB, free: 14.49 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Cap.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 36 * 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.0006649/0.6395, allocations: 246.3 kB / 0.5077 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6396, allocations: 31.97 kB / 0.5077 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.6409, allocations: 381.4 kB / 0.5081 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.641, allocations: 3.312 kB / 0.5081 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.641, allocations: 0 / 0.5081 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.641, allocations: 2.203 kB / 0.5081 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.6419, allocations: 433.3 kB / 0.5085 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.6419, allocations: 0 / 0.5085 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.6426, allocations: 76.86 kB / 0.5086 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6426, allocations: 0 / 0.5086 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.6426, allocations: 12.8 kB / 0.5086 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6427, allocations: 1.781 kB / 0.5086 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6427, allocations: 0 / 0.5086 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.6446, allocations: 0.5967 MB / 0.5092 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6448, allocations: 107.5 kB / 0.5093 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.6449, allocations: 9.688 kB / 0.5093 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.6453, allocations: 33.86 kB / 0.5093 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.6454, allocations: 19.17 kB / 0.5093 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.6455, allocations: 10.69 kB / 0.5094 GB, free: 13.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004159/0.6459, allocations: 202.5 kB / 0.5095 GB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6459, allocations: 0 / 0.5095 GB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001095/0.647, allocations: 152.8 kB / 0.5097 GB, free: 13.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Act2.y,Act1.y,Cap.T,CT.FO.y,CA1.FO.y,CA2.FO.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 (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 Backend phase and start with SimCode phase: time 0.0003071/0.6473, allocations: 127.3 kB / 0.5098 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.6494, allocations: 438.7 kB / 0.5102 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6494, allocations: 0 / 0.5102 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.65, allocations: 164.9 kB / 0.5104 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.6507, allocations: 68.3 kB / 0.5105 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.654, allocations: 1.009 MB / 0.5114 GB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.6553, allocations: 0.8237 MB / 0.5122 GB, free: 28.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.6558, allocations: 45.22 kB / 0.5123 GB, free: 28.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.656, allocations: 26.91 kB / 0.5123 GB, free: 28.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.656, allocations: 4 kB / 0.5123 GB, free: 28.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01297/0.669, allocations: 3.543 MB / 0.5158 GB, free: 27.92 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe 2>&1)