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: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising") [/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.1057/0.1057, allocations: 21.61 MB / 36.56 MB, free: 1.07 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.001388/0.001388, allocations: 178.4 kB / 42.82 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.262/1.262, allocations: 223.2 MB / 272.1 MB, free: 1.438 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.0008593/0.0008591, allocations: 98.94 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 8 kB / 397 MB, free: 46.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08415/0.08443, allocations: 55.82 MB / 452.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.3776, allocations: 82.3 MB / 0.5226 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.3778, allocations: 83.77 kB / 0.5227 GB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.3908, allocations: 5.537 MB / 0.5281 GB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3908, allocations: 1.203 kB / 0.5281 GB, free: 11.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3909, allocations: 15.62 kB / 0.5281 GB, free: 11.62 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.0008091/0.3917, allocations: 0.6079 MB / 0.5287 GB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3917, allocations: 7.562 kB / 0.5287 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.3918, allocations: 34.47 kB / 0.5288 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.3923, allocations: 343.1 kB / 0.5291 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3923, allocations: 16.62 kB / 0.5291 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.3923, allocations: 22.25 kB / 0.5291 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.3927, allocations: 250.4 kB / 0.5294 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3927, allocations: 0 / 0.5294 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3928, allocations: 6.375 kB / 0.5294 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3928, allocations: 7.656 kB / 0.5294 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.3931, allocations: 178.6 kB / 0.5295 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.394, allocations: 0.7201 MB / 0.5302 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3943, allocations: 213.3 kB / 0.5304 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3944, allocations: 4.031 kB / 0.5305 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3944, allocations: 38.25 kB / 0.5305 GB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.3944, allocations: 0 / 0.5305 GB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004803/0.3949, allocations: 297.9 kB / 0.5308 GB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3949, allocations: 84.88 kB / 0.5309 GB, free: 9.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.3953, allocations: 272.4 kB / 0.5311 GB, free: 9.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3953, allocations: 37.14 kB / 0.5311 GB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.3954, allocations: 166.2 kB / 0.5313 GB, free: 9.676 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3954, allocations: 73.88 kB / 0.5314 GB, free: 9.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.3954, allocations: 3.875 kB / 0.5314 GB, free: 9.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.3955, allocations: 338 kB / 0.5317 GB, free: 9.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3956, allocations: 74.58 kB / 0.5318 GB, free: 9.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3957, allocations: 104 kB / 0.5319 GB, free: 9.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3959, allocations: 85.38 kB / 0.532 GB, free: 9.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3959, allocations: 4.031 kB / 0.532 GB, free: 9.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003423/0.3962, allocations: 273.5 kB / 0.5322 GB, free: 9.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.3963, allocations: 185.8 kB / 0.5324 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3963, allocations: 0 / 0.5324 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3963, allocations: 3.875 kB / 0.5324 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.3966, allocations: 53.78 kB / 0.5325 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3966, allocations: 3.938 kB / 0.5325 GB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3968, allocations: 46.33 kB / 0.5325 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.3968, allocations: 11.44 kB / 0.5325 GB, free: 8.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.3968, allocations: 3.812 kB / 0.5325 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002288/0.3971, allocations: 178.8 kB / 0.5327 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-06/0.3971, allocations: 0 / 0.5327 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.3971, allocations: 0 / 0.5327 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3973, allocations: 50.05 kB / 0.5327 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-06/0.3973, allocations: 3.938 kB / 0.5327 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3975, allocations: 39.22 kB / 0.5328 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3975, allocations: 3.906 kB / 0.5328 GB, free: 8.875 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.0001743/0.3977, allocations: 251.1 kB / 0.533 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3977, allocations: 31.14 kB / 0.533 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.3982, allocations: 269 kB / 0.5333 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3982, allocations: 7.875 kB / 0.5333 GB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3982, allocations: 7.984 kB / 0.5333 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3982, allocations: 0 / 0.5333 GB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3985, allocations: 346.2 kB / 0.5337 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3985, allocations: 0 / 0.5337 GB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.3987, allocations: 52.77 kB / 0.5337 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3987, allocations: 0 / 0.5337 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3987, allocations: 7.094 kB / 0.5337 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3988, allocations: 0 / 0.5337 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3988, allocations: 3.938 kB / 0.5337 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3993, allocations: 449.2 kB / 0.5341 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3993, allocations: 100.4 kB / 0.5342 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3994, allocations: 11.39 kB / 0.5342 GB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3996, allocations: 33.78 kB / 0.5343 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.3997, allocations: 15.69 kB / 0.5343 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3997, allocations: 7.625 kB / 0.5343 GB, free: 7.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.4, allocations: 228.9 kB / 0.5345 GB, free: 7.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4, allocations: 0 / 0.5345 GB, free: 7.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003498/0.4003, allocations: 109.6 kB / 0.5346 GB, free: 7.824 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.0001242/0.4005, allocations: 117.5 kB / 0.5347 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004355/0.4009, allocations: 302.4 kB / 0.535 GB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4009, allocations: 3.844 kB / 0.535 GB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.4011, allocations: 100.5 kB / 0.5351 GB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4014, allocations: 54.64 kB / 0.5352 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.4024, allocations: 0.7948 MB / 0.536 GB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4025, allocations: 0.7833 MB / 0.5367 GB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.4027, allocations: 48.31 kB / 0.5368 GB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.4028, allocations: 26.86 kB / 0.5368 GB, free: 6.348 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4028, allocations: 0 / 0.5368 GB, free: 6.348 MB / 362.7 MB Notification: Performance of Templates: time 0.004476/0.4072, allocations: 2.68 MB / 0.5394 GB, free: 5.094 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.makefile (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 & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising.pipe 2>&1)