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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 115 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 186.5 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09447/0.09447, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.81 kB / 437.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09103, allocations: 54.94 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_actuator_split.Actuator_split_equalising): time 0.00345/0.09451, allocations: 2.448 MB / 495.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.09586, allocations: 0.7636 MB / 495.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.09604, allocations: 4 kB / 495.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.09638, allocations: 55.52 kB / 496 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.09667, allocations: 103.3 kB / 496.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.09709, allocations: 179.7 kB / 496.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.09753, allocations: 390.8 kB / 496.6 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.09774, allocations: 120.5 kB / 496.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.09794, allocations: 147.4 kB / 496.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.09818, allocations: 167.2 kB / 497 MB, free: 404 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.09824, allocations: 28 kB / 497.1 MB, free: 376 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.0983, allocations: 28 kB / 497.1 MB, free: 348 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.0984, allocations: 75.75 kB / 497.2 MB, free: 272 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.09856, allocations: 147.2 kB / 497.3 MB, free: 124 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.09894, allocations: 334.6 kB / 497.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.09895, allocations: 0 / 497.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09895, allocations: 0 / 497.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.09897, allocations: 0 / 497.6 MB, free: 15.79 MB / 382.1 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.001304/0.1003, allocations: 0.6582 MB / 498.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1003, allocations: 16.03 kB / 498.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.1004, allocations: 40.7 kB / 498.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.101, allocations: 335.6 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.101, allocations: 16.81 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.1011, allocations: 20.38 kB / 498.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.1015, allocations: 250.1 kB / 499 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1015, allocations: 4 kB / 499 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.1016, allocations: 4 kB / 499 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1016, allocations: 4 kB / 499 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003673/0.102, allocations: 173.6 kB / 499.2 MB, free: 14.19 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: Cap.T(start = 293.15, confidence number = 7) * Candidate: Cap.port.T(start = 288.15, confidence number = 8) * Candidate: Gloss.port_b.T(start = 288.15, confidence number = 8) * Candidate: Pa1.port.T(start = 288.15, confidence number = 8) * Candidate: Pa2.port.T(start = 288.15, confidence number = 8) * Candidate: sT.port.T(start = 288.15, confidence number = 8) => Select value from Cap.T(start = 293.15) for variable: Cap.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1035, allocations: 1.225 MB / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.1039, allocations: 209.3 kB / 0.4888 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.1041, allocations: 104.8 kB / 0.4889 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.1042, allocations: 11.98 kB / 0.489 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.1042, allocations: 38.94 kB / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.1042, allocations: 0 / 0.489 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006364/0.1049, allocations: 290.9 kB / 0.4893 GB, free: 12.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1049, allocations: 81.11 kB / 0.4894 GB, free: 12.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.1054, allocations: 302.7 kB / 0.4896 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1055, allocations: 29.7 kB / 0.4897 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1057, allocations: 168.4 kB / 0.4898 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.1057, allocations: 83.27 kB / 0.4899 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1058, allocations: 41.7 kB / 0.4899 GB, free: 11.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1059, allocations: 338.8 kB / 0.4903 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1061, allocations: 81.05 kB / 0.4903 GB, free: 10.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1063, allocations: 103 kB / 0.4904 GB, free: 10.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.1081, allocations: 467.3 kB / 0.4909 GB, free: 10.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1082, allocations: 0 / 0.4909 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004869/0.1086, allocations: 253.4 kB / 0.4911 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1087, allocations: 7.984 kB / 0.4911 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1087, allocations: 3.938 kB / 0.4911 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1087, allocations: 0 / 0.4911 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.109, allocations: 55.91 kB / 0.4912 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.109, allocations: 4 kB / 0.4912 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.1093, allocations: 35.8 kB / 0.4912 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1093, allocations: 12.03 kB / 0.4912 GB, free: 10.04 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cap.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002751/0.1096, allocations: 172.1 kB / 0.4914 GB, free: 9.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001345/0.1097, allocations: 89.11 kB / 0.4915 GB, free: 9.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001548/0.1113, allocations: 429.5 kB / 0.4919 GB, free: 9.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1113, allocations: 0 / 0.4919 GB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0003717/0.1117, allocations: 245.3 kB / 0.4921 GB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.1117, allocations: 4 kB / 0.4921 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.1117, allocations: 0 / 0.4921 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.1117, allocations: 4 kB / 0.4921 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1119, allocations: 39.98 kB / 0.4922 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1119, allocations: 3.938 kB / 0.4922 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1122, allocations: 31.86 kB / 0.4922 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1122, allocations: 12 kB / 0.4922 GB, free: 9.012 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cap.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.1123, allocations: 193.4 kB / 0.4924 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.1124, allocations: 35.69 kB / 0.4925 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/0.1129, allocations: 266.4 kB / 0.4927 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.113, allocations: 4 kB / 0.4927 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.113, allocations: 0 / 0.4927 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.078e-05/0.1131, allocations: 112.8 kB / 0.4928 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.1131, allocations: 7.984 kB / 0.4928 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1134, allocations: 31.97 kB / 0.4929 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1134, allocations: 7.984 kB / 0.4929 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007605/0.1142, allocations: 340.7 kB / 0.4932 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006986/0.1149, allocations: 0.5168 MB / 0.4937 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000179/0.1151, allocations: 99.98 kB / 0.4938 GB, free: 7.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003723/0.1155, allocations: 225.9 kB / 0.494 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Backend: time 4.71e-07/0.1155, allocations: 0 / 0.494 GB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.1162, allocations: 302.8 kB / 0.4943 GB, free: 6.844 MB / 382.1 MB Notification: Performance of SimCode: time 0.001201/0.1174, allocations: 1.085 MB / 0.4954 GB, free: 5.707 MB / 382.1 MB Notification: Performance of Templates: time 0.007547/0.125, allocations: 4.163 MB / 0.4994 GB, free: 1.605 MB / 382.1 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)