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_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: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising",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.1219/0.1219, allocations: 21.62 MB / 36.56 MB, free: 1.074 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.001054/0.001054, allocations: 186.4 kB / 42.83 MB, free: 3.777 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.388/1.388, allocations: 223.2 MB / 272.1 MB, free: 1.777 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.000934/0.0009342, allocations: 99.92 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003247, allocations: 8 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.0942, allocations: 55.81 MB / 452.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4337, allocations: 82.3 MB / 0.5227 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.434, allocations: 80.64 kB / 0.5228 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.4479, allocations: 5.536 MB / 0.5282 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4479, allocations: 4 kB / 0.5282 GB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.448, allocations: 12.78 kB / 0.5282 GB, free: 11.44 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009834/0.449, allocations: 0.6077 MB / 0.5288 GB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.449, allocations: 7.688 kB / 0.5288 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.4491, allocations: 55.92 kB / 0.5288 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.4492, allocations: 30.5 kB / 0.5289 GB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.4497, allocations: 345.2 kB / 0.5292 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4498, allocations: 16.22 kB / 0.5292 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4498, allocations: 30.3 kB / 0.5292 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.4502, allocations: 249.5 kB / 0.5295 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4502, allocations: 0 / 0.5295 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.4502, allocations: 7.25 kB / 0.5295 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4502, allocations: 7.656 kB / 0.5295 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.4506, allocations: 175.5 kB / 0.5297 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4517, allocations: 0.7201 MB / 0.5304 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.4521, allocations: 218.3 kB / 0.5306 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4521, allocations: 4.062 kB / 0.5306 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4521, allocations: 34.73 kB / 0.5306 GB, free: 9.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.4521, allocations: 0 / 0.5306 GB, free: 9.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005291/0.4527, allocations: 309 kB / 0.5309 GB, free: 9.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.4527, allocations: 80.8 kB / 0.531 GB, free: 9.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.4531, allocations: 279.3 kB / 0.5313 GB, free: 9.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4531, allocations: 25.7 kB / 0.5313 GB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.4532, allocations: 166.2 kB / 0.5314 GB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.4532, allocations: 70.41 kB / 0.5315 GB, free: 9.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.4533, allocations: 3.938 kB / 0.5315 GB, free: 9.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.4533, allocations: 342.3 kB / 0.5318 GB, free: 9.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4534, allocations: 77.47 kB / 0.5319 GB, free: 9.047 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4536, allocations: 103.6 kB / 0.532 GB, free: 9.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4538, allocations: 84.47 kB / 0.5321 GB, free: 9.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4538, allocations: 4.031 kB / 0.5321 GB, free: 9 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003631/0.4541, allocations: 268.5 kB / 0.5323 GB, free: 8.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.4542, allocations: 189.3 kB / 0.5325 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4542, allocations: 0 / 0.5325 GB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4542, allocations: 3.938 kB / 0.5325 GB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.4545, allocations: 54.25 kB / 0.5326 GB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4545, allocations: 3.953 kB / 0.5326 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.4547, allocations: 43 kB / 0.5326 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.4548, allocations: 16.48 kB / 0.5326 GB, free: 8.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.4548, allocations: 3.844 kB / 0.5326 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002422/0.4551, allocations: 176.4 kB / 0.5328 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.4551, allocations: 0 / 0.5328 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-06/0.4551, allocations: 0 / 0.5328 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.4553, allocations: 49.97 kB / 0.5329 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.4553, allocations: 3.938 kB / 0.5329 GB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.4555, allocations: 39.25 kB / 0.5329 GB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4555, allocations: 11.84 kB / 0.5329 GB, free: 8.637 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (27): * Single equations (assignments): 27 * 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.0002024/0.4557, allocations: 241.2 kB / 0.5331 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4558, allocations: 31.16 kB / 0.5332 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.4563, allocations: 273 kB / 0.5334 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4563, allocations: 0 / 0.5334 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4563, allocations: 4 kB / 0.5334 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4563, allocations: 0 / 0.5334 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.4566, allocations: 347.8 kB / 0.5338 GB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4566, allocations: 3.953 kB / 0.5338 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.4569, allocations: 50.53 kB / 0.5338 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4569, allocations: 3.844 kB / 0.5338 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.4569, allocations: 3.688 kB / 0.5338 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4569, allocations: 0 / 0.5338 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4569, allocations: 3.844 kB / 0.5338 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.4574, allocations: 450.4 kB / 0.5343 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.4575, allocations: 108.3 kB / 0.5344 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.4576, allocations: 7.859 kB / 0.5344 GB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.4578, allocations: 38.44 kB / 0.5344 GB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.4579, allocations: 15.58 kB / 0.5344 GB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.4579, allocations: 3.906 kB / 0.5344 GB, free: 7.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003109/0.4582, allocations: 229.6 kB / 0.5346 GB, free: 7.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4582, allocations: 0 / 0.5346 GB, free: 7.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.4586, allocations: 112 kB / 0.5348 GB, free: 7.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (FA1.x_scaled[1],Act2.y,Act1.y,Cap.T,CT.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 (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.0006945/0.4593, allocations: 1.001 MB / 0.5357 GB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4598, allocations: 296.6 kB / 0.536 GB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4598, allocations: 3.938 kB / 0.536 GB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4599, allocations: 100.5 kB / 0.5361 GB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4603, allocations: 53.02 kB / 0.5362 GB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.4635, allocations: 2.05 MB / 0.5382 GB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4638, allocations: 0.7801 MB / 0.5389 GB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.464, allocations: 48.39 kB / 0.539 GB, free: 4.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.4641, allocations: 100.1 kB / 0.5391 GB, free: 4.875 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4642, allocations: 0 / 0.5391 GB, free: 4.875 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.481, allocations: 5.347 MB / 0.5443 GB, free: 2.469 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.4811, allocations: 229.4 kB / 0.5445 GB, free: 2.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.272, allocations: 0 / 0.5445 GB, free: 2.227 MB / 362.7 MB (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_equalising.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe 2>&1)