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 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_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_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.1453/0.1453, allocations: 21.62 MB / 36.56 MB, free: 1.059 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.001414/0.001414, allocations: 187.1 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.372/1.372, allocations: 223.2 MB / 272.1 MB, free: 1.75 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.0008747/0.0008747, allocations: 95.89 kB / 328.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 397.1 MB, free: 46.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08819, allocations: 55.82 MB / 452.9 MB, free: 6.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.3981, allocations: 81.33 MB / 0.5217 GB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.3984, allocations: 83.38 kB / 0.5218 GB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4137, allocations: 6.619 MB / 0.5283 GB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4138, allocations: 0 / 0.5283 GB, free: 11.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.4138, allocations: 7.688 kB / 0.5283 GB, free: 11.18 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.0008837/0.4147, allocations: 0.6866 MB / 0.529 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4148, allocations: 7.719 kB / 0.529 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.465e-05/0.4149, allocations: 69.34 kB / 0.529 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.4149, allocations: 46.66 kB / 0.5291 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.4153, allocations: 327.5 kB / 0.5294 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4153, allocations: 26.88 kB / 0.5294 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.4154, allocations: 40.77 kB / 0.5295 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.416, allocations: 387.7 kB / 0.5298 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.416, allocations: 1.094 kB / 0.5298 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.416, allocations: 12.69 kB / 0.5298 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.416, allocations: 7.594 kB / 0.5299 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.4166, allocations: 292.5 kB / 0.5301 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.418, allocations: 1.007 MB / 0.5311 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/0.4185, allocations: 324.6 kB / 0.5314 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4185, allocations: 3.844 kB / 0.5314 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.4185, allocations: 42.03 kB / 0.5315 GB, free: 9.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.4186, allocations: 3.938 kB / 0.5315 GB, free: 9.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008238/0.4194, allocations: 446.1 kB / 0.5319 GB, free: 9.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.4194, allocations: 132.4 kB / 0.532 GB, free: 9.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4196, allocations: 237.4 kB / 0.5322 GB, free: 9.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4197, allocations: 33.42 kB / 0.5323 GB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.4197, allocations: 205.3 kB / 0.5325 GB, free: 8.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.4198, allocations: 101.3 kB / 0.5326 GB, free: 8.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.4198, allocations: 7.469 kB / 0.5326 GB, free: 8.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.4199, allocations: 342.1 kB / 0.5329 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.4201, allocations: 124.1 kB / 0.533 GB, free: 8.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.4204, allocations: 187.6 kB / 0.5332 GB, free: 8.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.4206, allocations: 128.5 kB / 0.5333 GB, free: 8.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4206, allocations: 0 / 0.5333 GB, free: 8.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005398/0.4212, allocations: 373.5 kB / 0.5337 GB, free: 8.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.4212, allocations: 185.4 kB / 0.5339 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4212, allocations: 3.953 kB / 0.5339 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4212, allocations: 7.875 kB / 0.5339 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.4216, allocations: 81.27 kB / 0.5339 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4216, allocations: 0 / 0.5339 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.4218, allocations: 46.89 kB / 0.534 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.4219, allocations: 15.45 kB / 0.534 GB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.4219, allocations: 3.844 kB / 0.534 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002811/0.4221, allocations: 218.7 kB / 0.5342 GB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-06/0.4222, allocations: 3.938 kB / 0.5342 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.4222, allocations: 0 / 0.5342 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.4224, allocations: 57.78 kB / 0.5343 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.4224, allocations: 3.938 kB / 0.5343 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.4226, allocations: 35.12 kB / 0.5343 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4226, allocations: 7.594 kB / 0.5343 GB, free: 7.961 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.0002727/0.4229, allocations: 245 kB / 0.5346 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.4229, allocations: 34.94 kB / 0.5346 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.4236, allocations: 374.1 kB / 0.5349 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4236, allocations: 3.875 kB / 0.535 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4236, allocations: 4 kB / 0.535 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4236, allocations: 0 / 0.535 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.424, allocations: 429.1 kB / 0.5354 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.424, allocations: 3.938 kB / 0.5354 GB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.4243, allocations: 81.11 kB / 0.5354 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4243, allocations: 7.781 kB / 0.5355 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4244, allocations: 2.812 kB / 0.5355 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4244, allocations: 3.844 kB / 0.5355 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4244, allocations: 0 / 0.5355 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.4252, allocations: 0.6003 MB / 0.536 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4252, allocations: 115.9 kB / 0.5362 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.4253, allocations: 7.719 kB / 0.5362 GB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.4255, allocations: 30.58 kB / 0.5362 GB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.4256, allocations: 19.59 kB / 0.5362 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.4256, allocations: 7.719 kB / 0.5362 GB, free: 6.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.4257, allocations: 189.5 kB / 0.5364 GB, free: 6.867 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4257, allocations: 0 / 0.5364 GB, free: 6.867 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.4262, allocations: 149.2 kB / 0.5365 GB, free: 6.84 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.0009587/0.4271, allocations: 1.165 MB / 0.5377 GB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.4278, allocations: 434 kB / 0.5381 GB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4278, allocations: 0 / 0.5381 GB, free: 6.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.428, allocations: 158.6 kB / 0.5382 GB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.4284, allocations: 67.98 kB / 0.5383 GB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.4312, allocations: 2.382 MB / 0.5406 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.4314, allocations: 0.807 MB / 0.5414 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.4316, allocations: 45.22 kB / 0.5415 GB, free: 3.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4318, allocations: 128 kB / 0.5416 GB, free: 3.895 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4318, allocations: 0 / 0.5416 GB, free: 3.895 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.4479, allocations: 6.643 MB / 0.5481 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001134/0.4481, allocations: 233.3 kB / 0.5483 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.458, allocations: 4 kB / 0.5483 GB, free: 0.6523 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_control_problems_Thermal_control_actuator_split_Actuator_split_cascadeLoops.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_cascadeLoops.pipe 2>&1)